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,
}
Expand description
Required features: "Win32_NetworkManagement_Rras"
, "Win32_Foundation"
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
impl Copy for RAS_PORT_2
Auto Trait Implementations
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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