[][src]Struct sysinfo::System

pub struct System { /* fields omitted */ }

Structs containing system's information.

Trait Implementations

impl SystemExt for System[src]

fn new() -> Self[src]

Creates a new [System] instance. It only contains the disks' list and the processes list at this stage. Use the [refresh_all] method to update its internal information (or any of the refresh_ method). Read more

fn refresh_specifics(&mut self, refreshes: RefreshKind)[src]

Refreshes according to the given RefreshKind. It calls the corresponding "refresh_" methods. Read more

fn refresh_all(&mut self)[src]

Refreshes all system, processes and disks information.

fn get_process_by_name(&self, name: &str) -> Vec<&Process>[src]

Returns a list of process containing the given name.

impl Default for System[src]

impl Debug for System[src]

Auto Trait Implementations

impl Send for System

impl Sync for System

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]