pub struct NoReceiver;Expand description
A receiver that does nothing. This is used when no communication is needed.
Trait Implementations§
Source§impl Debug for NoReceiver
impl Debug for NoReceiver
Source§impl From<RecvStream> for NoReceiver
Available on crate feature rpc only.
impl From<RecvStream> for NoReceiver
Available on crate feature
rpc only.Source§fn from(read: RecvStream) -> Self
fn from(read: RecvStream) -> Self
Converts to this type from the input type.
impl Receiver for NoReceiver
Auto Trait Implementations§
impl Freeze for NoReceiver
impl RefUnwindSafe for NoReceiver
impl Send for NoReceiver
impl Sync for NoReceiver
impl Unpin for NoReceiver
impl UnsafeUnpin for NoReceiver
impl UnwindSafe for NoReceiver
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