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

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

Predicate adaper that converts a path to file content predicate to byte predicate.

This is created by pred.from_path().

Trait Implementations

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

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

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

[src]

Formats the value using the given formatter. Read more

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

[src]

Formats the value using the given formatter. Read more

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

[src]

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

Auto Trait Implementations

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

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