pub struct ApexControl { /* private fields */ }Expand description
Apex Control Module - Creator-level overrides
The only way to stop the MutationEngine or force a global HardReset. Requires: Architect Key + BFT Council Quorum
Implementations§
Source§impl ApexControl
impl ApexControl
Sourcepub fn execute(
&self,
command: ApexCommand,
architect_key: &dyn KeyStore,
) -> Result<bool, ApexError>
pub fn execute( &self, command: ApexCommand, architect_key: &dyn KeyStore, ) -> Result<bool, ApexError>
Submit a command for execution
Returns true if command was accepted and executed
Sourcepub fn is_stopped(&self) -> bool
pub fn is_stopped(&self) -> bool
Check if emergency stop is active
Sourcepub fn is_reset_pending(&self) -> bool
pub fn is_reset_pending(&self) -> bool
Check if global reset is pending
Sourcepub fn acknowledge_reset(&self)
pub fn acknowledge_reset(&self)
Clear reset flag (after reset is complete)
Sourcepub fn execution_count(&self) -> u64
pub fn execution_count(&self) -> u64
Get execution count
Auto Trait Implementations§
impl !Freeze for ApexControl
impl !RefUnwindSafe for ApexControl
impl Send for ApexControl
impl Sync for ApexControl
impl Unpin for ApexControl
impl UnwindSafe for ApexControl
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