pub struct OrbitJidokaGuard { /* private fields */ }Expand description
Orbital Jidoka guard with graceful degradation.
Implementations§
Source§impl OrbitJidokaGuard
impl OrbitJidokaGuard
Sourcepub fn new(config: OrbitJidokaConfig) -> Self
pub fn new(config: OrbitJidokaConfig) -> Self
Create a new Jidoka guard.
Sourcepub fn initialize(&mut self, state: &NBodyState)
pub fn initialize(&mut self, state: &NBodyState)
Initialize with initial state values.
Sourcepub fn reset_warnings(&mut self)
pub fn reset_warnings(&mut self)
Reset warning count (e.g., after user intervention).
Sourcepub fn status(&self) -> &JidokaStatus
pub fn status(&self) -> &JidokaStatus
Get current status for visualization.
Sourcepub fn check(&mut self, state: &NBodyState) -> JidokaResponse
pub fn check(&mut self, state: &NBodyState) -> JidokaResponse
Check state and return response (graceful degradation).
Trait Implementations§
Source§impl Clone for OrbitJidokaGuard
impl Clone for OrbitJidokaGuard
Source§fn clone(&self) -> OrbitJidokaGuard
fn clone(&self) -> OrbitJidokaGuard
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for OrbitJidokaGuard
impl RefUnwindSafe for OrbitJidokaGuard
impl Send for OrbitJidokaGuard
impl Sync for OrbitJidokaGuard
impl Unpin for OrbitJidokaGuard
impl UnsafeUnpin for OrbitJidokaGuard
impl UnwindSafe for OrbitJidokaGuard
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