pub enum DeviceAccessEvents {
DeviceRequestPrompted(DeviceRequestPrompted),
}Variants§
DeviceRequestPrompted(DeviceRequestPrompted)
Implementations§
Source§impl DeviceAccessEvents
impl DeviceAccessEvents
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for DeviceAccessEvents
impl Clone for DeviceAccessEvents
Source§fn clone(&self) -> DeviceAccessEvents
fn clone(&self) -> DeviceAccessEvents
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 DeviceAccessEvents
impl Debug for DeviceAccessEvents
Source§impl<'de> Deserialize<'de> for DeviceAccessEvents
impl<'de> Deserialize<'de> for DeviceAccessEvents
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<DeviceAccessEvents> for BrowserProtocolEvents
impl From<DeviceAccessEvents> for BrowserProtocolEvents
Source§fn from(v: DeviceAccessEvents) -> Self
fn from(v: DeviceAccessEvents) -> Self
Converts to this type from the input type.
Source§impl From<DeviceAccessEvents> for Event
impl From<DeviceAccessEvents> for Event
Source§fn from(v: DeviceAccessEvents) -> Self
fn from(v: DeviceAccessEvents) -> Self
Converts to this type from the input type.
Source§impl From<DeviceRequestPrompted> for DeviceAccessEvents
impl From<DeviceRequestPrompted> for DeviceAccessEvents
Source§fn from(v: DeviceRequestPrompted) -> Self
fn from(v: DeviceRequestPrompted) -> Self
Converts to this type from the input type.
Source§impl PartialEq for DeviceAccessEvents
impl PartialEq for DeviceAccessEvents
Source§impl Serialize for DeviceAccessEvents
impl Serialize for DeviceAccessEvents
Source§impl TryFrom<BrowserProtocolEvents> for DeviceAccessEvents
impl TryFrom<BrowserProtocolEvents> for DeviceAccessEvents
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, <DeviceAccessEvents as TryFrom<BrowserProtocolEvents>>::Error>
fn try_from( e: BrowserProtocolEvents, ) -> Result<Self, <DeviceAccessEvents as TryFrom<BrowserProtocolEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<DeviceAccessEvents> for DeviceRequestPrompted
impl TryFrom<DeviceAccessEvents> for DeviceRequestPrompted
Source§type Error = DeviceAccessEvents
type Error = DeviceAccessEvents
The type returned in the event of a conversion error.
Source§fn try_from(
e: DeviceAccessEvents,
) -> Result<Self, <DeviceRequestPrompted as TryFrom<DeviceAccessEvents>>::Error>
fn try_from( e: DeviceAccessEvents, ) -> Result<Self, <DeviceRequestPrompted as TryFrom<DeviceAccessEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<Event> for DeviceAccessEvents
impl TryFrom<Event> for DeviceAccessEvents
impl StructuralPartialEq for DeviceAccessEvents
Auto Trait Implementations§
impl Freeze for DeviceAccessEvents
impl RefUnwindSafe for DeviceAccessEvents
impl Send for DeviceAccessEvents
impl Sync for DeviceAccessEvents
impl Unpin for DeviceAccessEvents
impl UnsafeUnpin for DeviceAccessEvents
impl UnwindSafe for DeviceAccessEvents
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