pub struct ConnAck<'a> {
pub session_present: bool,
pub reason_code: u8,
/* private fields */
}
Fields§
§session_present: bool
§reason_code: u8
Trait Implementations§
Source§impl<'a> DecodePacket<'a> for ConnAck<'a>
impl<'a> DecodePacket<'a> for ConnAck<'a>
fn decode( buf: &'a [u8], version: MqttVersion, ) -> Result<Self, MqttError<ErrorPlaceHolder>>
Auto Trait Implementations§
impl<'a> Freeze for ConnAck<'a>
impl<'a> RefUnwindSafe for ConnAck<'a>
impl<'a> Send for ConnAck<'a>
impl<'a> Sync for ConnAck<'a>
impl<'a> Unpin for ConnAck<'a>
impl<'a> UnwindSafe for ConnAck<'a>
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