pub struct WsRequestRetryPolicy { /* private fields */ }Expand description
One schedule and replay permission for write, response-timeout and business retries.
Implementations§
Source§impl WsRequestRetryPolicy
impl WsRequestRetryPolicy
pub fn no_retry() -> Self
pub fn builder() -> WsRequestRetryPolicyBuilder
pub fn schedule(&self) -> &RetrySchedule
pub fn retry_on(&self) -> &WsRequestRetryOn
pub fn safety(&self) -> WsReplaySafety
pub fn observer(&self) -> Option<RetryObserverHandle>
Trait Implementations§
Source§impl Clone for WsRequestRetryPolicy
impl Clone for WsRequestRetryPolicy
Source§impl Debug for WsRequestRetryPolicy
impl Debug for WsRequestRetryPolicy
Auto Trait Implementations§
impl !RefUnwindSafe for WsRequestRetryPolicy
impl !UnwindSafe for WsRequestRetryPolicy
impl Freeze for WsRequestRetryPolicy
impl Send for WsRequestRetryPolicy
impl Sync for WsRequestRetryPolicy
impl Unpin for WsRequestRetryPolicy
impl UnsafeUnpin for WsRequestRetryPolicy
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