Struct assert_cmd::assert::StrContentOutputPredicate [−][src]
pub struct StrContentOutputPredicate(_);
Expand description
Keep predicates
concrete Predicates out of our public API.
predicates_core::Predicate used by IntoOutputPredicate
for str
.
Example
use assert_cmd::prelude::*; use std::process::Command; Command::cargo_bin("bin_fixture") .unwrap() .env("stdout", "hello") .env("stderr", "world") .assert() .stderr("world\n");
Trait Implementations
The type of the predicate being returned.
Convert to a predicate for testing a path.
The type of the predicate being returned.
Convert to a predicate for testing a path.
Auto Trait Implementations
impl RefUnwindSafe for StrContentOutputPredicate
impl Send for StrContentOutputPredicate
impl Sync for StrContentOutputPredicate
impl Unpin for StrContentOutputPredicate
impl UnwindSafe for StrContentOutputPredicate
Blanket Implementations
Mutably borrows from an owned value. Read more
type Predicate = P
type Predicate = P
The type of the predicate being returned.
Convert to a predicate for testing a path.
Returns a FileContentPredicate
that adapts Self
to a file content Predicate
. Read more
Name a predicate expression. Read more