Struct cicada::CommandResult
source · Expand description
Represents an error calling exec
.
Fields§
§gid: i32
§status: i32
§stdout: String
§stderr: String
Implementations§
source§impl CommandResult
impl CommandResult
pub fn new() -> CommandResult
pub fn from_status(gid: i32, status: i32) -> CommandResult
pub fn error() -> CommandResult
Trait Implementations§
source§impl Clone for CommandResult
impl Clone for CommandResult
source§fn clone(&self) -> CommandResult
fn clone(&self) -> CommandResult
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for CommandResult
impl Debug for CommandResult
source§impl Default for CommandResult
impl Default for CommandResult
source§fn default() -> CommandResult
fn default() -> CommandResult
Returns the “default value” for a type. Read more