Struct windows_sys::Win32::NetworkManagement::IpHelper::MIB_IF_ROW2
#[repr(C)]pub struct MIB_IF_ROW2 {Show 41 fields
pub InterfaceLuid: NET_LUID_LH,
pub InterfaceIndex: u32,
pub InterfaceGuid: GUID,
pub Alias: [u16; 257],
pub Description: [u16; 257],
pub PhysicalAddressLength: u32,
pub PhysicalAddress: [u8; 32],
pub PermanentPhysicalAddress: [u8; 32],
pub Mtu: u32,
pub Type: u32,
pub TunnelType: TUNNEL_TYPE,
pub MediaType: NDIS_MEDIUM,
pub PhysicalMediumType: NDIS_PHYSICAL_MEDIUM,
pub AccessType: NET_IF_ACCESS_TYPE,
pub DirectionType: NET_IF_DIRECTION_TYPE,
pub InterfaceAndOperStatusFlags: MIB_IF_ROW2_0,
pub OperStatus: IF_OPER_STATUS,
pub AdminStatus: NET_IF_ADMIN_STATUS,
pub MediaConnectState: NET_IF_MEDIA_CONNECT_STATE,
pub NetworkGuid: GUID,
pub ConnectionType: NET_IF_CONNECTION_TYPE,
pub TransmitLinkSpeed: u64,
pub ReceiveLinkSpeed: u64,
pub InOctets: u64,
pub InUcastPkts: u64,
pub InNUcastPkts: u64,
pub InDiscards: u64,
pub InErrors: u64,
pub InUnknownProtos: u64,
pub InUcastOctets: u64,
pub InMulticastOctets: u64,
pub InBroadcastOctets: u64,
pub OutOctets: u64,
pub OutUcastPkts: u64,
pub OutNUcastPkts: u64,
pub OutDiscards: u64,
pub OutErrors: u64,
pub OutUcastOctets: u64,
pub OutMulticastOctets: u64,
pub OutBroadcastOctets: u64,
pub OutQLen: u64,
}
Fields§
§InterfaceLuid: NET_LUID_LH
§InterfaceIndex: u32
§InterfaceGuid: GUID
§Alias: [u16; 257]
§Description: [u16; 257]
§PhysicalAddressLength: u32
§PhysicalAddress: [u8; 32]
§PermanentPhysicalAddress: [u8; 32]
§Mtu: u32
§Type: u32
§TunnelType: TUNNEL_TYPE
§MediaType: NDIS_MEDIUM
§PhysicalMediumType: NDIS_PHYSICAL_MEDIUM
§AccessType: NET_IF_ACCESS_TYPE
§DirectionType: NET_IF_DIRECTION_TYPE
§InterfaceAndOperStatusFlags: MIB_IF_ROW2_0
§OperStatus: IF_OPER_STATUS
§AdminStatus: NET_IF_ADMIN_STATUS
§MediaConnectState: NET_IF_MEDIA_CONNECT_STATE
§NetworkGuid: GUID
§ConnectionType: NET_IF_CONNECTION_TYPE
§TransmitLinkSpeed: u64
§ReceiveLinkSpeed: u64
§InOctets: u64
§InUcastPkts: u64
§InNUcastPkts: u64
§InDiscards: u64
§InErrors: u64
§InUnknownProtos: u64
§InUcastOctets: u64
§InMulticastOctets: u64
§InBroadcastOctets: u64
§OutOctets: u64
§OutUcastPkts: u64
§OutNUcastPkts: u64
§OutDiscards: u64
§OutErrors: u64
§OutUcastOctets: u64
§OutMulticastOctets: u64
§OutBroadcastOctets: u64
§OutQLen: u64
Trait Implementations§
§impl Clone for MIB_IF_ROW2
impl Clone for MIB_IF_ROW2
§fn clone(&self) -> MIB_IF_ROW2
fn clone(&self) -> MIB_IF_ROW2
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 MIB_IF_ROW2
Auto Trait Implementations§
impl Freeze for MIB_IF_ROW2
impl RefUnwindSafe for MIB_IF_ROW2
impl Send for MIB_IF_ROW2
impl Sync for MIB_IF_ROW2
impl Unpin for MIB_IF_ROW2
impl UnwindSafe for MIB_IF_ROW2
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
)