Struct bluer::gatt::local::DescriptorRead
source · 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§
source§impl Debug for DescriptorRead
impl Debug for DescriptorRead
Auto Trait Implementations§
impl Freeze for DescriptorRead
impl !RefUnwindSafe for DescriptorRead
impl Send for DescriptorRead
impl Sync for DescriptorRead
impl Unpin for DescriptorRead
impl !UnwindSafe for DescriptorRead
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