Struct mqtt::encodable::VarBytes [−][src]
Bytes that encoded with length
Trait Implementations
impl Debug for VarBytes
[src]
impl Debug for VarBytes
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Eq for VarBytes
[src]
impl Eq for VarBytes
impl PartialEq for VarBytes
[src]
impl PartialEq for VarBytes
fn eq(&self, other: &VarBytes) -> bool
[src]
fn eq(&self, other: &VarBytes) -> bool
This 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) -> bool
This method tests for !=
.
impl Encodable for VarBytes
[src]
impl Encodable for VarBytes
type 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) -> u32
Length of bytes after encoded
impl Decodable for VarBytes
[src]
impl Decodable for VarBytes