pub struct OneshotSender<T>(/* private fields */);
Expand description
The sending half of a channel returned by oneshot
.
Implementations§
Source§impl<T> OneshotSender<T>
impl<T> OneshotSender<T>
Trait Implementations§
Source§impl<T> Debug for OneshotSender<T>
impl<T> Debug for OneshotSender<T>
Source§impl<T: MeshField> DefaultEncoding for OneshotSender<T>
impl<T: MeshField> DefaultEncoding for OneshotSender<T>
Source§impl<T: MeshField> From<OneshotSender<T>> for Port
impl<T: MeshField> From<OneshotSender<T>> for Port
Source§fn from(sender: OneshotSender<T>) -> Self
fn from(sender: OneshotSender<T>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<T> Freeze for OneshotSender<T>
impl<T> !RefUnwindSafe for OneshotSender<T>
impl<T> Send for OneshotSender<T>where
T: Send,
impl<T> Sync for OneshotSender<T>where
T: Send,
impl<T> Unpin for OneshotSender<T>
impl<T> !UnwindSafe for OneshotSender<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