#[repr(transparent)]pub struct DeviceInformationCustomPairing(/* private fields */);Implementations§
§impl DeviceInformationCustomPairing
impl DeviceInformationCustomPairing
pub fn PairAsync(
&self,
pairingkindssupported: DevicePairingKinds
) -> Result<IAsyncOperation<DevicePairingResult>, Error>
pub fn PairAsync( &self, pairingkindssupported: DevicePairingKinds ) -> Result<IAsyncOperation<DevicePairingResult>, Error>
Required features: "Foundation"
pub fn PairWithProtectionLevelAsync(
&self,
pairingkindssupported: DevicePairingKinds,
minprotectionlevel: DevicePairingProtectionLevel
) -> Result<IAsyncOperation<DevicePairingResult>, Error>
pub fn PairWithProtectionLevelAsync( &self, pairingkindssupported: DevicePairingKinds, minprotectionlevel: DevicePairingProtectionLevel ) -> Result<IAsyncOperation<DevicePairingResult>, Error>
Required features: "Foundation"
pub fn PairWithProtectionLevelAndSettingsAsync<P0>(
&self,
pairingkindssupported: DevicePairingKinds,
minprotectionlevel: DevicePairingProtectionLevel,
devicepairingsettings: P0
) -> Result<IAsyncOperation<DevicePairingResult>, Error>where
P0: TryIntoParam<IDevicePairingSettings>,
pub fn PairWithProtectionLevelAndSettingsAsync<P0>( &self, pairingkindssupported: DevicePairingKinds, minprotectionlevel: DevicePairingProtectionLevel, devicepairingsettings: P0 ) -> Result<IAsyncOperation<DevicePairingResult>, Error>where P0: TryIntoParam<IDevicePairingSettings>,
Required features: "Foundation"
pub fn PairingRequested<P0>(
&self,
handler: P0
) -> Result<EventRegistrationToken, Error>where
P0: IntoParam<TypedEventHandler<DeviceInformationCustomPairing, DevicePairingRequestedEventArgs>, <TypedEventHandler<DeviceInformationCustomPairing, DevicePairingRequestedEventArgs> as TypeKind>::TypeKind>,
pub fn PairingRequested<P0>( &self, handler: P0 ) -> Result<EventRegistrationToken, Error>where P0: IntoParam<TypedEventHandler<DeviceInformationCustomPairing, DevicePairingRequestedEventArgs>, <TypedEventHandler<DeviceInformationCustomPairing, DevicePairingRequestedEventArgs> as TypeKind>::TypeKind>,
Required features: "Foundation"
pub fn RemovePairingRequested(
&self,
token: EventRegistrationToken
) -> Result<(), Error>
pub fn RemovePairingRequested( &self, token: EventRegistrationToken ) -> Result<(), Error>
Required features: "Foundation"
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 ComInterface for DeviceInformationCustomPairing
impl ComInterface for DeviceInformationCustomPairing
§const IID: GUID = <IDeviceInformationCustomPairing as ::windows_core::ComInterface>::IID
const IID: GUID = <IDeviceInformationCustomPairing as ::windows_core::ComInterface>::IID
A unique identifier representing this interface.
fn as_unknown(&self) -> &IUnknown
§impl Debug for DeviceInformationCustomPairing
impl Debug for DeviceInformationCustomPairing
§impl Interface for DeviceInformationCustomPairing
impl Interface for DeviceInformationCustomPairing
type Vtable = IDeviceInformationCustomPairing_Vtbl
§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.
§impl PartialEq<DeviceInformationCustomPairing> for DeviceInformationCustomPairing
impl PartialEq<DeviceInformationCustomPairing> 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 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