Struct calloop::channel::SyncSender [−][src]
pub struct SyncSender<T> { /* fields omitted */ }Methods
impl<T> SyncSender<T>[src]
impl<T> SyncSender<T>pub fn send(&self, t: T) -> Result<(), SendError<T>>[src]
pub fn send(&self, t: T) -> Result<(), SendError<T>>pub fn try_send(&self, t: T) -> Result<(), TrySendError<T>>[src]
pub fn try_send(&self, t: T) -> Result<(), TrySendError<T>>Trait Implementations
impl<T> Clone for SyncSender<T>[src]
impl<T> Clone for SyncSender<T>fn clone(&self) -> SyncSender<T>[src]
fn clone(&self) -> SyncSender<T>Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
Auto Trait Implementations
impl<T> Send for SyncSender<T> where
T: Send,
impl<T> Send for SyncSender<T> where
T: Send, impl<T> Sync for SyncSender<T> where
T: Send,
impl<T> Sync for SyncSender<T> where
T: Send,