pub struct GattLocalDescriptorParameters(/* private fields */);
Implementations§
§impl GattLocalDescriptorParameters
impl GattLocalDescriptorParameters
pub fn new() -> Result<Self>
pub fn SetStaticValue<P0>(&self, value: P0) -> Result<()>where
P0: IntoParam<IBuffer>,
pub fn StaticValue(&self) -> Result<IBuffer>
pub fn SetReadProtectionLevel(&self, value: GattProtectionLevel) -> Result<()>
pub fn ReadProtectionLevel(&self) -> Result<GattProtectionLevel>
pub fn SetWriteProtectionLevel(&self, value: GattProtectionLevel) -> Result<()>
pub fn WriteProtectionLevel(&self) -> Result<GattProtectionLevel>
Trait Implementations§
§impl Clone for GattLocalDescriptorParameters
impl Clone for GattLocalDescriptorParameters
§fn clone(&self) -> GattLocalDescriptorParameters
fn clone(&self) -> GattLocalDescriptorParameters
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 GattLocalDescriptorParameters
impl Debug for GattLocalDescriptorParameters
§impl From<&GattLocalDescriptorParameters> for &IInspectable
impl From<&GattLocalDescriptorParameters> for &IInspectable
§fn from(value: &GattLocalDescriptorParameters) -> Self
fn from(value: &GattLocalDescriptorParameters) -> Self
Converts to this type from the input type.
§impl From<&GattLocalDescriptorParameters> for &IUnknown
impl From<&GattLocalDescriptorParameters> for &IUnknown
§fn from(value: &GattLocalDescriptorParameters) -> Self
fn from(value: &GattLocalDescriptorParameters) -> Self
Converts to this type from the input type.
§impl From<GattLocalDescriptorParameters> for IInspectable
impl From<GattLocalDescriptorParameters> for IInspectable
§fn from(value: GattLocalDescriptorParameters) -> Self
fn from(value: GattLocalDescriptorParameters) -> Self
Converts to this type from the input type.
§impl From<GattLocalDescriptorParameters> for IUnknown
impl From<GattLocalDescriptorParameters> for IUnknown
§fn from(value: GattLocalDescriptorParameters) -> Self
fn from(value: GattLocalDescriptorParameters) -> Self
Converts to this type from the input type.
§impl Interface for GattLocalDescriptorParameters
impl Interface for GattLocalDescriptorParameters
§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 GattLocalDescriptorParameters
impl PartialEq for GattLocalDescriptorParameters
§fn eq(&self, other: &GattLocalDescriptorParameters) -> bool
fn eq(&self, other: &GattLocalDescriptorParameters) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for GattLocalDescriptorParameters
impl Send for GattLocalDescriptorParameters
impl StructuralPartialEq for GattLocalDescriptorParameters
impl Sync for GattLocalDescriptorParameters
Auto Trait Implementations§
impl RefUnwindSafe for GattLocalDescriptorParameters
impl Unpin for GattLocalDescriptorParameters
impl UnwindSafe for GattLocalDescriptorParameters
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