#[repr(u8)]pub enum CapType {
Partition = 0,
Region = 1,
CommEdge = 2,
Device = 3,
Scheduler = 4,
WitnessLog = 5,
Proof = 6,
Vcpu = 7,
Coherence = 8,
Context = 9,
}Expand description
The type of resource a capability refers to.
Variants§
Partition = 0
Authority over a partition (create, destroy, split, merge).
Region = 1
Authority over a memory region (map, transfer, tier change).
CommEdge = 2
Authority over a communication edge (create, destroy, send).
Device = 3
Authority over a device lease (grant, revoke, renew).
Scheduler = 4
Authority over the scheduler (mode switch, priority override).
WitnessLog = 5
Authority over the witness log (query, export).
Proof = 6
Authority over the proof verifier (escalation, deep proof).
Vcpu = 7
Authority over a virtual CPU.
Coherence = 8
Authority over a coherence observer.
Context = 9
Authority over a governed ruv:// context scope.
Trait Implementations§
impl Copy for CapType
impl Eq for CapType
impl StructuralPartialEq for CapType
Auto Trait Implementations§
impl Freeze for CapType
impl RefUnwindSafe for CapType
impl Send for CapType
impl Sync for CapType
impl Unpin for CapType
impl UnsafeUnpin for CapType
impl UnwindSafe for CapType
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