[][src]Struct tauri_utils::process::Process

pub struct Process {
    pub uid: u32,
    pub gid: u32,
    pub status: Option<ThreadStatus>,
    // 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.

status: Option<ThreadStatus>

Status of process (running, stopped, waiting, etc). None means sysinfo doesn't have enough rights to get this information.

This is very likely this one that you want instead of process_status.

Trait Implementations

impl Clone for Process[src]

impl Debug for Process[src]

impl ProcessExt for Process[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]

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, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.