pub struct Connack {
pub session_present: bool,
pub code: ConnectReturnCode,
}
Expand description
Connack packet (MQTT 3.2).
Fields
session_present: bool
code: ConnectReturnCode
Trait Implementations
impl Copy for Connack
impl StructuralPartialEq for Connack
Auto Trait Implementations
impl RefUnwindSafe for Connack
impl Send for Connack
impl Sync for Connack
impl Unpin for Connack
impl UnwindSafe for Connack
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more