pub trait Sender {
    fn send(&self, msg: Message) -> Result<u32, ()>;
}
Expand description

Abstraction over different connections that send data

Required Methods

Schedules a message for sending.

Returns a serial number than can be used to match against a reply.

Implementations on Foreign Types

Use in case you don’t want the send the message, but just collect it instead.

Use in case you don’t want the send the message, but just collect it instead.

Implementors