Struct windows::Wdk::NetworkManagement::Ndis::NDIS_LINK_STATE
#[repr(C)]pub struct NDIS_LINK_STATE {
pub Header: NDIS_OBJECT_HEADER,
pub MediaConnectState: NET_IF_MEDIA_CONNECT_STATE,
pub MediaDuplexState: NET_IF_MEDIA_DUPLEX_STATE,
pub XmitLinkSpeed: u64,
pub RcvLinkSpeed: u64,
pub PauseFunctions: NDIS_SUPPORTED_PAUSE_FUNCTIONS,
pub AutoNegotiationFlags: u32,
}
Fields§
§Header: NDIS_OBJECT_HEADER
§MediaConnectState: NET_IF_MEDIA_CONNECT_STATE
§MediaDuplexState: NET_IF_MEDIA_DUPLEX_STATE
§XmitLinkSpeed: u64
§RcvLinkSpeed: u64
§PauseFunctions: NDIS_SUPPORTED_PAUSE_FUNCTIONS
§AutoNegotiationFlags: u32
Trait Implementations§
§impl Clone for NDIS_LINK_STATE
impl Clone for NDIS_LINK_STATE
§fn clone(&self) -> NDIS_LINK_STATE
fn clone(&self) -> NDIS_LINK_STATE
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 more§impl Debug for NDIS_LINK_STATE
impl Debug for NDIS_LINK_STATE
§impl Default for NDIS_LINK_STATE
impl Default for NDIS_LINK_STATE
§impl PartialEq for NDIS_LINK_STATE
impl PartialEq for NDIS_LINK_STATE
§fn eq(&self, other: &NDIS_LINK_STATE) -> bool
fn eq(&self, other: &NDIS_LINK_STATE) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for NDIS_LINK_STATE
impl Eq for NDIS_LINK_STATE
impl StructuralPartialEq for NDIS_LINK_STATE
Auto Trait Implementations§
impl Freeze for NDIS_LINK_STATE
impl RefUnwindSafe for NDIS_LINK_STATE
impl Send for NDIS_LINK_STATE
impl Sync for NDIS_LINK_STATE
impl Unpin for NDIS_LINK_STATE
impl UnwindSafe for NDIS_LINK_STATE
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
)