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]
P: Predicate<[u8]>,
fn clone(&self) -> FileContentPredicate<P>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<P: Debug> Debug for FileContentPredicate<P> where
P: Predicate<[u8]>,
[src]
P: Predicate<[u8]>,
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl<P> Display for FileContentPredicate<P> where
P: Predicate<[u8]>,
[src]
P: Predicate<[u8]>,
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl<P> Predicate<Path> for FileContentPredicate<P> where
P: Predicate<[u8]>,
[src]
P: Predicate<[u8]>,
Auto Trait Implementations
impl<P> Send for FileContentPredicate<P> where
P: Send,
P: Send,
impl<P> Sync for FileContentPredicate<P> where
P: Sync,
P: Sync,