[][src]Trait svc_agent::mqtt::IntoPublishableMessage

pub trait IntoPublishableMessage {
    fn into_dump(
        self: Box<Self>,
        publisher: &Address
    ) -> Result<PublishableMessage, Error>; }

Required methods

fn into_dump(
    self: Box<Self>,
    publisher: &Address
) -> Result<PublishableMessage, Error>

Serializes the object into dump that can be directly published.

Loading content...

Implementors

impl<T: Serialize> IntoPublishableMessage for OutgoingMessage<T>[src]

Loading content...