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
sourceimpl 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 !RefUnwindSafe for DescriptorControl
impl Send for DescriptorControl
impl Sync for DescriptorControl
impl Unpin for DescriptorControl
impl !UnwindSafe for DescriptorControl
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more