Struct ICMP_HEADER
#[repr(C)]pub struct ICMP_HEADER {
pub Type: u8,
pub Code: u8,
pub Checksum: u16,
}
Fields§
§Type: u8
§Code: u8
§Checksum: u16
Trait Implementations§
§impl Clone for ICMP_HEADER
impl Clone for ICMP_HEADER
§fn clone(&self) -> ICMP_HEADER
fn clone(&self) -> ICMP_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 ICMP_HEADER
Auto Trait Implementations§
impl Freeze for ICMP_HEADER
impl RefUnwindSafe for ICMP_HEADER
impl Send for ICMP_HEADER
impl Sync for ICMP_HEADER
impl Unpin for ICMP_HEADER
impl UnwindSafe for ICMP_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