[−][src]Trait sage_mqtt::Encode
The Encode
trait describes how to write a type into an MQTT stream.
Required methods
fn encode<W: Write>(self, writer: &mut W) -> SageResult<usize>
Encodes this
and writes it into write
, returning how many bytes
were written.