#[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: HANDLEhConnection: HANDLEdwConn_State: u32wszPortName: [u16; 17]wszMediaName: [u16; 17]wszDeviceName: [u16; 129]wszDeviceType: [u16; 17]dwHardwareCondition: RAS_HARDWARE_CONDITIONdwLineSpeed: u32dwCrcErr: u32dwSerialOverRunErrs: u32dwTimeoutErr: u32dwAlignmentErr: u32dwHardwareOverrunErr: u32dwFramingErr: u32dwBufferOverrunErr: u32dwCompressionRatioIn: u32dwCompressionRatioOut: u32dwTotalErrors: u32ullBytesXmited: u64ullBytesRcved: u64ullFramesXmited: u64ullFramesRcved: u64ullBytesTxUncompressed: u64ullBytesTxCompressed: u64ullBytesRcvUncompressed: u64ullBytesRcvCompressed: u64

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.