pub struct MpscCallback<T>(/* private fields */);
Implementations§
Source§impl<T> MpscCallback<T>
impl<T> MpscCallback<T>
pub fn new() -> (UnboundedReceiver<(usize, T)>, Self)
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for MpscCallback<T>
impl<T> RefUnwindSafe for MpscCallback<T>
impl<T> Send for MpscCallback<T>where
T: Send,
impl<T> Sync for MpscCallback<T>where
T: Send,
impl<T> Unpin for MpscCallback<T>
impl<T> UnwindSafe for MpscCallback<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