Struct assert_fs::assert::StrContentPathPredicate [−][src]
pub struct StrContentPathPredicate(_);
Expand description
Keep predicates
concrete Predicates out of our public API.
predicates_core::Predicate used by IntoPathPredicate
for str
.
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(""); // Uses StrContentPathPredicate
temp.close().unwrap();
Trait Implementations
type Predicate = StrContentPathPredicate
type Predicate = StrContentPathPredicate
The type of the predicate being returned.
type Predicate = StrContentPathPredicate
type Predicate = StrContentPathPredicate
The type of the predicate being returned.
type Predicate = StrContentPathPredicate
type Predicate = StrContentPathPredicate
The type of the predicate being returned.
Auto Trait Implementations
impl RefUnwindSafe for StrContentPathPredicate
impl Send for StrContentPathPredicate
impl Sync for StrContentPathPredicate
impl Unpin for StrContentPathPredicate
impl UnwindSafe for StrContentPathPredicate
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