Enum bluez_async::WriteType
source · [−]pub enum WriteType {
WithResponse,
WithoutResponse,
Reliable,
}
Expand description
The type of write operation to use.
Variants
WithResponse
A write operation where the device is expected to respond with a confirmation or error. Also
known as a request. This corresponds to
CharacteristicFlags
::WRITE
.
WithoutResponse
A write-without-response, also known as a command. This corresponds to
CharacteristicFlags
::WRITE_WITHOUT_RESPONSE
.
Reliable
A reliable write. This corresponds to
CharacteristicFlags
::RELIABLE_WRITE
.
Trait Implementations
impl Copy for WriteType
impl Eq for WriteType
impl StructuralEq for WriteType
impl StructuralPartialEq for WriteType
Auto Trait Implementations
impl RefUnwindSafe for WriteType
impl Send for WriteType
impl Sync for WriteType
impl Unpin for WriteType
impl UnwindSafe for WriteType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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