pub struct Rx<T> { /* private fields */ }Expand description
Receiver handle: “I receive”. The holder of an Rx<T> receives items of type T.
In method args, the handler holds it (handler receives ← caller).
Channel IDs are serialized inline in the postcard payload.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for Rx<T>
impl<T> !RefUnwindSafe for Rx<T>
impl<T> Send for Rx<T>where
T: Send,
impl<T> Sync for Rx<T>where
T: Sync,
impl<T> Unpin for Rx<T>where
T: Unpin,
impl<T> UnsafeUnpin for Rx<T>
impl<T> !UnwindSafe for Rx<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