pub struct PingReq {}Expand description
Represents an MQTT PingReq (Ping Request) packet.
§Example
use mqute_codec::protocol::v5::PingReq;
let packet = PingReq { };Trait Implementations§
impl Copy for PingReq
impl Eq for PingReq
impl PingReq for PingReq
impl StructuralPartialEq for PingReq
Auto Trait Implementations§
impl Freeze for PingReq
impl RefUnwindSafe for PingReq
impl Send for PingReq
impl Sync for PingReq
impl Unpin for PingReq
impl UnwindSafe for PingReq
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