Trait mqtt::encodable::Decodable
[−]
[src]
pub trait Decodable<'a>: Sized { type Err: Error + 'a; 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> { ... } }
Associated Types
Required Methods
Provided Methods
Implementors
impl<'a> Decodable<'a> for FixedHeaderimpl<'a> Decodable<'a> for PacketIdentifierimpl<'a> Decodable<'a> for ProtocolNameimpl<'a> Decodable<'a> for ProtocolLevelimpl<'a> Decodable<'a> for ConnectFlagsimpl<'a> Decodable<'a> for KeepAliveimpl<'a> Decodable<'a> for ConnackFlagsimpl<'a> Decodable<'a> for ConnectReturnCodeimpl<'a> Decodable<'a> for TopicNameHeaderimpl<'a> Decodable<'a> for ConnectPacketPayloadimpl<'a> Decodable<'a> for SubscribePacketPayloadimpl<'a> Decodable<'a> for SubackPacketPayloadimpl<'a> Decodable<'a> for UnsubscribePacketPayloadimpl<'a, T: Packet<'a> + Debug + 'a> Decodable<'a> for Timpl<'a> Decodable<'a> for VariablePacketimpl<'a> Decodable<'a> for Stringimpl<'a> Decodable<'a> for Vec<u8>impl<'a> Decodable<'a> for ()impl<'a> Decodable<'a> for TopicFilterimpl<'a> Decodable<'a> for TopicName