#[repr(C)]pub struct MIB_IF_ROW2 {Show 41 fields
pub InterfaceLuid: NET_LUID,
pub InterfaceIndex: NET_IFINDEX,
pub InterfaceGuid: GUID,
pub Alias: [WCHAR; 257],
pub Description: [WCHAR; 257],
pub PhysicalAddressLength: ULONG,
pub PhysicalAddress: [UCHAR; 32],
pub PermanentPhysicalAddress: [UCHAR; 32],
pub Mtu: ULONG,
pub Type: IFTYPE,
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_InterfaceAndOperStatusFlags,
pub OperStatus: IF_OPER_STATUS,
pub AdminStatus: NET_IF_ADMIN_STATUS,
pub MediaConnectState: NET_IF_MEDIA_CONNECT_STATE,
pub NetworkGuid: NET_IF_NETWORK_GUID,
pub ConnectionType: NET_IF_CONNECTION_TYPE,
pub TransmitLinkSpeed: ULONG64,
pub ReceiveLinkSpeed: ULONG64,
pub InOctets: ULONG64,
pub InUcastPkts: ULONG64,
pub InNUcastPkts: ULONG64,
pub InDiscards: ULONG64,
pub InErrors: ULONG64,
pub InUnknownProtos: ULONG64,
pub InUcastOctets: ULONG64,
pub InMulticastOctets: ULONG64,
pub InBroadcastOctets: ULONG64,
pub OutOctets: ULONG64,
pub OutUcastPkts: ULONG64,
pub OutNUcastPkts: ULONG64,
pub OutDiscards: ULONG64,
pub OutErrors: ULONG64,
pub OutUcastOctets: ULONG64,
pub OutMulticastOctets: ULONG64,
pub OutBroadcastOctets: ULONG64,
pub OutQLen: ULONG64,
}
Fields§
§InterfaceLuid: NET_LUID
§InterfaceIndex: NET_IFINDEX
§InterfaceGuid: GUID
§Alias: [WCHAR; 257]
§Description: [WCHAR; 257]
§PhysicalAddressLength: ULONG
§PhysicalAddress: [UCHAR; 32]
§PermanentPhysicalAddress: [UCHAR; 32]
§Mtu: ULONG
§Type: IFTYPE
§TunnelType: TUNNEL_TYPE
§MediaType: NDIS_MEDIUM
§PhysicalMediumType: NDIS_PHYSICAL_MEDIUM
§AccessType: NET_IF_ACCESS_TYPE
§DirectionType: NET_IF_DIRECTION_TYPE
§InterfaceAndOperStatusFlags: MIB_IF_ROW2_InterfaceAndOperStatusFlags
§OperStatus: IF_OPER_STATUS
§AdminStatus: NET_IF_ADMIN_STATUS
§MediaConnectState: NET_IF_MEDIA_CONNECT_STATE
§NetworkGuid: NET_IF_NETWORK_GUID
§ConnectionType: NET_IF_CONNECTION_TYPE
§TransmitLinkSpeed: ULONG64
§ReceiveLinkSpeed: ULONG64
§InOctets: ULONG64
§InUcastPkts: ULONG64
§InNUcastPkts: ULONG64
§InDiscards: ULONG64
§InErrors: ULONG64
§InUnknownProtos: ULONG64
§InUcastOctets: ULONG64
§InMulticastOctets: ULONG64
§InBroadcastOctets: ULONG64
§OutOctets: ULONG64
§OutUcastPkts: ULONG64
§OutNUcastPkts: ULONG64
§OutDiscards: ULONG64
§OutErrors: ULONG64
§OutUcastOctets: ULONG64
§OutMulticastOctets: ULONG64
§OutBroadcastOctets: ULONG64
§OutQLen: ULONG64
Trait Implementations§
Source§impl Clone for MIB_IF_ROW2
impl Clone for MIB_IF_ROW2
Source§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 moreSource§impl Default for MIB_IF_ROW2
impl Default for MIB_IF_ROW2
Source§fn default() -> MIB_IF_ROW2
fn default() -> MIB_IF_ROW2
Returns the “default value” for a type. Read more
impl 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