pub trait PathPolicy:
'static
+ Send
+ Sync {
// Required method
fn predicate(&self, path: &Path) -> bool;
}Expand description
Path policies allow for the selection of paths based on certain criteria.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".