pub enum SqsDeliveryError {
QueueNotFound(String),
InvalidArn(String),
}Expand description
Error returned by fallible SQS delivery. Used by Scheduler’s DLQ
routing, which must distinguish “target queue missing” from
“delivered successfully” to decide whether to send to the
DeadLetterConfig.Arn.
Variants§
QueueNotFound(String)
The target queue ARN did not resolve to any existing queue.
InvalidArn(String)
The ARN could not be parsed into a valid SQS queue identifier.
Trait Implementations§
Source§impl Clone for SqsDeliveryError
impl Clone for SqsDeliveryError
Source§fn clone(&self) -> SqsDeliveryError
fn clone(&self) -> SqsDeliveryError
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 SqsDeliveryError
impl Debug for SqsDeliveryError
Source§impl Display for SqsDeliveryError
impl Display for SqsDeliveryError
Source§impl Error for SqsDeliveryError
impl Error for SqsDeliveryError
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 SqsDeliveryError
impl PartialEq for SqsDeliveryError
Source§fn eq(&self, other: &SqsDeliveryError) -> bool
fn eq(&self, other: &SqsDeliveryError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for SqsDeliveryError
impl StructuralPartialEq for SqsDeliveryError
Auto Trait Implementations§
impl Freeze for SqsDeliveryError
impl RefUnwindSafe for SqsDeliveryError
impl Send for SqsDeliveryError
impl Sync for SqsDeliveryError
impl Unpin for SqsDeliveryError
impl UnsafeUnpin for SqsDeliveryError
impl UnwindSafe for SqsDeliveryError
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