pub struct TestCommandResult {
pub stdout: String,
pub stderr: String,
pub exit_code: i32,
}
Expand description
Test result that captures both stdout and stderr along with exit code
Fields§
§stdout: String
§stderr: String
§exit_code: i32
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TestCommandResult
impl RefUnwindSafe for TestCommandResult
impl Send for TestCommandResult
impl Sync for TestCommandResult
impl Unpin for TestCommandResult
impl UnwindSafe for TestCommandResult
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more