[−][src]Struct sysinfo::System
Structs containing system's information.
Trait Implementations
impl Debug for System[src]
impl Default for System[src]
impl SystemExt for System[src]
fn new_with_specifics(refreshes: RefreshKind) -> System[src]
fn refresh_components_list(&mut self)[src]
fn refresh_memory(&mut self)[src]
fn refresh_cpu(&mut self)[src]
fn refresh_processes(&mut self)[src]
fn refresh_process(&mut self, pid: Pid) -> bool[src]
fn refresh_disks_list(&mut self)[src]
fn get_processes(&self) -> &HashMap<Pid, Process>[src]
fn get_process(&self, pid: Pid) -> Option<&Process>[src]
fn get_networks(&self) -> &Networks[src]
fn get_networks_mut(&mut self) -> &mut Networks[src]
fn get_global_processor_info(&self) -> &Processor[src]
fn get_processors(&self) -> &[Processor][src]
fn get_total_memory(&self) -> u64[src]
fn get_free_memory(&self) -> u64[src]
fn get_used_memory(&self) -> u64[src]
fn get_total_swap(&self) -> u64[src]
fn get_free_swap(&self) -> u64[src]
fn get_used_swap(&self) -> u64[src]
fn get_components(&self) -> &[Component][src]
fn get_components_mut(&mut self) -> &mut [Component][src]
fn get_disks(&self) -> &[Disk][src]
fn get_disks_mut(&mut self) -> &mut [Disk][src]
fn get_uptime(&self) -> u64[src]
fn get_load_average(&self) -> LoadAvg[src]
fn new() -> Self[src]
fn new_all() -> Self[src]
fn refresh_specifics(&mut self, refreshes: RefreshKind)[src]
fn refresh_system(&mut self)[src]
fn refresh_components(&mut self)[src]
fn refresh_disks(&mut self)[src]
fn refresh_networks(&mut self)[src]
fn refresh_networks_list(&mut self)[src]
fn refresh_all(&mut self)[src]
fn get_process_by_name(&self, name: &str) -> Vec<&Process>[src]
Auto Trait Implementations
impl RefUnwindSafe for System
impl Send for System
impl Sync for System
impl Unpin for System
impl UnwindSafe for System
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,