Struct windivert_sys::header::WINDIVERT_ICMPHDR
source · #[repr(C)]pub struct WINDIVERT_ICMPHDR {
pub msg_type: u8,
pub msg_code: u8,
/* private fields */
}Expand description
ICMP header.
For more info, refer to the docs
Fields§
§msg_type: u8§msg_code: u8Implementations§
Trait Implementations§
source§impl Clone for WINDIVERT_ICMPHDR
impl Clone for WINDIVERT_ICMPHDR
source§fn clone(&self) -> WINDIVERT_ICMPHDR
fn clone(&self) -> WINDIVERT_ICMPHDR
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 moresource§impl Debug for WINDIVERT_ICMPHDR
impl Debug for WINDIVERT_ICMPHDR
source§impl Default for WINDIVERT_ICMPHDR
impl Default for WINDIVERT_ICMPHDR
source§fn default() -> WINDIVERT_ICMPHDR
fn default() -> WINDIVERT_ICMPHDR
Returns the “default value” for a type. Read more