pub enum GattOperationType {
Connection,
Discovery,
Unrecognized(String),
}Expand description
Indicates the various types of GATT event.
Variants§
Connection
connection
Discovery
discovery
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 GattOperationType
impl Clone for GattOperationType
Source§impl Debug for GattOperationType
impl Debug for GattOperationType
Source§impl<'de> Deserialize<'de> for GattOperationType
impl<'de> Deserialize<'de> for GattOperationType
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 GattOperationType
Source§impl Hash for GattOperationType
impl Hash for GattOperationType
Source§impl PartialEq for GattOperationType
impl PartialEq for GattOperationType
Source§impl Serialize for GattOperationType
impl Serialize for GattOperationType
impl StructuralPartialEq for GattOperationType
Auto Trait Implementations§
impl Forget for GattOperationType
impl Freeze for GattOperationType
impl RefUnwindSafe for GattOperationType
impl Send for GattOperationType
impl Sync for GattOperationType
impl Unpin for GattOperationType
impl UnsafeUnpin for GattOperationType
impl UnwindSafe for GattOperationType
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