Struct assert_fs::assert::BytesContentPathPredicate [−][src]
pub struct BytesContentPathPredicate(_);
Expand description
Keep predicates
concrete Predicates out of our public API.
predicates_core::Predicate used by IntoPathPredicate
for bytes.
Example
use assert_fs::prelude::*;
let temp = assert_fs::TempDir::new().unwrap();
let input_file = temp.child("foo.txt");
input_file.touch().unwrap();
// ... do something with input_file ...
input_file.assert(b"" as &[u8]); // uses BytesContentPathPredicate
temp.close().unwrap();
Trait Implementations
The type of the predicate being returned.
Auto Trait Implementations
impl RefUnwindSafe for BytesContentPathPredicate
impl Send for BytesContentPathPredicate
impl Sync for BytesContentPathPredicate
impl Unpin for BytesContentPathPredicate
impl UnwindSafe for BytesContentPathPredicate
Blanket Implementations
Mutably borrows from an owned value. Read more
type Predicate = P
type Predicate = P
The type of the predicate being returned.
Convert to a predicate for testing a path.
Name a predicate expression. Read more