Struct strymon_communication::transport::Sender
[−]
[src]
pub struct Sender { /* fields omitted */ }
A queue handle to send messages on the channel.
Drop behavior:
This will close the underlying channel (including the receiving side) when
dropped. In addition if the socket is still open, drop
will block until
the sender queue is drained.
Methods
impl Sender
[src]
pub fn send<T: Into<MessageBuf>>(&self, msg: T)
[src]
Enqueues an outgoing message.
The message might still be dropped if the underlying socket is closed by the remote receiver before the message is dequeued.
Trait Implementations
impl Clone for Sender
[src]
fn clone(&self) -> Sender
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more