Struct ICMP_ERROR_INFO
#[repr(C)]pub struct ICMP_ERROR_INFO {
pub srcaddress: SOCKADDR_INET,
pub protocol: IPPROTO,
pub type: u8,
pub code: u8,
}
Fields§
§srcaddress: SOCKADDR_INET
§protocol: IPPROTO
§type: u8
§code: u8
Trait Implementations§
§impl Clone for ICMP_ERROR_INFO
impl Clone for ICMP_ERROR_INFO
§fn clone(&self) -> ICMP_ERROR_INFO
fn clone(&self) -> ICMP_ERROR_INFO
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_ERROR_INFO
Auto Trait Implementations§
impl Freeze for ICMP_ERROR_INFO
impl RefUnwindSafe for ICMP_ERROR_INFO
impl Send for ICMP_ERROR_INFO
impl Sync for ICMP_ERROR_INFO
impl Unpin for ICMP_ERROR_INFO
impl UnwindSafe for ICMP_ERROR_INFO
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