#[non_exhaustive]pub enum JournalIntentError {
FenceTenantMismatch,
FenceRunMismatch,
Integrity {
source: JournalIntegrityError,
},
IntentDigestMismatch,
}Expand description
Invalid relationship or checksum in an event append intent.
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.
FenceTenantMismatch
A worker fence named another tenant.
FenceRunMismatch
A worker fence named another run.
Integrity
The typed intent digest preimage could not be canonicalized.
Fields
§
source: JournalIntegrityErrorUnderlying integrity failure.
IntentDigestMismatch
A serialized intent checksum did not match its fields.
Trait Implementations§
Source§impl Clone for JournalIntentError
impl Clone for JournalIntentError
Source§impl Debug for JournalIntentError
impl Debug for JournalIntentError
Source§impl Display for JournalIntentError
impl Display for JournalIntentError
impl Eq for JournalIntentError
Source§impl Error for JournalIntentError
impl Error for JournalIntentError
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 JournalIntentError
impl PartialEq for JournalIntentError
impl StructuralPartialEq for JournalIntentError
Auto Trait Implementations§
impl Forget for JournalIntentError
impl Freeze for JournalIntentError
impl Move for JournalIntentError
impl RefUnwindSafe for JournalIntentError
impl Send for JournalIntentError
impl Sync for JournalIntentError
impl Unpin for JournalIntentError
impl UnsafeUnpin for JournalIntentError
impl UnwindSafe for JournalIntentError
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