Skip to main content

PolicyFnT

Trait PolicyFnT 

Source
pub trait PolicyFnT:
    Fn(&str, &Path) -> Result<()>
    + Send
    + Sync { }

Trait Implementations§

Source§

impl Debug for dyn PolicyFnT

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<F> PolicyFnT for F
where F: Fn(&str, &Path) -> Result<()> + Send + Sync,