pub enum TrainingCommandKind {
Pause,
Resume,
Stop,
Checkpoint,
Evaluate,
SetParameter,
RequestRecapture,
RequestRebuild,
}Expand description
Kind of command applied at a training safe point.
Variants§
Pause
Pause before another step begins.
Resume
Resume a paused lifecycle.
Stop
Stop before another step begins.
Checkpoint
Invoke the attached checkpoint handler.
Evaluate
Invoke the attached evaluation handler.
SetParameter
Change one registered parameter.
RequestRecapture
Discard the captured program so the next automatic step recaptures it.
RequestRebuild
Invoke the attached rebuild handler.
Trait Implementations§
Source§impl Clone for TrainingCommandKind
impl Clone for TrainingCommandKind
impl Copy for TrainingCommandKind
Source§impl Debug for TrainingCommandKind
impl Debug for TrainingCommandKind
impl Eq for TrainingCommandKind
Source§impl PartialEq for TrainingCommandKind
impl PartialEq for TrainingCommandKind
impl StructuralPartialEq for TrainingCommandKind
Auto Trait Implementations§
impl Forget for TrainingCommandKind
impl Freeze for TrainingCommandKind
impl Move for TrainingCommandKind
impl RefUnwindSafe for TrainingCommandKind
impl Send for TrainingCommandKind
impl Sync for TrainingCommandKind
impl Unpin for TrainingCommandKind
impl UnsafeUnpin for TrainingCommandKind
impl UnwindSafe for TrainingCommandKind
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