pub trait ClassPermission {
// Required methods
fn class(&self) -> KernelClass;
fn id(&self) -> u8;
// Provided method
fn as_access_vector(&self) -> AccessVector { ... }
}Expand description
Allow callers to use the kernel class & permission definitions.
Required Methods§
Provided Methods§
fn as_access_vector(&self) -> AccessVector
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".