Enum hw_info::HardwareInfo
source · pub(crate) enum HardwareInfo {
DeviceInfo,
ProductInfo,
BoardInfo,
}
Variants§
Trait Implementations§
source§impl Clone for HardwareInfo
impl Clone for HardwareInfo
source§fn clone(&self) -> HardwareInfo
fn clone(&self) -> HardwareInfo
Returns a copy 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 HardwareInfo
impl Debug for HardwareInfo
source§impl FromStr for HardwareInfo
impl FromStr for HardwareInfo
source§impl PartialEq<HardwareInfo> for HardwareInfo
impl PartialEq<HardwareInfo> for HardwareInfo
source§fn eq(&self, other: &HardwareInfo) -> bool
fn eq(&self, other: &HardwareInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for HardwareInfo
impl StructuralPartialEq for HardwareInfo
Auto Trait Implementations§
impl RefUnwindSafe for HardwareInfo
impl Send for HardwareInfo
impl Sync for HardwareInfo
impl Unpin for HardwareInfo
impl UnwindSafe for HardwareInfo
Blanket Implementations§
§impl<T> Encode<Ambiguous1> for T
impl<T> Encode<Ambiguous1> for T
§impl<T> Encode<Ambiguous2> for T
impl<T> Encode<Ambiguous2> for T
§impl<T> FromArgValue for Twhere
T: FromStr,
<T as FromStr>::Err: Display,
impl<T> FromArgValue for Twhere T: FromStr, <T as FromStr>::Err: Display,
§fn from_arg_value(value: &str) -> Result<T, String>
fn from_arg_value(value: &str) -> Result<T, String>
Construct the type from a commandline value, returning an error string
on failure.