#[repr(C, packed(1))]
pub struct TCP_HDR { pub th_sport: u16, pub th_dport: u16, pub th_seq: u32, pub th_ack: u32, pub _bitfield: u8, pub th_flags: u8, pub th_win: u16, pub th_sum: u16, pub th_urp: u16, }
Expand description

Required features: "Win32_Networking_WinSock"

Fields§

§th_sport: u16§th_dport: u16§th_seq: u32§th_ack: u32§_bitfield: u8§th_flags: u8§th_win: u16§th_sum: u16§th_urp: u16

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.