pub struct Invocation { /* private fields */ }
Expand description

The outputs of a cached invocation of a CommandDesc, akin to std::process::Output.

Implementations

The data that the process wrote to stdout.

Helper to view stdout as a UTF-8 string. Use from_utf8 directly if you need to handle output that may not be UTF-8.

The data that the process wrote to stderr.

Helper to view stderr as a UTF-8 string. Use from_utf8 directly if you need to handle output that may not be UTF-8.

The exit code of the program, or 126 if the program terminated without an exit status. See ExitStatus::code(). This is subject to change to better support other termination states.

The time the process took to complete.

Trait Implementations

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Serialize this value into the given Serde serializer. Read more

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.