pub struct CongestionWarningPacket {
pub timestamp: u32,
pub dest_socket_id: u32,
}Expand description
Congestion Warning control packet (§3.2.6, Figure 15). Reserved for future use; no CIF.
Fields§
§timestamp: u32Timestamp (§3).
dest_socket_id: u32Destination Socket ID (§3).
Trait Implementations§
Source§impl Clone for CongestionWarningPacket
impl Clone for CongestionWarningPacket
Source§fn clone(&self) -> CongestionWarningPacket
fn clone(&self) -> CongestionWarningPacket
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 CongestionWarningPacket
Source§impl Debug for CongestionWarningPacket
impl Debug for CongestionWarningPacket
impl Eq for CongestionWarningPacket
Source§impl Hash for CongestionWarningPacket
impl Hash for CongestionWarningPacket
Source§impl PartialEq for CongestionWarningPacket
impl PartialEq for CongestionWarningPacket
Source§fn eq(&self, other: &CongestionWarningPacket) -> bool
fn eq(&self, other: &CongestionWarningPacket) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CongestionWarningPacket
impl Serialize for CongestionWarningPacket
impl StructuralPartialEq for CongestionWarningPacket
Auto Trait Implementations§
impl Freeze for CongestionWarningPacket
impl RefUnwindSafe for CongestionWarningPacket
impl Send for CongestionWarningPacket
impl Sync for CongestionWarningPacket
impl Unpin for CongestionWarningPacket
impl UnsafeUnpin for CongestionWarningPacket
impl UnwindSafe for CongestionWarningPacket
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