pub trait AccessLevel:
Copy
+ Clone
+ PartialOrd
+ Ord
+ 'static {
// Required methods
fn from_str(s: &str) -> Option<Self>
where Self: Sized;
fn as_str(&self) -> &'static str;
}Expand description
Access level trait for hierarchical permissions. Implement this trait to define your application’s access hierarchy.
Required Methods§
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.