Struct windows::Win32::Networking::WinSock::SOCKADDR_VNS
#[repr(C)]pub struct SOCKADDR_VNS {
pub sin_family: u16,
pub net_address: [u8; 4],
pub subnet_addr: [u8; 2],
pub port: [u8; 2],
pub hops: u8,
pub filler: [u8; 5],
}
Fields§
§sin_family: u16
§net_address: [u8; 4]
§subnet_addr: [u8; 2]
§port: [u8; 2]
§hops: u8
§filler: [u8; 5]
Trait Implementations§
§impl Clone for SOCKADDR_VNS
impl Clone for SOCKADDR_VNS
§fn clone(&self) -> SOCKADDR_VNS
fn clone(&self) -> SOCKADDR_VNS
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 Debug for SOCKADDR_VNS
impl Debug for SOCKADDR_VNS
§impl Default for SOCKADDR_VNS
impl Default for SOCKADDR_VNS
§impl PartialEq for SOCKADDR_VNS
impl PartialEq for SOCKADDR_VNS
§fn eq(&self, other: &SOCKADDR_VNS) -> bool
fn eq(&self, other: &SOCKADDR_VNS) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for SOCKADDR_VNS
impl Eq for SOCKADDR_VNS
impl StructuralPartialEq for SOCKADDR_VNS
Auto Trait Implementations§
impl Freeze for SOCKADDR_VNS
impl RefUnwindSafe for SOCKADDR_VNS
impl Send for SOCKADDR_VNS
impl Sync for SOCKADDR_VNS
impl Unpin for SOCKADDR_VNS
impl UnwindSafe for SOCKADDR_VNS
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
)