pub struct KeepAlivePacket {
pub timestamp: u32,
pub dest_socket_id: u32,
}Expand description
Keep-Alive control packet (§3.2.3, Figure 12). No CIF.
Fields§
§timestamp: u32Timestamp (§3).
dest_socket_id: u32Destination Socket ID (§3).
Trait Implementations§
Source§impl Clone for KeepAlivePacket
impl Clone for KeepAlivePacket
Source§fn clone(&self) -> KeepAlivePacket
fn clone(&self) -> KeepAlivePacket
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for KeepAlivePacket
Source§impl Debug for KeepAlivePacket
impl Debug for KeepAlivePacket
impl Eq for KeepAlivePacket
Source§impl Hash for KeepAlivePacket
impl Hash for KeepAlivePacket
Source§impl PartialEq for KeepAlivePacket
impl PartialEq for KeepAlivePacket
Source§impl Serialize for KeepAlivePacket
Available on crate feature serde only.
impl Serialize for KeepAlivePacket
Available on crate feature
serde only.impl StructuralPartialEq for KeepAlivePacket
Auto Trait Implementations§
impl Freeze for KeepAlivePacket
impl RefUnwindSafe for KeepAlivePacket
impl Send for KeepAlivePacket
impl Sync for KeepAlivePacket
impl Unpin for KeepAlivePacket
impl UnsafeUnpin for KeepAlivePacket
impl UnwindSafe for KeepAlivePacket
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