Struct windows::Win32::Networking::WinSock::IPV4_HEADER
#[repr(C)]pub struct IPV4_HEADER {
pub Anonymous1: IPV4_HEADER_0,
pub Anonymous2: IPV4_HEADER_1,
pub TotalLength: u16,
pub Identification: u16,
pub Anonymous3: IPV4_HEADER_2,
pub TimeToLive: u8,
pub Protocol: u8,
pub HeaderChecksum: u16,
pub SourceAddress: IN_ADDR,
pub DestinationAddress: IN_ADDR,
}
Fields§
§Anonymous1: IPV4_HEADER_0
§Anonymous2: IPV4_HEADER_1
§TotalLength: u16
§Identification: u16
§Anonymous3: IPV4_HEADER_2
§TimeToLive: u8
§Protocol: u8
§HeaderChecksum: u16
§SourceAddress: IN_ADDR
§DestinationAddress: IN_ADDR
Trait Implementations§
§impl Clone for IPV4_HEADER
impl Clone for IPV4_HEADER
§fn clone(&self) -> IPV4_HEADER
fn clone(&self) -> IPV4_HEADER
Returns a copy 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 moreimpl Copy for IPV4_HEADER
Auto Trait Implementations§
impl Freeze for IPV4_HEADER
impl RefUnwindSafe for IPV4_HEADER
impl Send for IPV4_HEADER
impl Sync for IPV4_HEADER
impl Unpin for IPV4_HEADER
impl UnwindSafe for IPV4_HEADER
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)