Struct windows::Win32::Networking::WinSock::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 more§impl Default for ICMP_ERROR_INFO
impl Default for ICMP_ERROR_INFO
impl 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
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
)