[][src]Trait svc_agent::mqtt::Publishable

pub trait Publishable {
    fn message_type(&self) -> &'static str;
fn destination(&self) -> &Destination;
fn qos(&self) -> QoS;
fn response_topic(&self) -> Option<&str>;
fn into_bytes(self: Box<Self>) -> Result<String, Error>; }

Required methods

fn message_type(&self) -> &'static str

fn destination(&self) -> &Destination

fn qos(&self) -> QoS

fn response_topic(&self) -> Option<&str>

fn into_bytes(self: Box<Self>) -> Result<String, Error>

Loading content...

Implementors

impl<T, P> Publishable for OutgoingMessage<T, P> where
    T: Serialize,
    P: OutgoingProperties,
    OutgoingMessage<T, P>: IntoEnvelope
[src]

Loading content...