pub enum CheckpointStoreError {
Storage(String),
NotFound(CheckpointId),
Corrupted(String),
}Expand description
Checkpoint 存储操作错误。
Variants§
Trait Implementations§
Source§impl Debug for CheckpointStoreError
impl Debug for CheckpointStoreError
Source§impl Display for CheckpointStoreError
impl Display for CheckpointStoreError
Source§impl Error for CheckpointStoreError
impl Error for CheckpointStoreError
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 CheckpointStoreError
impl RefUnwindSafe for CheckpointStoreError
impl Send for CheckpointStoreError
impl Sync for CheckpointStoreError
impl Unpin for CheckpointStoreError
impl UnsafeUnpin for CheckpointStoreError
impl UnwindSafe for CheckpointStoreError
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