pub struct MobileHeartbeat {
pub magic: u8,
pub reserved: [u8; 7],
}Expand description
Mobile Heartbeat Packet (8 bytes)
Fields§
§magic: u8Magic: 0xEF
reserved: [u8; 7]Reserved bytes
Implementations§
Trait Implementations§
Source§impl Clone for MobileHeartbeat
impl Clone for MobileHeartbeat
Source§fn clone(&self) -> MobileHeartbeat
fn clone(&self) -> MobileHeartbeat
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MobileHeartbeat
impl Debug for MobileHeartbeat
Source§impl Default for MobileHeartbeat
impl Default for MobileHeartbeat
Source§fn default() -> MobileHeartbeat
fn default() -> MobileHeartbeat
Returns the “default value” for a type. Read more
Source§impl Encoder<MobileHeartbeat> for MobileCodec
Encoder for MobileHeartbeat directly (convenience)
impl Encoder<MobileHeartbeat> for MobileCodec
Encoder for MobileHeartbeat directly (convenience)
impl Copy for MobileHeartbeat
Auto Trait Implementations§
impl Freeze for MobileHeartbeat
impl RefUnwindSafe for MobileHeartbeat
impl Send for MobileHeartbeat
impl Sync for MobileHeartbeat
impl Unpin for MobileHeartbeat
impl UnwindSafe for MobileHeartbeat
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