pub struct SubAck<'a> {
pub packet_id: u16,
pub reason_codes: Vec<u8, 8>,
/* private fields */
}
Fields§
§packet_id: u16
§reason_codes: Vec<u8, 8>
Trait Implementations§
Source§impl<'a> DecodePacket<'a> for SubAck<'a>
impl<'a> DecodePacket<'a> for SubAck<'a>
fn decode( _buf: &'a [u8], _version: MqttVersion, ) -> Result<Self, MqttError<ErrorPlaceHolder>>
Auto Trait Implementations§
impl<'a> Freeze for SubAck<'a>
impl<'a> RefUnwindSafe for SubAck<'a>
impl<'a> Send for SubAck<'a>
impl<'a> Sync for SubAck<'a>
impl<'a> Unpin for SubAck<'a>
impl<'a> UnwindSafe for SubAck<'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