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