pub enum CheckpointError {
SaveFailed {
task_id: String,
message: String,
},
LoadFailed {
task_id: String,
message: String,
},
Serialization(Error),
StorageError {
message: String,
},
ValidationFailed {
message: String,
},
}Expand description
Errors that can occur during task checkpointing.
Checkpoint errors occur when tasks attempt to save intermediate state for recovery purposes.
Variants§
SaveFailed
Failed to save checkpoint
LoadFailed
Failed to load checkpoint
Serialization(Error)
Checkpoint serialization error
StorageError
Checkpoint storage error
ValidationFailed
Checkpoint validation failed
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§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for CheckpointError
impl !RefUnwindSafe for CheckpointError
impl Send for CheckpointError
impl Sync for CheckpointError
impl Unpin for CheckpointError
impl !UnwindSafe for CheckpointError
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more