#[repr(C)]
pub struct PNRPINFO_V2 { pub dwSize: u32, pub lpwszIdentity: PWSTR, pub nMaxResolve: u32, pub dwTimeout: u32, pub dwLifetime: u32, pub enResolveCriteria: PNRP_RESOLVE_CRITERIA, pub dwFlags: u32, pub saHint: SOCKET_ADDRESS, pub enNameState: PNRP_REGISTERED_ID_STATE, pub enExtendedPayloadType: PNRP_EXTENDED_PAYLOAD_TYPE, pub Anonymous: PNRPINFO_V2_0, }
Expand description

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

Fields

dwSize: u32lpwszIdentity: PWSTRnMaxResolve: u32dwTimeout: u32dwLifetime: u32enResolveCriteria: PNRP_RESOLVE_CRITERIAdwFlags: u32saHint: SOCKET_ADDRESSenNameState: PNRP_REGISTERED_ID_STATEenExtendedPayloadType: PNRP_EXTENDED_PAYLOAD_TYPEAnonymous: PNRPINFO_V2_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.