#[non_exhaustive]pub enum CheckpointErrorKind {
NotFound,
Conflict,
InvalidPayload,
Storage,
}Expand description
Normalized checkpoint storage failure category.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
NotFound
The requested checkpoint does not exist.
Conflict
A create or revision precondition failed.
InvalidPayload
Serialized state violated its domain schema.
Storage
The backing store failed.
Trait Implementations§
Source§impl Clone for CheckpointErrorKind
impl Clone for CheckpointErrorKind
Source§fn clone(&self) -> CheckpointErrorKind
fn clone(&self) -> CheckpointErrorKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CheckpointErrorKind
impl Debug for CheckpointErrorKind
impl Eq for CheckpointErrorKind
Source§impl PartialEq for CheckpointErrorKind
impl PartialEq for CheckpointErrorKind
impl StructuralPartialEq for CheckpointErrorKind
Auto Trait Implementations§
impl Freeze for CheckpointErrorKind
impl RefUnwindSafe for CheckpointErrorKind
impl Send for CheckpointErrorKind
impl Sync for CheckpointErrorKind
impl Unpin for CheckpointErrorKind
impl UnsafeUnpin for CheckpointErrorKind
impl UnwindSafe for CheckpointErrorKind
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