pub enum CharacteristicWriteMethod {
Fun(CharacteristicWriteFun),
Io,
}
Available on crate feature
bluetoothd
only.Expand description
Characteristic write value method.
Variants
Fun(CharacteristicWriteFun)
Call specified function for each write request.
Io
Provide written data over asynchronous IO functions. This has low overhead.
Use CharacteristicControl to obtain reader.
Trait Implementations
sourceimpl Debug for CharacteristicWriteMethod
impl Debug for CharacteristicWriteMethod
Auto Trait Implementations
impl !RefUnwindSafe for CharacteristicWriteMethod
impl Send for CharacteristicWriteMethod
impl Sync for CharacteristicWriteMethod
impl Unpin for CharacteristicWriteMethod
impl !UnwindSafe for CharacteristicWriteMethod
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