#[repr(C)]
pub struct NDIS_PORT_CHARACTERISTICS { pub Header: NDIS_OBJECT_HEADER, pub PortNumber: u32, pub Flags: u32, pub Type: NDIS_PORT_TYPE, pub MediaConnectState: NET_IF_MEDIA_CONNECT_STATE, pub XmitLinkSpeed: u64, pub RcvLinkSpeed: u64, pub Direction: NET_IF_DIRECTION_TYPE, pub SendControlState: NDIS_PORT_CONTROL_STATE, pub RcvControlState: NDIS_PORT_CONTROL_STATE, pub SendAuthorizationState: NDIS_PORT_AUTHORIZATION_STATE, pub RcvAuthorizationState: NDIS_PORT_AUTHORIZATION_STATE, }
Expand description

Required features: "Win32_NetworkManagement_Ndis", "Win32_NetworkManagement_IpHelper"

Fields

Header: NDIS_OBJECT_HEADERPortNumber: u32Flags: u32Type: NDIS_PORT_TYPEMediaConnectState: NET_IF_MEDIA_CONNECT_STATEXmitLinkSpeed: u64RcvLinkSpeed: u64Direction: NET_IF_DIRECTION_TYPESendControlState: NDIS_PORT_CONTROL_STATERcvControlState: NDIS_PORT_CONTROL_STATESendAuthorizationState: NDIS_PORT_AUTHORIZATION_STATERcvAuthorizationState: NDIS_PORT_AUTHORIZATION_STATE

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.