Struct predicates::path::FileContentPredicate
source ·
[−]Expand description
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: PartialEq> PartialEq<FileContentPredicate<P>> for FileContentPredicate<P> where
P: Predicate<[u8]>,
impl<P: PartialEq> PartialEq<FileContentPredicate<P>> for FileContentPredicate<P> where
P: Predicate<[u8]>,
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl<P> RefUnwindSafe for FileContentPredicate<P> where
P: RefUnwindSafe,
impl<P> Send for FileContentPredicate<P> where
P: Send,
impl<P> Sync for FileContentPredicate<P> where
P: Sync,
impl<P> Unpin for FileContentPredicate<P> where
P: Unpin,
impl<P> UnwindSafe for FileContentPredicate<P> where
P: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
fn and<B>(self, other: B) -> AndPredicate<Self, B, Item> where
B: Predicate<Item>,
Self: Sized,
fn and<B>(self, other: B) -> AndPredicate<Self, B, Item> where
B: Predicate<Item>,
Self: Sized,
Compute the logical AND of two Predicate
results, returning the result. Read more
Compute the logical OR of two Predicate
results, returning the result. Read more
Compute the logical NOT of a Predicate
, returning the result. Read more