Struct tauri::api::process::Process[]

pub struct Process {
    pub uid: u32,
    pub gid: u32,
    pub tasks: HashMap<i32, Process, RandomState>,
    // some fields omitted
}

Struct containing a process’ information.

Fields

uid: u32

User id of the process owner.

gid: u32

Group id of the process owner.

tasks: HashMap<i32, Process, RandomState>

Tasks run by this process.

Trait Implementations

impl Debug for Process

impl Drop for Process

impl ProcessExt for Process

pub fn status(&self) -> ProcessStatus

Returns the status of the processus (idle, run, zombie, etc). None means that sysinfo doesn’t have enough rights to get this information.

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]

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

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

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

impl<T> Instrument for T[src]

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

impl<T> Pointable for T

type Init = T

The type for initializers.

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<V, T> VZip<V> for T where
    V: MultiLane<T>,