pub struct GattWriteRequestedEventArgs(/* private fields */);
Implementations§
§impl GattWriteRequestedEventArgs
impl GattWriteRequestedEventArgs
pub fn Session(&self) -> Result<GattSession>
pub fn GetDeferral(&self) -> Result<Deferral>
pub fn GetRequestAsync(&self) -> Result<IAsyncOperation<GattWriteRequest>>
Trait Implementations§
§impl Clone for GattWriteRequestedEventArgs
impl Clone for GattWriteRequestedEventArgs
§fn clone(&self) -> GattWriteRequestedEventArgs
fn clone(&self) -> GattWriteRequestedEventArgs
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 GattWriteRequestedEventArgs
impl Debug for GattWriteRequestedEventArgs
§impl From<&GattWriteRequestedEventArgs> for &IInspectable
impl From<&GattWriteRequestedEventArgs> for &IInspectable
§fn from(value: &GattWriteRequestedEventArgs) -> Self
fn from(value: &GattWriteRequestedEventArgs) -> Self
Converts to this type from the input type.
§impl From<&GattWriteRequestedEventArgs> for &IUnknown
impl From<&GattWriteRequestedEventArgs> for &IUnknown
§fn from(value: &GattWriteRequestedEventArgs) -> Self
fn from(value: &GattWriteRequestedEventArgs) -> Self
Converts to this type from the input type.
§impl From<GattWriteRequestedEventArgs> for IInspectable
impl From<GattWriteRequestedEventArgs> for IInspectable
§fn from(value: GattWriteRequestedEventArgs) -> Self
fn from(value: GattWriteRequestedEventArgs) -> Self
Converts to this type from the input type.
§impl From<GattWriteRequestedEventArgs> for IUnknown
impl From<GattWriteRequestedEventArgs> for IUnknown
§fn from(value: GattWriteRequestedEventArgs) -> Self
fn from(value: GattWriteRequestedEventArgs) -> Self
Converts to this type from the input type.
§impl Interface for GattWriteRequestedEventArgs
impl Interface for GattWriteRequestedEventArgs
§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 GattWriteRequestedEventArgs
impl PartialEq for GattWriteRequestedEventArgs
§fn eq(&self, other: &GattWriteRequestedEventArgs) -> bool
fn eq(&self, other: &GattWriteRequestedEventArgs) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for GattWriteRequestedEventArgs
impl Send for GattWriteRequestedEventArgs
impl StructuralPartialEq for GattWriteRequestedEventArgs
impl Sync for GattWriteRequestedEventArgs
Auto Trait Implementations§
impl RefUnwindSafe for GattWriteRequestedEventArgs
impl Unpin for GattWriteRequestedEventArgs
impl UnwindSafe for GattWriteRequestedEventArgs
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