pub enum OutboxError {
AttemptCount(OutboxAttemptCountError),
AckOnDeadLettered(OutboxLifecycle),
NackOnDeadLettered(OutboxLifecycle),
ExtendLeaseOnDeadLettered(OutboxLifecycle),
AcquireLeaseOnDeadLettered(OutboxLifecycle),
ExtendLeaseOnNonLeased(OutboxState),
AcquireLeaseOnNonPending(OutboxState),
}Variants§
AttemptCount(OutboxAttemptCountError)
AckOnDeadLettered(OutboxLifecycle)
NackOnDeadLettered(OutboxLifecycle)
ExtendLeaseOnDeadLettered(OutboxLifecycle)
AcquireLeaseOnDeadLettered(OutboxLifecycle)
ExtendLeaseOnNonLeased(OutboxState)
AcquireLeaseOnNonPending(OutboxState)
Trait Implementations§
Source§impl Debug for OutboxError
impl Debug for OutboxError
Source§impl Display for OutboxError
impl Display for OutboxError
Source§impl Error for OutboxError
impl Error for OutboxError
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<OutboxAttemptCountError> for OutboxError
impl From<OutboxAttemptCountError> for OutboxError
Source§fn from(source: OutboxAttemptCountError) -> Self
fn from(source: OutboxAttemptCountError) -> Self
Converts to this type from the input type.
Source§impl From<OutboxError> for OutboxRelayError
impl From<OutboxError> for OutboxRelayError
Source§fn from(source: OutboxError) -> Self
fn from(source: OutboxError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for OutboxError
impl RefUnwindSafe for OutboxError
impl Send for OutboxError
impl Sync for OutboxError
impl Unpin for OutboxError
impl UnwindSafe for OutboxError
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