pub enum CheckpointError {
Io(Error),
Serde(Error),
Recorder(RecorderError),
ArtifactMismatch(String),
MissingBestValidationArtifact(PathBuf),
ModelVariantMismatch {
variant: ModelVariant,
actual_model: &'static str,
},
}Variants§
Io(Error)
Serde(Error)
Recorder(RecorderError)
ArtifactMismatch(String)
MissingBestValidationArtifact(PathBuf)
ModelVariantMismatch
Trait Implementations§
Source§impl Debug for CheckpointError
impl Debug for CheckpointError
Source§impl Display for CheckpointError
impl Display for CheckpointError
Source§impl Error for CheckpointError
impl Error for CheckpointError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<Error> for CheckpointError
impl From<Error> for CheckpointError
Source§impl From<Error> for CheckpointError
impl From<Error> for CheckpointError
Source§impl From<RecorderError> for CheckpointError
impl From<RecorderError> for CheckpointError
Source§fn from(error: RecorderError) -> Self
fn from(error: RecorderError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CheckpointError
impl !RefUnwindSafe for CheckpointError
impl Send for CheckpointError
impl Sync for CheckpointError
impl Unpin for CheckpointError
impl UnsafeUnpin for CheckpointError
impl !UnwindSafe for CheckpointError
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