pub struct Ref<'t, T> { /* private fields */ }
Expand description
An immutable reference to the value contained in the channel.
Trait Implementations
Auto Trait Implementations
impl<'t, T> !RefUnwindSafe for Ref<'t, T>
impl<'t, T> !Send for Ref<'t, T>
impl<'t, T> Sync for Ref<'t, T> where
T: Send + Sync,
impl<'t, T> Unpin for Ref<'t, T>
impl<'t, T> !UnwindSafe for Ref<'t, T>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more