pub enum JidokaStop {
InvalidHeader,
SignatureFailed,
ChecksumFailed,
WcetViolation,
FairnessViolation,
QualityGateFailed {
score: u8,
threshold: u8,
},
}Expand description
Jidoka enforcement points in the loading pipeline
Variants§
InvalidHeader
Header magic/version mismatch - stop immediately
SignatureFailed
Signature verification failed - stop, alert security
ChecksumFailed
Checksum mismatch - stop, data corrupted
WcetViolation
WCET budget exceeded - stop, unsafe for deployment
FairnessViolation
Fairness threshold breached - stop, ethical concern
QualityGateFailed
Model score below threshold - stop, quality gate
Implementations§
Source§impl JidokaStop
impl JidokaStop
Sourcepub const fn requires_human_review(&self) -> bool
pub const fn requires_human_review(&self) -> bool
All stops are non-recoverable without human intervention (Andon cord)
Sourcepub fn description(&self) -> String
pub fn description(&self) -> String
Get description of the stop
Trait Implementations§
Source§impl Clone for JidokaStop
impl Clone for JidokaStop
Source§fn clone(&self) -> JidokaStop
fn clone(&self) -> JidokaStop
Returns a duplicate of the value. Read more
1.0.0 · 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 JidokaStop
impl RefUnwindSafe for JidokaStop
impl Send for JidokaStop
impl Sync for JidokaStop
impl Unpin for JidokaStop
impl UnsafeUnpin for JidokaStop
impl UnwindSafe for JidokaStop
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<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more