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