Struct assert_cmd::assert::EqCodePredicate [−][src]
pub struct EqCodePredicate(_);
Expand description
Keep predicates
concrete Predicates out of our public API.
predicates_core::Predicate used by IntoCodePredicate
for code.
Example
use assert_cmd::prelude::*; use std::process::Command; Command::cargo_bin("bin_fixture") .unwrap() .env("exit", "42") .assert() .code(42);
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for EqCodePredicate
impl Send for EqCodePredicate
impl Sync for EqCodePredicate
impl Unpin for EqCodePredicate
impl UnwindSafe for EqCodePredicate
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 program’s exit code.
Name a predicate expression. Read more