Struct mqtt::control::variable_header::connect_ack_flags::ConnackFlags
[−]
[src]
pub struct ConnackFlags {
pub session_present: bool,
}Fields
session_present: bool
Methods
impl ConnackFlags[src]
fn empty() -> ConnackFlags
Trait Implementations
impl Debug for ConnackFlags[src]
impl Eq for ConnackFlags[src]
impl PartialEq for ConnackFlags[src]
fn eq(&self, __arg_0: &ConnackFlags) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &ConnackFlags) -> bool
This method tests for !=.
impl Copy for ConnackFlags[src]
impl Clone for ConnackFlags[src]
fn clone(&self) -> ConnackFlags
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more
impl<'a> Encodable<'a> for ConnackFlags[src]
type Err = VariableHeaderError
fn encode<W: Write>(&self, writer: &mut W) -> Result<(), VariableHeaderError>
fn encoded_length(&self) -> u32
impl<'a> Decodable<'a> for ConnackFlags[src]
type Err = VariableHeaderError
type Cond = ()
fn decode_with<R: Read>(reader: &mut R,
_rest: Option<()>)
-> Result<ConnackFlags, VariableHeaderError>
_rest: Option<()>)
-> Result<ConnackFlags, VariableHeaderError>