#[non_exhaustive]pub enum OutboxDeliveryError {
DestinationTenantMismatch,
OriginTenantMismatch,
OriginRunMismatch,
OriginEventMismatch,
DeadlineNotAfterOrigin,
IntentDigestMismatch,
DeliveryDigestMismatch,
Integrity {
source: OutboxDeliveryIntegrityError,
},
}Expand description
Invalid delivery scope, atomic origin binding, deadline, or checksum.
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.
DestinationTenantMismatch
Destination reference crossed the enqueue tenant boundary.
OriginTenantMismatch
Origin journal crossed the enqueue tenant boundary.
OriginRunMismatch
Origin journal named another run.
OriginEventMismatch
The committed journal event differed from the requested origin event.
DeadlineNotAfterOrigin
The delivery deadline was not strictly after the origin commit time.
IntentDigestMismatch
Persisted enqueue checksum did not match its fields.
DeliveryDigestMismatch
Persisted committed-delivery checksum did not match its fields.
Integrity
Canonical integrity material could not be serialized.
Fields
§
source: OutboxDeliveryIntegrityErrorExact integrity failure.
Trait Implementations§
Source§impl Clone for OutboxDeliveryError
impl Clone for OutboxDeliveryError
Source§impl Debug for OutboxDeliveryError
impl Debug for OutboxDeliveryError
Source§impl Display for OutboxDeliveryError
impl Display for OutboxDeliveryError
impl Eq for OutboxDeliveryError
Source§impl Error for OutboxDeliveryError
impl Error for OutboxDeliveryError
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 From<OutboxDeliveryIntegrityError> for OutboxDeliveryError
impl From<OutboxDeliveryIntegrityError> for OutboxDeliveryError
Source§fn from(source: OutboxDeliveryIntegrityError) -> Self
fn from(source: OutboxDeliveryIntegrityError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for OutboxDeliveryError
impl PartialEq for OutboxDeliveryError
impl StructuralPartialEq for OutboxDeliveryError
Auto Trait Implementations§
impl Forget for OutboxDeliveryError
impl Freeze for OutboxDeliveryError
impl Move for OutboxDeliveryError
impl RefUnwindSafe for OutboxDeliveryError
impl Send for OutboxDeliveryError
impl Sync for OutboxDeliveryError
impl Unpin for OutboxDeliveryError
impl UnsafeUnpin for OutboxDeliveryError
impl UnwindSafe for OutboxDeliveryError
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