pub struct WsSendRetryPolicyBuilder { /* private fields */ }Implementations§
Source§impl WsSendRetryPolicyBuilder
impl WsSendRetryPolicyBuilder
pub fn schedule(self, schedule: RetrySchedule) -> Self
pub fn retry_on(self, retry_on: WsSendRetryOn) -> 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<WsSendRetryPolicy, RetryConfigError>
Auto Trait Implementations§
impl !RefUnwindSafe for WsSendRetryPolicyBuilder
impl !UnwindSafe for WsSendRetryPolicyBuilder
impl Forget for WsSendRetryPolicyBuilder
impl Freeze for WsSendRetryPolicyBuilder
impl Move for WsSendRetryPolicyBuilder
impl Send for WsSendRetryPolicyBuilder
impl Sync for WsSendRetryPolicyBuilder
impl Unpin for WsSendRetryPolicyBuilder
impl UnsafeUnpin for WsSendRetryPolicyBuilder
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