pub struct ConnackPacket {
pub session_present: bool,
pub return_code: ConnackCode,
}Expand description
CONNACK packet to client
Fields§
§session_present: bool§return_code: ConnackCodeTrait Implementations§
Source§impl Clone for ConnackPacket
impl Clone for ConnackPacket
Source§fn clone(&self) -> ConnackPacket
fn clone(&self) -> ConnackPacket
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ConnackPacket
impl RefUnwindSafe for ConnackPacket
impl Send for ConnackPacket
impl Sync for ConnackPacket
impl Unpin for ConnackPacket
impl UnsafeUnpin for ConnackPacket
impl UnwindSafe for ConnackPacket
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