pub enum BluetoothEmulationEvents {
GattOperationReceived(GattOperationReceived),
CharacteristicOperationReceived(CharacteristicOperationReceived),
DescriptorOperationReceived(DescriptorOperationReceived),
}Variants§
GattOperationReceived(GattOperationReceived)
CharacteristicOperationReceived(CharacteristicOperationReceived)
DescriptorOperationReceived(DescriptorOperationReceived)
Implementations§
Source§impl BluetoothEmulationEvents
impl BluetoothEmulationEvents
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for BluetoothEmulationEvents
impl Clone for BluetoothEmulationEvents
Source§fn clone(&self) -> BluetoothEmulationEvents
fn clone(&self) -> BluetoothEmulationEvents
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BluetoothEmulationEvents
impl Debug for BluetoothEmulationEvents
Source§impl<'de> Deserialize<'de> for BluetoothEmulationEvents
impl<'de> Deserialize<'de> for BluetoothEmulationEvents
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
Source§impl From<BluetoothEmulationEvents> for BrowserProtocolEvents
impl From<BluetoothEmulationEvents> for BrowserProtocolEvents
Source§fn from(v: BluetoothEmulationEvents) -> Self
fn from(v: BluetoothEmulationEvents) -> Self
Converts to this type from the input type.
Source§impl From<BluetoothEmulationEvents> for Event
impl From<BluetoothEmulationEvents> for Event
Source§fn from(v: BluetoothEmulationEvents) -> Self
fn from(v: BluetoothEmulationEvents) -> Self
Converts to this type from the input type.
Source§impl From<CharacteristicOperationReceived> for BluetoothEmulationEvents
impl From<CharacteristicOperationReceived> for BluetoothEmulationEvents
Source§fn from(v: CharacteristicOperationReceived) -> Self
fn from(v: CharacteristicOperationReceived) -> Self
Converts to this type from the input type.
Source§impl From<DescriptorOperationReceived> for BluetoothEmulationEvents
impl From<DescriptorOperationReceived> for BluetoothEmulationEvents
Source§fn from(v: DescriptorOperationReceived) -> Self
fn from(v: DescriptorOperationReceived) -> Self
Converts to this type from the input type.
Source§impl From<GattOperationReceived> for BluetoothEmulationEvents
impl From<GattOperationReceived> for BluetoothEmulationEvents
Source§fn from(v: GattOperationReceived) -> Self
fn from(v: GattOperationReceived) -> Self
Converts to this type from the input type.
Source§impl PartialEq for BluetoothEmulationEvents
impl PartialEq for BluetoothEmulationEvents
Source§impl Serialize for BluetoothEmulationEvents
impl Serialize for BluetoothEmulationEvents
Source§impl TryFrom<BluetoothEmulationEvents> for CharacteristicOperationReceived
impl TryFrom<BluetoothEmulationEvents> for CharacteristicOperationReceived
Source§type Error = BluetoothEmulationEvents
type Error = BluetoothEmulationEvents
The type returned in the event of a conversion error.
Source§fn try_from(
e: BluetoothEmulationEvents,
) -> Result<Self, <CharacteristicOperationReceived as TryFrom<BluetoothEmulationEvents>>::Error>
fn try_from( e: BluetoothEmulationEvents, ) -> Result<Self, <CharacteristicOperationReceived as TryFrom<BluetoothEmulationEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<BluetoothEmulationEvents> for DescriptorOperationReceived
impl TryFrom<BluetoothEmulationEvents> for DescriptorOperationReceived
Source§type Error = BluetoothEmulationEvents
type Error = BluetoothEmulationEvents
The type returned in the event of a conversion error.
Source§fn try_from(
e: BluetoothEmulationEvents,
) -> Result<Self, <DescriptorOperationReceived as TryFrom<BluetoothEmulationEvents>>::Error>
fn try_from( e: BluetoothEmulationEvents, ) -> Result<Self, <DescriptorOperationReceived as TryFrom<BluetoothEmulationEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<BluetoothEmulationEvents> for GattOperationReceived
impl TryFrom<BluetoothEmulationEvents> for GattOperationReceived
Source§type Error = BluetoothEmulationEvents
type Error = BluetoothEmulationEvents
The type returned in the event of a conversion error.
Source§fn try_from(
e: BluetoothEmulationEvents,
) -> Result<Self, <GattOperationReceived as TryFrom<BluetoothEmulationEvents>>::Error>
fn try_from( e: BluetoothEmulationEvents, ) -> Result<Self, <GattOperationReceived as TryFrom<BluetoothEmulationEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<BrowserProtocolEvents> for BluetoothEmulationEvents
impl TryFrom<BrowserProtocolEvents> for BluetoothEmulationEvents
Source§type Error = BrowserProtocolEvents
type Error = BrowserProtocolEvents
The type returned in the event of a conversion error.
Source§fn try_from(
e: BrowserProtocolEvents,
) -> Result<Self, <BluetoothEmulationEvents as TryFrom<BrowserProtocolEvents>>::Error>
fn try_from( e: BrowserProtocolEvents, ) -> Result<Self, <BluetoothEmulationEvents as TryFrom<BrowserProtocolEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<Event> for BluetoothEmulationEvents
impl TryFrom<Event> for BluetoothEmulationEvents
impl StructuralPartialEq for BluetoothEmulationEvents
Auto Trait Implementations§
impl Freeze for BluetoothEmulationEvents
impl RefUnwindSafe for BluetoothEmulationEvents
impl Send for BluetoothEmulationEvents
impl Sync for BluetoothEmulationEvents
impl Unpin for BluetoothEmulationEvents
impl UnsafeUnpin for BluetoothEmulationEvents
impl UnwindSafe for BluetoothEmulationEvents
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