Struct windows_sys::Win32::NetworkManagement::Rras::RAS_PORT_2
#[repr(C)]pub struct RAS_PORT_2 {Show 27 fields
pub hPort: HANDLE,
pub hConnection: HANDLE,
pub dwConn_State: u32,
pub wszPortName: [u16; 17],
pub wszMediaName: [u16; 17],
pub wszDeviceName: [u16; 129],
pub wszDeviceType: [u16; 17],
pub dwHardwareCondition: RAS_HARDWARE_CONDITION,
pub dwLineSpeed: u32,
pub dwCrcErr: u32,
pub dwSerialOverRunErrs: u32,
pub dwTimeoutErr: u32,
pub dwAlignmentErr: u32,
pub dwHardwareOverrunErr: u32,
pub dwFramingErr: u32,
pub dwBufferOverrunErr: u32,
pub dwCompressionRatioIn: u32,
pub dwCompressionRatioOut: u32,
pub dwTotalErrors: u32,
pub ullBytesXmited: u64,
pub ullBytesRcved: u64,
pub ullFramesXmited: u64,
pub ullFramesRcved: u64,
pub ullBytesTxUncompressed: u64,
pub ullBytesTxCompressed: u64,
pub ullBytesRcvUncompressed: u64,
pub ullBytesRcvCompressed: u64,
}
Fields§
§hPort: HANDLE
§hConnection: HANDLE
§dwConn_State: u32
§wszPortName: [u16; 17]
§wszMediaName: [u16; 17]
§wszDeviceName: [u16; 129]
§wszDeviceType: [u16; 17]
§dwHardwareCondition: RAS_HARDWARE_CONDITION
§dwLineSpeed: u32
§dwCrcErr: u32
§dwSerialOverRunErrs: u32
§dwTimeoutErr: u32
§dwAlignmentErr: u32
§dwHardwareOverrunErr: u32
§dwFramingErr: u32
§dwBufferOverrunErr: u32
§dwCompressionRatioIn: u32
§dwCompressionRatioOut: u32
§dwTotalErrors: u32
§ullBytesXmited: u64
§ullBytesRcved: u64
§ullFramesXmited: u64
§ullFramesRcved: u64
§ullBytesTxUncompressed: u64
§ullBytesTxCompressed: u64
§ullBytesRcvUncompressed: u64
§ullBytesRcvCompressed: u64
Trait Implementations§
§impl Clone for RAS_PORT_2
impl Clone for RAS_PORT_2
§fn clone(&self) -> RAS_PORT_2
fn clone(&self) -> RAS_PORT_2
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 RAS_PORT_2
Auto Trait Implementations§
impl Freeze for RAS_PORT_2
impl RefUnwindSafe for RAS_PORT_2
impl !Send for RAS_PORT_2
impl !Sync for RAS_PORT_2
impl Unpin for RAS_PORT_2
impl UnwindSafe for RAS_PORT_2
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
)