[−][src]Struct tauri_utils::process::Process
Struct containing a process' information.
Trait Implementations
impl Clone for Process
[src]
impl Debug for Process
[src]
impl Drop for Process
[src]
impl ProcessExt for Process
[src]
fn new(pid: usize, parent: Option<usize>, u64) -> Process
[src]
fn kill(&self, signal: Signal) -> bool
[src]
fn name(&self) -> &str
[src]
fn cmd(&self) -> &[String]
[src]
fn exe(&self) -> &Path
[src]
fn pid(&self) -> usize
[src]
fn environ(&self) -> &[String]
[src]
fn cwd(&self) -> &Path
[src]
fn root(&self) -> &Path
[src]
fn memory(&self) -> u64
[src]
fn virtual_memory(&self) -> u64
[src]
fn parent(&self) -> Option<usize>
[src]
fn status(&self) -> ProcessStatus
[src]
fn start_time(&self) -> u64
[src]
fn cpu_usage(&self) -> f32
[src]
Auto Trait Implementations
impl RefUnwindSafe for Process
impl Send for Process
impl Sync for Process
impl Unpin for Process
impl UnwindSafe for Process
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> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[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.
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>,