Struct windows_sys::Win32::NetworkManagement::P2P::DRT_SETTINGS
#[repr(C)]pub struct DRT_SETTINGS {
pub dwSize: u32,
pub cbKey: u32,
pub bProtocolMajorVersion: u8,
pub bProtocolMinorVersion: u8,
pub ulMaxRoutingAddresses: u32,
pub pwzDrtInstancePrefix: PWSTR,
pub hTransport: *mut c_void,
pub pSecurityProvider: *mut DRT_SECURITY_PROVIDER,
pub pBootstrapProvider: *mut DRT_BOOTSTRAP_PROVIDER,
pub eSecurityMode: DRT_SECURITY_MODE,
}
Fields§
§dwSize: u32
§cbKey: u32
§bProtocolMajorVersion: u8
§bProtocolMinorVersion: u8
§ulMaxRoutingAddresses: u32
§pwzDrtInstancePrefix: PWSTR
§hTransport: *mut c_void
§pSecurityProvider: *mut DRT_SECURITY_PROVIDER
§pBootstrapProvider: *mut DRT_BOOTSTRAP_PROVIDER
§eSecurityMode: DRT_SECURITY_MODE
Trait Implementations§
§impl Clone for DRT_SETTINGS
impl Clone for DRT_SETTINGS
§fn clone(&self) -> DRT_SETTINGS
fn clone(&self) -> DRT_SETTINGS
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy for DRT_SETTINGS
Auto Trait Implementations§
impl Freeze for DRT_SETTINGS
impl RefUnwindSafe for DRT_SETTINGS
impl !Send for DRT_SETTINGS
impl !Sync for DRT_SETTINGS
impl Unpin for DRT_SETTINGS
impl UnwindSafe for DRT_SETTINGS
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)