Struct tauri_api::process::Process[]

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

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

Formats the value using the given formatter. Read more

Executes the destructor for this type. Read more

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

Create a new process only containing the given information. Read more

Sends the given signal to the process.

Returns the name of the process.

Returns the command line.

Returns the path to the process.

Returns the pid of the process.

Returns the environment of the process. Read more

Returns the current working directory. Read more

Returns the path of the root directory. Read more

Returns the memory usage (in KiB).

Returns the virtual memory usage (in KiB).

Returns the parent pid.

Returns the time of process launch (in seconds).

Returns the total CPU usage.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. Read more

Mutably dereferences the given pointer. Read more

Drops the object pointed to by the given pointer. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.