Struct cradle::StdoutUntrimmed [−][src]
pub struct StdoutUntrimmed(pub String);
Expand description
See the CmdOutput
implementation for StdoutUntrimmed
below.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Same as StdoutTrimmed
, but does not trim whitespace from the output:
use cradle::*; let StdoutUntrimmed(output) = cmd!(%"echo foo"); assert_eq!(output, "foo\n");
Auto Trait Implementations
impl RefUnwindSafe for StdoutUntrimmed
impl Send for StdoutUntrimmed
impl Sync for StdoutUntrimmed
impl Unpin for StdoutUntrimmed
impl UnwindSafe for StdoutUntrimmed
Blanket Implementations
Mutably borrows from an owned value. Read more