#[repr(u8)]pub enum ExecutionMode {
GovernedApplication = 0,
StandaloneDeveloper = 1,
SimulatedGovernanceTest = 2,
IntegratedGovernanceTest = 3,
}Expand description
Explicit execution mode governing Sentinel policy enforcement and receipt semantics.
Variants§
GovernedApplication = 0
Production governed application mode. Requires a live SentinelPolicyGate;
missing or disconnected controller fails closed (VibeTrap::SentinelUnavailable).
StandaloneDeveloper = 1
Standalone developer / CLI / REPL mode. Runs PureCompute (and explicitly
mocked local scratch) without claiming governed authority.
SimulatedGovernanceTest = 2
Deterministic in-memory policy table for unit and conformance tests.
Receipts are explicitly marked simulated = true.
IntegratedGovernanceTest = 3
End-to-end integration test mode wired to the real QualiaDB Webizen Sentinel
and staged PoetSnapshot receipt pipeline.
Implementations§
Source§impl ExecutionMode
impl ExecutionMode
Sourcepub const fn requires_sentinel_gate(self) -> bool
pub const fn requires_sentinel_gate(self) -> bool
Returns true when a live SentinelPolicyGate is mandatory.
Trait Implementations§
Source§impl Clone for ExecutionMode
impl Clone for ExecutionMode
impl Copy for ExecutionMode
Source§impl Debug for ExecutionMode
impl Debug for ExecutionMode
impl Eq for ExecutionMode
Source§impl Hash for ExecutionMode
impl Hash for ExecutionMode
Source§impl PartialEq for ExecutionMode
impl PartialEq for ExecutionMode
impl StructuralPartialEq for ExecutionMode
Auto Trait Implementations§
impl Freeze for ExecutionMode
impl RefUnwindSafe for ExecutionMode
impl Send for ExecutionMode
impl Sync for ExecutionMode
impl Unpin for ExecutionMode
impl UnsafeUnpin for ExecutionMode
impl UnwindSafe for ExecutionMode
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