pub enum NotifyStoreError {
Invalid(String),
NotFound,
IdempotencyConflict,
LeaseLost,
Unauthorized,
Unavailable(String),
}Expand description
Durable repository failure.
Variants§
Invalid(String)
Input failed validation.
NotFound
Notification does not exist in the tenant.
IdempotencyConflict
One idempotency key was reused for different content.
LeaseLost
A stale worker attempted to settle a newer lease.
The caller lacks dead-letter retry authority.
Storage is unavailable.
Trait Implementations§
Source§impl Clone for NotifyStoreError
impl Clone for NotifyStoreError
Source§fn clone(&self) -> NotifyStoreError
fn clone(&self) -> NotifyStoreError
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 NotifyStoreError
impl Debug for NotifyStoreError
Source§impl Display for NotifyStoreError
impl Display for NotifyStoreError
impl Eq for NotifyStoreError
Source§impl Error for NotifyStoreError
impl Error for NotifyStoreError
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 NotifyStoreError
impl PartialEq for NotifyStoreError
impl StructuralPartialEq for NotifyStoreError
Auto Trait Implementations§
impl Freeze for NotifyStoreError
impl RefUnwindSafe for NotifyStoreError
impl Send for NotifyStoreError
impl Sync for NotifyStoreError
impl Unpin for NotifyStoreError
impl UnsafeUnpin for NotifyStoreError
impl UnwindSafe for NotifyStoreError
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