pub enum SendRetryPolicy {
Never,
Idempotent {
max_retries: u32,
},
}Expand description
Retry strategy for business-message write failures, configured independently of the connection’s own reconnect policy.
Variants§
Never
Do not retry business messages that have already been attempted to be sent.
Idempotent
The application declares that redelivery is safe and allows resends within the configurable scope.
Trait Implementations§
Source§impl Clone for SendRetryPolicy
impl Clone for SendRetryPolicy
Source§impl Debug for SendRetryPolicy
impl Debug for SendRetryPolicy
Auto Trait Implementations§
impl Freeze for SendRetryPolicy
impl RefUnwindSafe for SendRetryPolicy
impl Send for SendRetryPolicy
impl Sync for SendRetryPolicy
impl Unpin for SendRetryPolicy
impl UnsafeUnpin for SendRetryPolicy
impl UnwindSafe for SendRetryPolicy
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