[][src]Trait janus::Message

pub trait Message: Debug {
    fn payload(&self) -> &[u8];
}

Provides a generic abstraction over a message.

Required methods

fn payload(&self) -> &[u8]

Returns the payload of the message.

Loading content...

Implementors

impl<M: Message> Message for AckMessage<M>[src]

Loading content...