pub struct DeviceInformationCustomPairing(/* private fields */);
Implementations§
§impl DeviceInformationCustomPairing
impl DeviceInformationCustomPairing
pub fn PairAsync( &self, pairingkindssupported: DevicePairingKinds ) -> Result<IAsyncOperation<DevicePairingResult>>
pub fn PairWithProtectionLevelAsync( &self, pairingkindssupported: DevicePairingKinds, minprotectionlevel: DevicePairingProtectionLevel ) -> Result<IAsyncOperation<DevicePairingResult>>
pub fn PairWithProtectionLevelAndSettingsAsync<P0>(
&self,
pairingkindssupported: DevicePairingKinds,
minprotectionlevel: DevicePairingProtectionLevel,
devicepairingsettings: P0
) -> Result<IAsyncOperation<DevicePairingResult>>where
P0: IntoParam<IDevicePairingSettings>,
pub fn PairingRequested<P0>(
&self,
handler: P0
) -> Result<EventRegistrationToken>where
P0: IntoParam<TypedEventHandler<DeviceInformationCustomPairing, DevicePairingRequestedEventArgs>>,
pub fn RemovePairingRequested( &self, token: EventRegistrationToken ) -> Result<()>
Trait Implementations§
§impl Clone for DeviceInformationCustomPairing
impl Clone for DeviceInformationCustomPairing
§fn clone(&self) -> DeviceInformationCustomPairing
fn clone(&self) -> DeviceInformationCustomPairing
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 more§impl Debug for DeviceInformationCustomPairing
impl Debug for DeviceInformationCustomPairing
§impl From<&DeviceInformationCustomPairing> for &IInspectable
impl From<&DeviceInformationCustomPairing> for &IInspectable
§fn from(value: &DeviceInformationCustomPairing) -> Self
fn from(value: &DeviceInformationCustomPairing) -> Self
Converts to this type from the input type.
§impl From<&DeviceInformationCustomPairing> for &IUnknown
impl From<&DeviceInformationCustomPairing> for &IUnknown
§fn from(value: &DeviceInformationCustomPairing) -> Self
fn from(value: &DeviceInformationCustomPairing) -> Self
Converts to this type from the input type.
§impl From<DeviceInformationCustomPairing> for IInspectable
impl From<DeviceInformationCustomPairing> for IInspectable
§fn from(value: DeviceInformationCustomPairing) -> Self
fn from(value: DeviceInformationCustomPairing) -> Self
Converts to this type from the input type.
§impl From<DeviceInformationCustomPairing> for IUnknown
impl From<DeviceInformationCustomPairing> for IUnknown
§fn from(value: DeviceInformationCustomPairing) -> Self
fn from(value: DeviceInformationCustomPairing) -> Self
Converts to this type from the input type.
§impl Interface for DeviceInformationCustomPairing
impl Interface for DeviceInformationCustomPairing
§fn as_raw(&self) -> *mut c_void
fn as_raw(&self) -> *mut c_void
Returns the raw COM interface pointer. The resulting pointer continues to be owned by the
Interface
implementation.§fn into_raw(self) -> *mut c_void
fn into_raw(self) -> *mut c_void
Returns the raw COM interface pointer and releases ownership. It the caller’s responsibility to release the COM interface pointer.
§fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
Attempts to cast the current interface to another interface using
QueryInterface
. Read more§impl PartialEq for DeviceInformationCustomPairing
impl PartialEq for DeviceInformationCustomPairing
§fn eq(&self, other: &DeviceInformationCustomPairing) -> bool
fn eq(&self, other: &DeviceInformationCustomPairing) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for DeviceInformationCustomPairing
impl Send for DeviceInformationCustomPairing
impl StructuralPartialEq for DeviceInformationCustomPairing
impl Sync for DeviceInformationCustomPairing
Auto Trait Implementations§
impl RefUnwindSafe for DeviceInformationCustomPairing
impl Unpin for DeviceInformationCustomPairing
impl UnwindSafe for DeviceInformationCustomPairing
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