pub trait DecodablePacket: EncodablePacket + Sized {
    type DecodePacketError: Error + 'static;
    fn decode_packet<R: Read>(
        reader: &mut R,
        fixed_header: FixedHeader
    ) -> Result<Self, PacketError<Self>>; }

Associated Types

Required methods

Decode packet given a FixedHeader

Implementors