Struct assert_cmd::assert::BytesContentOutputPredicate [−][src]
pub struct BytesContentOutputPredicate(_);
Expand description
Keep predicates
concrete Predicates out of our public API.
predicates_core::Predicate used by IntoOutputPredicate
for bytes.
Example
use assert_cmd::prelude::*; use std::process::Command; Command::cargo_bin("bin_fixture") .unwrap() .env("stdout", "hello") .env("stderr", "world") .assert() .stderr(b"world\n" as &[u8]);
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 BytesContentOutputPredicate
impl Send for BytesContentOutputPredicate
impl Sync for BytesContentOutputPredicate
impl Unpin for BytesContentOutputPredicate
impl UnwindSafe for BytesContentOutputPredicate
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