pub struct ProcessData<'a> {
    pub request: Option<Arc<ProcessRequest>>,
    pub line_number: i64,
    pub line: String,
    /* private fields */
}
Expand description

Various fields related to the process

Fields

request: Option<Arc<ProcessRequest>>

Request data

line_number: i64

Line number from output of the Process’s STDOUT & STDERR

line: String

A single line data from output of the Process’s STDOUT & STDERR

Implementations

Create a new instance of the ProcessData

Kill the running process

Get the list of child pids

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.