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]

[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]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Drop for Sender
[src]

[src]

Executes the destructor for this type. Read more