[−][src]Struct suspend_channel::Sender
Implementations
impl<T> Sender<T>
[src]
pub fn is_canceled(&self) -> bool
[src]
Check if the receiver has already been dropped.
pub fn send(&mut self, value: T) -> TrackSend<'_, T>ⓘ
[src]
Dispatch the result and consume the Sender
.
pub fn into_send(self, value: T) -> Result<(), T>
[src]
Send a single result and consume the Sender
.
Trait Implementations
impl<T: Debug> Debug for Sender<T>
[src]
impl<T> Drop for Sender<T>
[src]
impl<T: Send> Send for Sender<T>
[src]
impl<T: Send> Sync for Sender<T>
[src]
Auto Trait Implementations
impl<T> !RefUnwindSafe for Sender<T>
[src]
impl<T> Unpin for Sender<T> where
T: Unpin,
[src]
T: Unpin,
impl<T> !UnwindSafe for Sender<T>
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,