Struct mqtt::encodable::VarBytes[][src]

pub struct VarBytes(pub Vec<u8>);

Bytes that encoded with length

Trait Implementations

impl Debug for VarBytes
[src]

Formats the value using the given formatter. Read more

impl Eq for VarBytes
[src]

impl PartialEq for VarBytes
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Encodable for VarBytes
[src]

Encodes to writer

Length of bytes after encoded

impl Decodable for VarBytes
[src]

Decodes object with additional data (or hints)

Decodes object from reader

Auto Trait Implementations

impl Send for VarBytes

impl Sync for VarBytes