pub trait AclChecker:
Send
+ Sync
+ 'static {
// Required method
fn is_allowed(
&self,
user: &str,
path: &str,
tpe: Option<TpeKind>,
access: AccessType,
) -> bool;
}Required Methods§
fn is_allowed( &self, user: &str, path: &str, tpe: Option<TpeKind>, access: AccessType, ) -> bool
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".