pub struct SystemInfo {Show 13 fields
pub isa: String,
pub extensions: Vec<String>,
pub z_extensions: Vec<String>,
pub vector: VectorInfo,
pub hart_count: usize,
pub hardware_ids: HardwareIds,
pub cache: CacheInfo,
pub board: String,
pub memory_used_bytes: u64,
pub memory_total_bytes: u64,
pub kernel: String,
pub os: String,
pub uptime_seconds: u64,
}Expand description
Complete system information for JSON serialization
Fields§
§isa: String§extensions: Vec<String>§z_extensions: Vec<String>§vector: VectorInfo§hart_count: usize§hardware_ids: HardwareIds§cache: CacheInfo§board: String§memory_used_bytes: u64§memory_total_bytes: u64§kernel: String§os: String§uptime_seconds: u64Trait Implementations§
Source§impl Debug for SystemInfo
impl Debug for SystemInfo
Auto Trait Implementations§
impl Freeze for SystemInfo
impl RefUnwindSafe for SystemInfo
impl Send for SystemInfo
impl Sync for SystemInfo
impl Unpin for SystemInfo
impl UnwindSafe for SystemInfo
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