#[repr(transparent)]pub struct EffectSet(pub u32);Expand description
Composable effect bitflags for extension functions.
Tuple Fields§
§0: u32Implementations§
Source§impl EffectSet
impl EffectSet
Sourcepub const PURE_COMPUTE: Self
pub const PURE_COMPUTE: Self
Pure deterministic calculation with zero side effects or state reads.
Sourcepub const GRAPH_READ: Self
pub const GRAPH_READ: Self
Reads from the semantic graph or snapshot without mutation.
Sourcepub const GRAPH_MUTATE: Self
pub const GRAPH_MUTATE: Self
Stages or mutates state in the semantic graph.
Sourcepub const HARDWARE_IO: Self
pub const HARDWARE_IO: Self
Interacts with local hardware devices (GPU compute queue, HID, audio, sensors).
Sourcepub const EXTERNAL_NET: Self
pub const EXTERNAL_NET: Self
Performs external network disclosure or transport publish.
Sourcepub const CRYPTO_VAULT: Self
pub const CRYPTO_VAULT: Self
Accesses cryptographic key vault operations (signing, key generation).
Sourcepub const TASK_SPAWN: Self
pub const TASK_SPAWN: Self
Spawns bounded child tasks or DAG nodes.
Sourcepub const fn contains_all(self, required: Self) -> bool
pub const fn contains_all(self, required: Self) -> bool
Returns true if self contains all effects in required.
Sourcepub const fn is_subset_of(self, allowed_mask: Self) -> bool
pub const fn is_subset_of(self, allowed_mask: Self) -> bool
Returns true if self is a subset of allowed_mask.
Trait Implementations§
impl Copy for EffectSet
impl Eq for EffectSet
impl StructuralPartialEq for EffectSet
Auto Trait Implementations§
impl Freeze for EffectSet
impl RefUnwindSafe for EffectSet
impl Send for EffectSet
impl Sync for EffectSet
impl Unpin for EffectSet
impl UnsafeUnpin for EffectSet
impl UnwindSafe for EffectSet
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