[][src]Struct winapi_ui_automation::shared::netioapi::MIB_IF_ROW2

#[repr(C)]pub struct MIB_IF_ROW2 {
    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_LUIDInterfaceIndex: NET_IFINDEXInterfaceGuid: GUIDAlias: [WCHAR; 257]Description: [WCHAR; 257]PhysicalAddressLength: ULONGPhysicalAddress: [UCHAR; 32]PermanentPhysicalAddress: [UCHAR; 32]Mtu: ULONGType: IFTYPETunnelType: TUNNEL_TYPEMediaType: NDIS_MEDIUMPhysicalMediumType: NDIS_PHYSICAL_MEDIUMAccessType: NET_IF_ACCESS_TYPEDirectionType: NET_IF_DIRECTION_TYPEInterfaceAndOperStatusFlags: MIB_IF_ROW2_InterfaceAndOperStatusFlagsOperStatus: IF_OPER_STATUSAdminStatus: NET_IF_ADMIN_STATUSMediaConnectState: NET_IF_MEDIA_CONNECT_STATENetworkGuid: NET_IF_NETWORK_GUIDConnectionType: NET_IF_CONNECTION_TYPETransmitLinkSpeed: ULONG64ReceiveLinkSpeed: ULONG64InOctets: ULONG64InUcastPkts: ULONG64InNUcastPkts: ULONG64InDiscards: ULONG64InErrors: ULONG64InUnknownProtos: ULONG64InUcastOctets: ULONG64InMulticastOctets: ULONG64InBroadcastOctets: ULONG64OutOctets: ULONG64OutUcastPkts: ULONG64OutNUcastPkts: ULONG64OutDiscards: ULONG64OutErrors: ULONG64OutUcastOctets: ULONG64OutMulticastOctets: ULONG64OutBroadcastOctets: ULONG64OutQLen: ULONG64

Trait Implementations

impl Clone for MIB_IF_ROW2[src]

impl Copy for MIB_IF_ROW2[src]

impl Default for MIB_IF_ROW2[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.