#[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,
}
Fields§
§Header: NDIS_OBJECT_HEADER
§PortNumber: u32
§Flags: u32
§Type: NDIS_PORT_TYPE
§MediaConnectState: NET_IF_MEDIA_CONNECT_STATE
§XmitLinkSpeed: u64
§RcvLinkSpeed: u64
§Direction: NET_IF_DIRECTION_TYPE
§SendControlState: NDIS_PORT_CONTROL_STATE
§RcvControlState: NDIS_PORT_CONTROL_STATE
§SendAuthorizationState: NDIS_PORT_AUTHORIZATION_STATE
§RcvAuthorizationState: NDIS_PORT_AUTHORIZATION_STATE
Trait Implementations§
§impl Clone for NDIS_PORT_CHARACTERISTICS
impl Clone for NDIS_PORT_CHARACTERISTICS
§fn clone(&self) -> NDIS_PORT_CHARACTERISTICS
fn clone(&self) -> NDIS_PORT_CHARACTERISTICS
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 NDIS_PORT_CHARACTERISTICS
Auto Trait Implementations§
impl Freeze for NDIS_PORT_CHARACTERISTICS
impl RefUnwindSafe for NDIS_PORT_CHARACTERISTICS
impl Send for NDIS_PORT_CHARACTERISTICS
impl Sync for NDIS_PORT_CHARACTERISTICS
impl Unpin for NDIS_PORT_CHARACTERISTICS
impl UnwindSafe for NDIS_PORT_CHARACTERISTICS
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
)