[−][src]Type Definition assert_cmd::output::OutputResult
type OutputResult = Result<Output, OutputError>;
Output
represented as a Result
.
Generally produced by OutputOkExt
.
Examples
use assert_cmd::prelude::*; use std::process::Command; let result = Command::new("echo") .args(&["42"]) .ok(); assert!(result.is_ok());