pub enum TrainingState {
Running,
Paused,
Stopping,
Completed,
Failed,
}Expand description
Live state of an attached training lifecycle.
Variants§
Running
A new step may begin at the next safe point.
Paused
New steps remain blocked until a resume or stop command is applied.
Stopping
A stop was requested and no new step may begin.
Completed
Training reached its explicit successful terminal boundary.
Failed
Training reached an explicit failure boundary.
Trait Implementations§
Source§impl Clone for TrainingState
impl Clone for TrainingState
impl Copy for TrainingState
Source§impl Debug for TrainingState
impl Debug for TrainingState
impl Eq for TrainingState
Source§impl PartialEq for TrainingState
impl PartialEq for TrainingState
impl StructuralPartialEq for TrainingState
Auto Trait Implementations§
impl Forget for TrainingState
impl Freeze for TrainingState
impl Move for TrainingState
impl RefUnwindSafe for TrainingState
impl Send for TrainingState
impl Sync for TrainingState
impl Unpin for TrainingState
impl UnsafeUnpin for TrainingState
impl UnwindSafe for TrainingState
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