Struct sysinfo::Component [−][src]
pub struct Component { /* fields omitted */ }
More information can be found at kernel.org.
Note: these may not be present on virtual Linux systems, such as Docker
or Windows Subsystem for Linux. These hosts do not expose this information
and therefore Component
elements may be missing or not as expected.
Trait Implementations
impl ComponentExt for Component
[src]
impl ComponentExt for Component
[src]fn get_temperature(&self) -> f32
[src]
fn get_temperature(&self) -> f32
[src]Returns the temperature of the component (in celsius degree). Read more
fn get_max(&self) -> f32
[src]
fn get_max(&self) -> f32
[src]Returns the maximum temperature of the component (in celsius degree). Read more
fn get_critical(&self) -> Option<f32>
[src]
fn get_critical(&self) -> Option<f32>
[src]Returns the highest temperature before the component halts (in celsius degree). Read more
Auto Trait Implementations
impl RefUnwindSafe for Component
impl Send for Component
impl Sync for Component
impl Unpin for Component
impl UnwindSafe for Component
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T