pub enum RetryClass {
Normal,
NonRetryable,
CredentialsRequired,
Transient,
Unknown,
}Expand description
What a client should do after a terminal application close.
Variants§
Normal
The peer closed normally. Reconnect only when the application intends to continue consuming the feed.
NonRetryable
The same request is invalid or permanently unsupported.
CredentialsRequired
Obtain or refresh credentials before opening another connection.
Transient
Retry with bounded, jittered backoff.
Unknown
A future or private close code not known to this SDK version.
Trait Implementations§
Source§impl Clone for RetryClass
impl Clone for RetryClass
Source§fn clone(&self) -> RetryClass
fn clone(&self) -> RetryClass
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 moreimpl Copy for RetryClass
Source§impl Debug for RetryClass
impl Debug for RetryClass
impl Eq for RetryClass
Source§impl PartialEq for RetryClass
impl PartialEq for RetryClass
impl StructuralPartialEq for RetryClass
Auto Trait Implementations§
impl Freeze for RetryClass
impl RefUnwindSafe for RetryClass
impl Send for RetryClass
impl Sync for RetryClass
impl Unpin for RetryClass
impl UnsafeUnpin for RetryClass
impl UnwindSafe for RetryClass
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