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