pub enum HardwareCategory {
Gpu,
Storage,
Network,
Cpu,
Other,
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for HardwareCategory
impl Clone for HardwareCategory
Source§fn clone(&self) -> HardwareCategory
fn clone(&self) -> HardwareCategory
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for HardwareCategory
Source§impl Debug for HardwareCategory
impl Debug for HardwareCategory
Source§impl<'de> Deserialize<'de> for HardwareCategory
impl<'de> Deserialize<'de> for HardwareCategory
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
impl Eq for HardwareCategory
Source§impl Hash for HardwareCategory
impl Hash for HardwareCategory
Source§impl PartialEq for HardwareCategory
impl PartialEq for HardwareCategory
Source§fn eq(&self, other: &HardwareCategory) -> bool
fn eq(&self, other: &HardwareCategory) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for HardwareCategory
impl Serialize for HardwareCategory
impl StructuralPartialEq for HardwareCategory
Auto Trait Implementations§
impl Freeze for HardwareCategory
impl RefUnwindSafe for HardwareCategory
impl Send for HardwareCategory
impl Sync for HardwareCategory
impl Unpin for HardwareCategory
impl UnsafeUnpin for HardwareCategory
impl UnwindSafe for HardwareCategory
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