Struct sysinfo::System [−][src]
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 refresh_users_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_physical_core_count(&self) -> Option<usize>
[src]
fn get_total_memory(&self) -> u64
[src]
fn get_free_memory(&self) -> u64
[src]
fn get_available_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_boot_time(&self) -> u64
[src]
fn get_load_average(&self) -> LoadAvg
[src]
fn get_users(&self) -> &[User]
[src]
fn get_name(&self) -> Option<String>
[src]
fn get_long_os_version(&self) -> Option<String>
[src]
fn get_host_name(&self) -> Option<String>
[src]
fn get_kernel_version(&self) -> Option<String>
[src]
fn get_os_version(&self) -> Option<String>
[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,
pub 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> Pointable for T
[src]
pub const ALIGN: usize
[src]
type Init = T
The type for initializers.
pub unsafe fn init(init: <T as Pointable>::Init) -> usize
[src]
pub unsafe fn deref<'a>(ptr: usize) -> &'a T
[src]
pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T
[src]
pub unsafe fn drop(ptr: usize)
[src]
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.
pub 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>,