Struct mio_misc::channel::SyncSender [−][src]
pub struct SyncSender<T> { /* fields omitted */ }
Expand description
The sending half of a synchronous channel.
Implementations
Sends a value on this synchronous channel.
This function will block until space in the internal buffer becomes available or a receiver is available to hand off the message to.
Attempts to send a value on this channel without blocking.
This method differs from send
by returning immediately if the channel’s
buffer is full or no receiver is waiting to acquire some data.
Trait Implementations
Auto Trait Implementations
impl<T> !RefUnwindSafe for SyncSender<T>
impl<T> Send for SyncSender<T> where
T: Send,
impl<T> Sync for SyncSender<T> where
T: Send,
impl<T> Unpin for SyncSender<T>
impl<T> !UnwindSafe for SyncSender<T>
Blanket Implementations
Mutably borrows from an owned value. Read more