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.