[−][src]Struct tauri_utils::process::System
Struct containing system's information.
Trait Implementations
impl SystemExt for System
[src]
fn new_with_specifics(refreshes: RefreshKind) -> System
[src]
fn refresh_cpu(&mut self)
[src]
fn refresh_memory(&mut self)
[src]
fn refresh_temperatures(&mut self)
[src]
Please note that on Windows, you need to have Administrator priviledges to get this information.
fn refresh_network(&mut self)
[src]
fn refresh_process(&mut self, pid: usize) -> bool
[src]
fn refresh_processes(&mut self)
[src]
fn refresh_disks(&mut self)
[src]
fn refresh_disk_list(&mut self)
[src]
fn get_process_list(&self) -> &HashMap<usize, Process, RandomState>
[src]
fn get_process(&self, pid: usize) -> Option<&Process>
[src]
fn get_processor_list(&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_list(&self) -> &[Component]
[src]
fn get_disks(&self) -> &[Disk]
[src]
fn get_network(&self) -> &NetworkData
[src]
fn get_uptime(&self) -> u64
[src]
fn new() -> Self
[src]
fn refresh_specifics(&mut self, refreshes: RefreshKind)
[src]
fn refresh_system(&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>,