Struct bkt::Invocation [−][src]
pub struct Invocation {
pub stdout: Vec<u8>,
pub stderr: Vec<u8>,
pub status: i32,
pub runtime: Duration,
// some fields omitted
}
Expand description
The outputs of a cached invocation of a CommandDesc
, akin to std::process::Output
.
Fields
stdout: Vec<u8>
The data that the process wrote to stdout.
stderr: Vec<u8>
The data that the process wrote to stderr.
status: i32
The exit status 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.
runtime: Duration
The time the process took to complete.
Implementations
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
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 !=
.