#[repr(C)]
pub struct RAS_CONNECTION_EX {
Show 29 fields pub Header: MPRAPI_OBJECT_HEADER, pub dwConnectDuration: u32, pub dwInterfaceType: ROUTER_INTERFACE_TYPE, pub dwConnectionFlags: RAS_FLAGS, pub wszInterfaceName: [u16; 257], pub wszUserName: [u16; 257], pub wszLogonDomain: [u16; 16], pub wszRemoteComputer: [u16; 17], pub guid: GUID, pub rasQuarState: RAS_QUARANTINE_STATE, pub probationTime: FILETIME, pub dwBytesXmited: u32, pub dwBytesRcved: u32, pub dwFramesXmited: u32, pub dwFramesRcved: u32, pub dwCrcErr: u32, pub dwTimeoutErr: u32, pub dwAlignmentErr: u32, pub dwHardwareOverrunErr: u32, pub dwFramingErr: u32, pub dwBufferOverrunErr: u32, pub dwCompressionRatioIn: u32, pub dwCompressionRatioOut: u32, pub dwNumSwitchOvers: u32, pub wszRemoteEndpointAddress: [u16; 65], pub wszLocalEndpointAddress: [u16; 65], pub ProjectionInfo: PROJECTION_INFO, pub hConnection: HANDLE, pub hInterface: HANDLE,
}
Expand description

Required features: "Win32_Foundation"

Fields§

§Header: MPRAPI_OBJECT_HEADER§dwConnectDuration: u32§dwInterfaceType: ROUTER_INTERFACE_TYPE§dwConnectionFlags: RAS_FLAGS§wszInterfaceName: [u16; 257]§wszUserName: [u16; 257]§wszLogonDomain: [u16; 16]§wszRemoteComputer: [u16; 17]§guid: GUID§rasQuarState: RAS_QUARANTINE_STATE§probationTime: FILETIME§dwBytesXmited: u32§dwBytesRcved: u32§dwFramesXmited: u32§dwFramesRcved: u32§dwCrcErr: u32§dwTimeoutErr: u32§dwAlignmentErr: u32§dwHardwareOverrunErr: u32§dwFramingErr: u32§dwBufferOverrunErr: u32§dwCompressionRatioIn: u32§dwCompressionRatioOut: u32§dwNumSwitchOvers: u32§wszRemoteEndpointAddress: [u16; 65]§wszLocalEndpointAddress: [u16; 65]§ProjectionInfo: PROJECTION_INFO§hConnection: HANDLE§hInterface: HANDLE

Trait Implementations§

§

impl Clone for RAS_CONNECTION_EX

§

fn clone(&self) -> Self

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Copy for RAS_CONNECTION_EX

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

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

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.