pub struct HuntEngine { /* private fields */ }Expand description
Main Hunt Mode engine that orchestrates the PDCA cycle
Implementations§
Source§impl HuntEngine
impl HuntEngine
Sourcepub fn new(config: HuntConfig) -> Self
pub fn new(config: HuntConfig) -> Self
Create a new Hunt Mode engine with the given configuration
Sourcepub fn run_cycle(&mut self) -> Result<CycleOutcome>
pub fn run_cycle(&mut self) -> Result<CycleOutcome>
Run a single PDCA cycle
Returns the outcome of the cycle for Hansei reflection
Sourcepub fn run_until_complete(&mut self) -> Result<Vec<CycleOutcome>>
pub fn run_until_complete(&mut self) -> Result<Vec<CycleOutcome>>
Run Hunt Mode until target rate achieved or plateau detected
Sourcepub fn andon_status(&self) -> &AndonStatus
pub fn andon_status(&self) -> &AndonStatus
Get current Andon status
Sourcepub fn metrics(&self) -> &KaizenMetrics
pub fn metrics(&self) -> &KaizenMetrics
Get current Kaizen metrics
Sourcepub fn export_lessons(&self) -> Vec<Lesson>
pub fn export_lessons(&self) -> Vec<Lesson>
Export Hansei lessons learned
Auto Trait Implementations§
impl Freeze for HuntEngine
impl !RefUnwindSafe for HuntEngine
impl Send for HuntEngine
impl Sync for HuntEngine
impl Unpin for HuntEngine
impl !UnwindSafe for HuntEngine
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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