pub enum CapTarget {
Flow(u64),
NativeTable,
Scheduler,
}Expand description
What a capability addresses. Bytecode never sees this enum — only the
opaque CapId token.
Variants§
Flow(u64)
Delivery / link / monitor / self-authority for one flow (u64 = FlowId).
NativeTable
Native-table authority (S7). Rarely minted; usually the mask lives on
a flow-targeted Cap that also has CapRights::NATIVE.
Scheduler
Exclusive target of CapRights::ADMIN: kill / inspect / quota top-up.
Implementations§
Trait Implementations§
impl Copy for CapTarget
impl Eq for CapTarget
impl StructuralPartialEq for CapTarget
Auto Trait Implementations§
impl Freeze for CapTarget
impl RefUnwindSafe for CapTarget
impl Send for CapTarget
impl Sync for CapTarget
impl Unpin for CapTarget
impl UnsafeUnpin for CapTarget
impl UnwindSafe for CapTarget
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.