pub trait AsyncPathValidator {
// Required method
fn is_valid<'life0, 'async_trait>(
path: &'life0 Path,
) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait>>
where 'life0: 'async_trait;
}Required Methods§
fn is_valid<'life0, 'async_trait>(
path: &'life0 Path,
) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait>>where
'life0: 'async_trait,
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.