pub struct PingResp {}Expand description
Represents an MQTT PingResp packet.
The PingResp packet is sent by the server to the client in response to a PingReq packet.
§Example
use mqute_codec::protocol::v4::PingResp;
let packet = PingResp { };Trait Implementations§
impl Copy for PingResp
impl Eq for PingResp
impl StructuralPartialEq for PingResp
Auto Trait Implementations§
impl Freeze for PingResp
impl RefUnwindSafe for PingResp
impl Send for PingResp
impl Sync for PingResp
impl Unpin for PingResp
impl UnwindSafe for PingResp
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