pub enum HardwareFieldSourceV2 {
Show 14 variants
PerfEventOpen,
ProcSelfSched,
ProcSelfSchedstat,
ProcSelfTaskStat,
ProcSelfStatus,
ProcSelfStat,
ProcSelfIo,
ProcPressure,
SysfsCpu,
SysfsCgroup,
SysfsThermal,
SystemCall,
WindowsApi,
MacOsApi,
}Expand description
Exact host facility that produced (or was asked for) one hardware field.
Variants§
PerfEventOpen
ProcSelfSched
ProcSelfSchedstat
ProcSelfTaskStat
ProcSelfStatus
ProcSelfStat
ProcSelfIo
ProcPressure
SysfsCpu
SysfsCgroup
SysfsThermal
SystemCall
WindowsApi
MacOsApi
Trait Implementations§
Source§impl Clone for HardwareFieldSourceV2
impl Clone for HardwareFieldSourceV2
Source§fn clone(&self) -> HardwareFieldSourceV2
fn clone(&self) -> HardwareFieldSourceV2
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 HardwareFieldSourceV2
Source§impl Debug for HardwareFieldSourceV2
impl Debug for HardwareFieldSourceV2
Source§impl<'de> Deserialize<'de> for HardwareFieldSourceV2
impl<'de> Deserialize<'de> for HardwareFieldSourceV2
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 HardwareFieldSourceV2
Source§impl PartialEq for HardwareFieldSourceV2
impl PartialEq for HardwareFieldSourceV2
Source§impl Serialize for HardwareFieldSourceV2
impl Serialize for HardwareFieldSourceV2
impl StructuralPartialEq for HardwareFieldSourceV2
Auto Trait Implementations§
impl Freeze for HardwareFieldSourceV2
impl RefUnwindSafe for HardwareFieldSourceV2
impl Send for HardwareFieldSourceV2
impl Sync for HardwareFieldSourceV2
impl Unpin for HardwareFieldSourceV2
impl UnsafeUnpin for HardwareFieldSourceV2
impl UnwindSafe for HardwareFieldSourceV2
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