pub enum RunStatus {
Ok,
NonFinite,
Panicked,
GpuError,
Refused,
ShapeError,
TimedOut,
}Expand description
End state of a run.
Variants§
Ok
The run ended without a fault, and every sampled value was finite.
NonFinite
The run ended without a fault, and some sampled value was not finite.
Panicked
The model panicked while building or stepping.
GpuError
The device reported an error.
Refused
The host refused to build the model.
ShapeError
A sample no longer fit the stat layout the plan fixed.
TimedOut
The run passed its wall-clock timeout.
Implementations§
Trait Implementations§
impl Copy for RunStatus
impl Eq for RunStatus
impl StructuralPartialEq for RunStatus
Auto Trait Implementations§
impl Freeze for RunStatus
impl RefUnwindSafe for RunStatus
impl Send for RunStatus
impl Sync for RunStatus
impl Unpin for RunStatus
impl UnsafeUnpin for RunStatus
impl UnwindSafe for RunStatus
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