pub struct AsyncUnboundedMpscSender<T> { /* private fields */ }Expand description
Async unbounded MPSC sender
Implementations§
Source§impl<T> AsyncUnboundedMpscSender<T>
impl<T> AsyncUnboundedMpscSender<T>
pub fn close(&mut self) -> bool
Sourcepub fn create_blocking_sender(&self) -> BlockingUnboundedMpscSender<T>
pub fn create_blocking_sender(&self) -> BlockingUnboundedMpscSender<T>
Create a blocking sender that shares the same queue
Trait Implementations§
Source§impl<T> Clone for AsyncUnboundedMpscSender<T>
impl<T> Clone for AsyncUnboundedMpscSender<T>
Auto Trait Implementations§
impl<T> Freeze for AsyncUnboundedMpscSender<T>
impl<T> !RefUnwindSafe for AsyncUnboundedMpscSender<T>
impl<T> Send for AsyncUnboundedMpscSender<T>
impl<T> Sync for AsyncUnboundedMpscSender<T>
impl<T> Unpin for AsyncUnboundedMpscSender<T>
impl<T> !UnwindSafe for AsyncUnboundedMpscSender<T>
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