pub struct DescriptorRead {
pub read: bool,
pub encrypt_read: bool,
pub encrypt_authenticated_read: bool,
pub secure_read: bool,
pub fun: DescriptorReadFun,
/* private fields */
}
Available on crate feature
bluetoothd
only.Expand description
Characteristic descriptor read definition.
Fields
read: bool
If set allows clients to read this characteristic descriptor.
encrypt_read: bool
Require encryption.
encrypt_authenticated_read: bool
Require authentication.
secure_read: bool
Require security.
fun: DescriptorReadFun
Function called for each read request returning value.
Trait Implementations
sourceimpl Debug for DescriptorRead
impl Debug for DescriptorRead
Auto Trait Implementations
impl !RefUnwindSafe for DescriptorRead
impl Send for DescriptorRead
impl Sync for DescriptorRead
impl Unpin for DescriptorRead
impl !UnwindSafe for DescriptorRead
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