pub enum CharacteristicOperationType {
Read,
Write,
SubscribeToNotifications,
UnsubscribeFromNotifications,
Unrecognized(String),
}Expand description
Indicates the various types of characteristic operation.
Variants§
Read
read
Write
write
SubscribeToNotifications
subscribe-to-notifications
UnsubscribeFromNotifications
unsubscribe-from-notifications
Unrecognized(String)
A value this vendored schema does not list. Chrome adds values ahead of the published protocol, so an unrecognised one is kept as it arrived rather than failing the payload it came in.
Trait Implementations§
Source§impl Clone for CharacteristicOperationType
impl Clone for CharacteristicOperationType
Source§impl Debug for CharacteristicOperationType
impl Debug for CharacteristicOperationType
Source§impl<'de> Deserialize<'de> for CharacteristicOperationType
impl<'de> Deserialize<'de> for CharacteristicOperationType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for CharacteristicOperationType
Source§impl Hash for CharacteristicOperationType
impl Hash for CharacteristicOperationType
impl StructuralPartialEq for CharacteristicOperationType
Auto Trait Implementations§
impl Forget for CharacteristicOperationType
impl Freeze for CharacteristicOperationType
impl RefUnwindSafe for CharacteristicOperationType
impl Send for CharacteristicOperationType
impl Sync for CharacteristicOperationType
impl Unpin for CharacteristicOperationType
impl UnsafeUnpin for CharacteristicOperationType
impl UnwindSafe for CharacteristicOperationType
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