pub trait MessageSender {
    fn send(
        &self,
        destination: Message_MessageType,
        correlation_id: &str,
        contents: &[u8]
    ) -> Result<MessageFuture, SendError>;
fn reply(
        &self,
        destination: Message_MessageType,
        correlation_id: &str,
        contents: &[u8]
    ) -> Result<(), SendError>;
fn close(&mut self); }
Expand description

A Message Sender

A message

Required methods

Implementors