[−][src]Trait janus::Message
Provides a generic abstraction over a message.
Required methods
fn payload(&self) -> &[u8]
Returns the payload of the message.
fn topic(&self) -> &str
Returns the source topic of the message.