#[repr(C)]
pub struct DRT_EVENT_DATA { pub type: DRT_EVENT_TYPE, pub hr: HRESULT, pub pvContext: *mut c_void, pub Anonymous: DRT_EVENT_DATA_0, }
Expand description

Required features: "Win32_NetworkManagement_P2P", "Win32_Foundation", "Win32_Networking_WinSock"

Fields

type: DRT_EVENT_TYPEhr: HRESULTpvContext: *mut c_voidAnonymous: DRT_EVENT_DATA_0

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.