Trait mqtt::encodable::Decodable[][src]

pub trait Decodable: Sized {
    type Err: Error;
    type Cond;
    fn decode_with<R: Read>(
        reader: &mut R,
        cond: Option<Self::Cond>
    ) -> Result<Self, Self::Err>; fn decode<R: Read>(reader: &mut R) -> Result<Self, Self::Err> { ... } }

Methods for decoding bytes to an Object according to MQTT specification

Associated Types

Required Methods

Decodes object with additional data (or hints)

Provided Methods

Decodes object from reader

Implementations on Foreign Types

impl Decodable for String
[src]

impl Decodable for Vec<u8>
[src]

impl Decodable for ()
[src]

Implementors