pub enum Status {
Waiting,
Running {
phase: Phase,
tokens: i64,
},
Done(Box<Figures>),
Failed(String),
Skipped(String),
Stopped,
}Expand description
Where a model is in the bench.
Variants§
Waiting
Queued, not started.
Running
Running, with the tokens it has produced in this run so far.
Done(Box<Figures>)
Measured.
Failed(String)
Tried and failed, with the reason.
Skipped(String)
Never tried, with the reason.
Stopped
The bench was stopped before this model measured anything; a stop after a warm run landed keeps what it had instead.
Implementations§
Trait Implementations§
impl StructuralPartialEq for Status
Auto Trait Implementations§
impl Freeze for Status
impl RefUnwindSafe for Status
impl Send for Status
impl Sync for Status
impl Unpin for Status
impl UnsafeUnpin for Status
impl UnwindSafe for Status
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