Enum bluer::gatt::local::CharacteristicControlEvent
source · pub enum CharacteristicControlEvent {
Write(CharacteristicWriteIoRequest),
Notify(CharacteristicWriter),
}
Available on crate feature
bluetoothd
only.Expand description
An event on a published characteristic.
Variants§
Write(CharacteristicWriteIoRequest)
A remote request to start writing via IO.
This event occurs only when using CharacteristicWriteMethod::Io.
Notify(CharacteristicWriter)
A remote request to start notifying via IO.
Note that BlueZ acknowledges the client’s request before notifying us of the start of the notification session.
This event occurs only when using CharacteristicNotifyMethod::Io.
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for CharacteristicControlEvent
impl !RefUnwindSafe for CharacteristicControlEvent
impl Send for CharacteristicControlEvent
impl Sync for CharacteristicControlEvent
impl Unpin for CharacteristicControlEvent
impl !UnwindSafe for CharacteristicControlEvent
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