pub enum Primitive {
Syscall,
Sched,
Mm,
}Expand description
One of the three kernel primitives every OS event belongs to (the canonical decision planes).
Variants§
Syscall
P1 — the single syscall trap (governance/capability/spawn/memory adjudication).
Sched
P2 — the TCB/task table + scheduler (budgets, lifecycle, process table, signal disposition).
Mm
P3 — the handle table + paging (compression, page-in/out, renewal, long-term memory).
Implementations§
Trait Implementations§
impl Copy for Primitive
Source§impl<'de> Deserialize<'de> for Primitive
impl<'de> Deserialize<'de> for Primitive
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Primitive
impl StructuralPartialEq for Primitive
Auto Trait Implementations§
impl Freeze for Primitive
impl RefUnwindSafe for Primitive
impl Send for Primitive
impl Sync for Primitive
impl Unpin for Primitive
impl UnsafeUnpin for Primitive
impl UnwindSafe for Primitive
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more