pub struct NoopLifecycle;Expand description
No-op contributor.
Trait Implementations§
Source§impl Clone for NoopLifecycle
impl Clone for NoopLifecycle
Source§fn clone(&self) -> NoopLifecycle
fn clone(&self) -> NoopLifecycle
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 moreimpl Copy for NoopLifecycle
Source§impl Debug for NoopLifecycle
impl Debug for NoopLifecycle
Source§impl Default for NoopLifecycle
impl Default for NoopLifecycle
Source§fn default() -> NoopLifecycle
fn default() -> NoopLifecycle
Returns the “default value” for a type. Read more
Source§impl TurnLifecycleContributor for NoopLifecycle
impl TurnLifecycleContributor for NoopLifecycle
Source§fn on_turn_start(&self, _run_id: &RunId)
fn on_turn_start(&self, _run_id: &RunId)
Called when a turn begins (after run id is assigned).
Source§fn on_turn_done(&self, _run_id: &RunId, _steps: usize)
fn on_turn_done(&self, _run_id: &RunId, _steps: usize)
Called when a turn completes successfully.
Source§fn on_turn_abort(&self, _run_id: &RunId, _reason: &TurnAbortReason)
fn on_turn_abort(&self, _run_id: &RunId, _reason: &TurnAbortReason)
Called when a turn aborts (cancel / deadline / max steps / stationarity / …).
Source§fn on_turn_error(&self, _run_id: &RunId, _err: &MachiError)
fn on_turn_error(&self, _run_id: &RunId, _err: &MachiError)
Called when a turn ends with a returned error (non-cancelled path).
Auto Trait Implementations§
impl Freeze for NoopLifecycle
impl RefUnwindSafe for NoopLifecycle
impl Send for NoopLifecycle
impl Sync for NoopLifecycle
impl Unpin for NoopLifecycle
impl UnsafeUnpin for NoopLifecycle
impl UnwindSafe for NoopLifecycle
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