Struct mqtt::encodable::VarBytes [−][src]
Bytes that encoded with length
Trait Implementations
impl Debug for VarBytes[src]
impl Debug for VarBytesfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Eq for VarBytes[src]
impl Eq for VarBytesimpl PartialEq for VarBytes[src]
impl PartialEq for VarBytesfn eq(&self, other: &VarBytes) -> bool[src]
fn eq(&self, other: &VarBytes) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &VarBytes) -> bool[src]
fn ne(&self, other: &VarBytes) -> boolThis method tests for !=.
impl Encodable for VarBytes[src]
impl Encodable for VarBytestype Err = Error
fn encode<W: Write>(&self, writer: &mut W) -> Result<(), Self::Err>[src]
fn encode<W: Write>(&self, writer: &mut W) -> Result<(), Self::Err>Encodes to writer
fn encoded_length(&self) -> u32[src]
fn encoded_length(&self) -> u32Length of bytes after encoded
impl Decodable for VarBytes[src]
impl Decodable for VarBytes