Enum bluer::gatt::local::CharacteristicNotifyMethod
source · pub enum CharacteristicNotifyMethod {
Fun(CharacteristicNotifyFun),
Io,
}
Available on crate feature
bluetoothd
only.Expand description
Characteristic notify value method.
Variants§
Fun(CharacteristicNotifyFun)
Call specified function when client starts a notification session.
Io
Write notify data over asynchronous IO. This has low overhead.
Use CharacteristicControl to obtain writer.
Trait Implementations§
source§impl Debug for CharacteristicNotifyMethod
impl Debug for CharacteristicNotifyMethod
Auto Trait Implementations§
impl Freeze for CharacteristicNotifyMethod
impl !RefUnwindSafe for CharacteristicNotifyMethod
impl Send for CharacteristicNotifyMethod
impl Sync for CharacteristicNotifyMethod
impl Unpin for CharacteristicNotifyMethod
impl !UnwindSafe for CharacteristicNotifyMethod
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