Trait Message
janus
pub trait Message: Debug { fn payload(&self) -> &[u8]; }
Provides a generic abstraction over a message.
fn payload(&self) -> &[u8]
Returns the payload of the message.
impl<M: Message> Message for AckMessage<M>