Struct windows_sys::Win32::NetworkManagement::Ndis::NDIS_PORT_STATE
[−]#[repr(C)]pub struct NDIS_PORT_STATE {
pub Header: NDIS_OBJECT_HEADER,
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,
pub Flags: u32,
}Expand description
Required features: "Win32_NetworkManagement_Ndis", "Win32_NetworkManagement_IpHelper"
Fields
Header: NDIS_OBJECT_HEADERMediaConnectState: 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_STATEFlags: u32Trait Implementations
impl Clone for NDIS_PORT_STATE
impl Clone for NDIS_PORT_STATE
impl Copy for NDIS_PORT_STATE
Auto Trait Implementations
impl RefUnwindSafe for NDIS_PORT_STATE
impl Send for NDIS_PORT_STATE
impl Sync for NDIS_PORT_STATE
impl Unpin for NDIS_PORT_STATE
impl UnwindSafe for NDIS_PORT_STATE
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more