pub struct UnboundedSender<T> { /* private fields */ }Expand description
Unbounded sender. Send is sync because the channel never blocks on capacity.
Implementations§
Trait Implementations§
Source§impl<T> Clone for UnboundedSender<T>
impl<T> Clone for UnboundedSender<T>
Auto Trait Implementations§
impl<T> Freeze for UnboundedSender<T>
impl<T> RefUnwindSafe for UnboundedSender<T>where
Sender<T>: RefUnwindSafe,
impl<T> Send for UnboundedSender<T>
impl<T> Sync for UnboundedSender<T>
impl<T> Unpin for UnboundedSender<T>
impl<T> UnsafeUnpin for UnboundedSender<T>where
Sender<T>: UnsafeUnpin,
impl<T> UnwindSafe for UnboundedSender<T>where
Sender<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