pub struct UnsubAck { /* private fields */ }Expand description
Represents the packet ID UnsubAck packet
§Example
use mqute_codec::protocol::v4::UnsubAck;
let packet = UnsubAck::new(1024);
assert_eq!(packet.packet_id(), 1024);Implementations§
Trait Implementations§
impl Copy for UnsubAck
impl Eq for UnsubAck
impl StructuralPartialEq for UnsubAck
impl UnsubAck for UnsubAck
Auto Trait Implementations§
impl Freeze for UnsubAck
impl RefUnwindSafe for UnsubAck
impl Send for UnsubAck
impl Sync for UnsubAck
impl Unpin for UnsubAck
impl UnwindSafe for UnsubAck
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Encoded for Twhere
T: Encode,
impl<T> Encoded for Twhere
T: Encode,
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Calculates the total encoded length of the packet. Read more