#[non_exhaustive]pub enum CheckpointHeadError {
JournalTenantMismatch,
JournalRunMismatch,
}Expand description
Invalid scope in a compact checkpoint head.
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.
JournalTenantMismatch
The journal head crossed a tenant boundary.
JournalRunMismatch
The journal head named another run.
Trait Implementations§
Source§impl Clone for CheckpointHeadError
impl Clone for CheckpointHeadError
Source§impl Debug for CheckpointHeadError
impl Debug for CheckpointHeadError
Source§impl Display for CheckpointHeadError
impl Display for CheckpointHeadError
impl Eq for CheckpointHeadError
Source§impl Error for CheckpointHeadError
impl Error for CheckpointHeadError
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()
Source§impl PartialEq for CheckpointHeadError
impl PartialEq for CheckpointHeadError
impl StructuralPartialEq for CheckpointHeadError
Auto Trait Implementations§
impl Forget for CheckpointHeadError
impl Freeze for CheckpointHeadError
impl Move for CheckpointHeadError
impl RefUnwindSafe for CheckpointHeadError
impl Send for CheckpointHeadError
impl Sync for CheckpointHeadError
impl Unpin for CheckpointHeadError
impl UnsafeUnpin for CheckpointHeadError
impl UnwindSafe for CheckpointHeadError
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