Struct bluer::gatt::local::DescriptorControl
source · pub struct DescriptorControl { /* private fields */ }
Available on crate feature
bluetoothd
only.Expand description
An object to control a characteristic descriptor once it has been registered.
Use descriptor_control to obtain controller and associated handle.
Implementations§
source§impl DescriptorControl
impl DescriptorControl
sourcepub fn handle(&self) -> Result<NonZeroU16>
pub fn handle(&self) -> Result<NonZeroU16>
Gets the assigned handle of the characteristic descriptor.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DescriptorControl
impl !RefUnwindSafe for DescriptorControl
impl Send for DescriptorControl
impl Sync for DescriptorControl
impl Unpin for DescriptorControl
impl !UnwindSafe for DescriptorControl
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