Struct assert_cmd::assert::BytesContentOutputPredicate [−][src]
pub struct BytesContentOutputPredicate(_);
Predicate used by IntoOutputPredicate
for bytes.
Trait Implementations
impl Debug for BytesContentOutputPredicate
[src]
impl Debug for BytesContentOutputPredicate
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PredicateReflection for BytesContentOutputPredicate
[src]
impl PredicateReflection for BytesContentOutputPredicate
fn parameters<'a>(&'a self) -> Box<Iterator<Item = Parameter<'a>> + 'a>
[src]
fn parameters<'a>(&'a self) -> Box<Iterator<Item = Parameter<'a>> + 'a>
Parameters of the current Predicate
.
fn children<'a>(&'a self) -> Box<Iterator<Item = Child<'a>> + 'a>
[src]
fn children<'a>(&'a self) -> Box<Iterator<Item = Child<'a>> + 'a>
Nested Predicate
s of the current Predicate
.
impl Predicate<[u8]> for BytesContentOutputPredicate
[src]
impl Predicate<[u8]> for BytesContentOutputPredicate
fn eval(&self, item: &[u8]) -> bool
[src]
fn eval(&self, item: &[u8]) -> bool
Execute this Predicate
against variable
, returning the resulting boolean. Read more
fn find_case<'a>(&'a self, expected: bool, variable: &[u8]) -> Option<Case<'a>>
[src]
fn find_case<'a>(&'a self, expected: bool, variable: &[u8]) -> Option<Case<'a>>
Find a case that proves this predicate as expected
when run against variable
.
impl Display for BytesContentOutputPredicate
[src]
impl Display for BytesContentOutputPredicate
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl IntoOutputPredicate<BytesContentOutputPredicate> for &'static [u8]
[src]
impl IntoOutputPredicate<BytesContentOutputPredicate> for &'static [u8]
type Predicate = BytesContentOutputPredicate
The type of the predicate being returned.
fn into_output(self) -> Self::Predicate
[src]
fn into_output(self) -> Self::Predicate
Convert to a predicate for testing a path.
Auto Trait Implementations
impl Send for BytesContentOutputPredicate
impl Send for BytesContentOutputPredicate
impl Sync for BytesContentOutputPredicate
impl Sync for BytesContentOutputPredicate