pub struct ConnAck {
pub session_present: bool,
pub code: ConnectReturnCode,
}
Expand description
Acknowledgement to connect packet
Fields§
§session_present: bool
§code: ConnectReturnCode
Implementations§
Trait Implementations§
impl Eq for ConnAck
impl StructuralPartialEq for ConnAck
Auto Trait Implementations§
impl Freeze for ConnAck
impl RefUnwindSafe for ConnAck
impl Send for ConnAck
impl Sync for ConnAck
impl Unpin for ConnAck
impl UnwindSafe for ConnAck
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more