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> DefaultEncoding for OneshotSender<T>where
T: MeshField,
impl<T> DefaultEncoding for OneshotSender<T>where
T: MeshField,
Source§impl<T> From<Port> for OneshotSender<T>where
T: MeshField,
impl<T> From<Port> for OneshotSender<T>where
T: MeshField,
Source§fn from(port: Port) -> OneshotSender<T>
fn from(port: Port) -> OneshotSender<T>
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