pub enum NotificationFailureKind {
Show 13 variants
InvalidRequest,
Authentication,
AuthorityRevoked,
Unsupported,
Capacity,
Backpressure,
Protocol,
SourceUnavailable,
Transport,
Timeout,
ServerDraining,
Cancelled,
SequenceExhausted,
}Expand description
A closed failure category shared by language bindings and delivery adapters.
Adapters retain the original cause separately. A category does not grant retry authority: authentication, protocol and backpressure failures are terminal by default, and transport retries require the caller’s remaining reconnect budget.
Variants§
InvalidRequest
Authentication
AuthorityRevoked
Unsupported
Capacity
Backpressure
Protocol
Transport
Timeout
ServerDraining
Cancelled
SequenceExhausted
Implementations§
Trait Implementations§
Source§impl Clone for NotificationFailureKind
impl Clone for NotificationFailureKind
impl Copy for NotificationFailureKind
Source§impl Debug for NotificationFailureKind
impl Debug for NotificationFailureKind
impl Eq for NotificationFailureKind
Source§impl Hash for NotificationFailureKind
impl Hash for NotificationFailureKind
Source§impl PartialEq for NotificationFailureKind
impl PartialEq for NotificationFailureKind
impl StructuralPartialEq for NotificationFailureKind
Auto Trait Implementations§
impl Freeze for NotificationFailureKind
impl RefUnwindSafe for NotificationFailureKind
impl Send for NotificationFailureKind
impl Sync for NotificationFailureKind
impl Unpin for NotificationFailureKind
impl UnsafeUnpin for NotificationFailureKind
impl UnwindSafe for NotificationFailureKind
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