pub enum CheckpointError {
NotFound(CheckpointId),
SerializationError(String),
DeserializationError(String),
StorageError(String),
InvalidCheckpoint(String),
StoreNotConfigured,
}Expand description
Error types for checkpoint operations
Variants§
NotFound(CheckpointId)
Checkpoint not found
SerializationError(String)
Serialization error
DeserializationError(String)
Deserialization error
StorageError(String)
Storage I/O error
InvalidCheckpoint(String)
Invalid checkpoint data
StoreNotConfigured
Checkpoint store not configured
Trait Implementations§
Source§impl Clone for CheckpointError
impl Clone for CheckpointError
Source§fn clone(&self) -> CheckpointError
fn clone(&self) -> CheckpointError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§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
1.30.0 · 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()
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§
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