Struct predicates::path::FileContentPredicate[][src]

pub struct FileContentPredicate<P> where
    P: Predicate<[u8]>, 
{ /* fields omitted */ }

Predicate adapter that converts a path predicate to a byte predicate on its content.

This is created by pred.from_path().

Trait Implementations

impl<P: Debug> Debug for FileContentPredicate<P> where
    P: Predicate<[u8]>, 
[src]

Formats the value using the given formatter. Read more

impl<P: Clone> Clone for FileContentPredicate<P> where
    P: Predicate<[u8]>, 
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<P: Copy> Copy for FileContentPredicate<P> where
    P: Predicate<[u8]>, 
[src]

impl<P: PartialEq> PartialEq for FileContentPredicate<P> where
    P: Predicate<[u8]>, 
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<P: Eq> Eq for FileContentPredicate<P> where
    P: Predicate<[u8]>, 
[src]

impl<P> PredicateReflection for FileContentPredicate<P> where
    P: Predicate<[u8]>, 
[src]

Important traits for Box<R>

Nested Predicates of the current Predicate.

Important traits for Box<R>

Parameters of the current Predicate.

impl<P> Display for FileContentPredicate<P> where
    P: Predicate<[u8]>, 
[src]

Formats the value using the given formatter. Read more

impl<P> Predicate<Path> for FileContentPredicate<P> where
    P: Predicate<[u8]>, 
[src]

Execute this Predicate against variable, returning the resulting boolean. Read more

Find a case that proves this predicate as expected when run against variable.

Auto Trait Implementations

impl<P> Send for FileContentPredicate<P> where
    P: Send

impl<P> Sync for FileContentPredicate<P> where
    P: Sync