pub struct WsRequestRetryPolicyBuilder { /* private fields */ }Implementations§
Source§impl WsRequestRetryPolicyBuilder
impl WsRequestRetryPolicyBuilder
pub fn schedule(self, schedule: RetrySchedule) -> Self
pub fn retry_on(self, retry_on: WsRequestRetryOn) -> Self
pub fn safety(self, safety: WsReplaySafety) -> Self
pub fn observer(self, observer: impl RetryObserver) -> Self
pub fn classifier<F>(self, classifier: F) -> Self
pub fn build(self) -> Result<WsRequestRetryPolicy, RetryConfigError>
Auto Trait Implementations§
impl !RefUnwindSafe for WsRequestRetryPolicyBuilder
impl !UnwindSafe for WsRequestRetryPolicyBuilder
impl Forget for WsRequestRetryPolicyBuilder
impl Freeze for WsRequestRetryPolicyBuilder
impl Move for WsRequestRetryPolicyBuilder
impl Send for WsRequestRetryPolicyBuilder
impl Sync for WsRequestRetryPolicyBuilder
impl Unpin for WsRequestRetryPolicyBuilder
impl UnsafeUnpin for WsRequestRetryPolicyBuilder
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