pub struct SystemInformation {
pub os: String,
pub os_version: String,
pub kernel_version: String,
pub host_name: String,
pub logical_processors: usize,
pub physical_processors: usize,
pub total_memory: u64,
}Expand description
Holds general information about the name, make, and model of the system.
Should be instantiated via the appropriate system information monitoring backend.
Fields§
§os: String§os_version: String§kernel_version: String§host_name: String§logical_processors: usize§physical_processors: usize§total_memory: u64Auto Trait Implementations§
impl Freeze for SystemInformation
impl RefUnwindSafe for SystemInformation
impl Send for SystemInformation
impl Sync for SystemInformation
impl Unpin for SystemInformation
impl UnwindSafe for SystemInformation
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more