#[repr(transparent)]pub struct DevicePairingRequestedEventArgs(/* private fields */);Implementations§
§impl DevicePairingRequestedEventArgs
impl DevicePairingRequestedEventArgs
pub fn DeviceInformation(&self) -> Result<DeviceInformation, Error>
pub fn PairingKind(&self) -> Result<DevicePairingKinds, Error>
pub fn Pin(&self) -> Result<HSTRING, Error>
pub fn Accept(&self) -> Result<(), Error>
pub fn AcceptWithPin(&self, pin: &HSTRING) -> Result<(), Error>
pub fn GetDeferral(&self) -> Result<Deferral, Error>
pub fn GetDeferral(&self) -> Result<Deferral, Error>
Required features: "Foundation"
Trait Implementations§
§impl Clone for DevicePairingRequestedEventArgs
impl Clone for DevicePairingRequestedEventArgs
§fn clone(&self) -> DevicePairingRequestedEventArgs
fn clone(&self) -> DevicePairingRequestedEventArgs
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 DevicePairingRequestedEventArgs
impl ComInterface for DevicePairingRequestedEventArgs
§const IID: GUID = <IDevicePairingRequestedEventArgs as ::windows_core::ComInterface>::IID
const IID: GUID = <IDevicePairingRequestedEventArgs as ::windows_core::ComInterface>::IID
A unique identifier representing this interface.
fn as_unknown(&self) -> &IUnknown
§impl Debug for DevicePairingRequestedEventArgs
impl Debug for DevicePairingRequestedEventArgs
§impl Interface for DevicePairingRequestedEventArgs
impl Interface for DevicePairingRequestedEventArgs
type Vtable = IDevicePairingRequestedEventArgs_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<DevicePairingRequestedEventArgs> for DevicePairingRequestedEventArgs
impl PartialEq<DevicePairingRequestedEventArgs> for DevicePairingRequestedEventArgs
§fn eq(&self, other: &DevicePairingRequestedEventArgs) -> bool
fn eq(&self, other: &DevicePairingRequestedEventArgs) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for DevicePairingRequestedEventArgs
impl Send for DevicePairingRequestedEventArgs
impl Sync for DevicePairingRequestedEventArgs
Auto Trait Implementations§
impl RefUnwindSafe for DevicePairingRequestedEventArgs
impl Unpin for DevicePairingRequestedEventArgs
impl UnwindSafe for DevicePairingRequestedEventArgs
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