pub enum WriteKind {
WithResponse,
WithoutResponse,
}Expand description
Selects the GATT write operation required by a Command.
Variants§
WithResponse
Requests a GATT-level response from the peripheral.
WithoutResponse
Submits the value without requesting a GATT-level response.
Trait Implementations§
impl Copy for WriteKind
impl Eq for WriteKind
impl StructuralPartialEq for WriteKind
Auto Trait Implementations§
impl Freeze for WriteKind
impl RefUnwindSafe for WriteKind
impl Send for WriteKind
impl Sync for WriteKind
impl Unpin for WriteKind
impl UnsafeUnpin for WriteKind
impl UnwindSafe for WriteKind
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