pub struct WsSendRetryPolicy { /* private fields */ }Expand description
Cloneable policy for message writes. It owns no mutable attempt state.
Implementations§
Source§impl WsSendRetryPolicy
impl WsSendRetryPolicy
pub fn no_retry() -> Self
pub fn builder() -> WsSendRetryPolicyBuilder
pub fn schedule(&self) -> &RetrySchedule
pub fn retry_on(&self) -> &WsSendRetryOn
pub fn safety(&self) -> WsReplaySafety
pub fn observer(&self) -> Option<RetryObserverHandle>
Trait Implementations§
Source§impl Clone for WsSendRetryPolicy
impl Clone for WsSendRetryPolicy
Source§impl Debug for WsSendRetryPolicy
impl Debug for WsSendRetryPolicy
Auto Trait Implementations§
impl !RefUnwindSafe for WsSendRetryPolicy
impl !UnwindSafe for WsSendRetryPolicy
impl Forget for WsSendRetryPolicy
impl Freeze for WsSendRetryPolicy
impl Move for WsSendRetryPolicy
impl Send for WsSendRetryPolicy
impl Sync for WsSendRetryPolicy
impl Unpin for WsSendRetryPolicy
impl UnsafeUnpin for WsSendRetryPolicy
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