pub struct Receiver<T> { /* private fields */ }Expand description
Bounded receiver. Drop it to close the channel for all senders.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<T> !Unpin for Receiver<T>
impl<T> !UnsafeUnpin for Receiver<T>
impl<T> Freeze for Receiver<T>
impl<T> RefUnwindSafe for Receiver<T>where
Receiver<T>: RefUnwindSafe,
impl<T> Send for Receiver<T>
impl<T> Sync for Receiver<T>
impl<T> UnwindSafe for Receiver<T>where
Receiver<T>: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more