pub struct SyncDeferredResponsePoller { /* private fields */ }Expand description
Blocking wrapper for DeferredResponsePoller.
Implementations§
Source§impl SyncDeferredResponsePoller
impl SyncDeferredResponsePoller
Sourcepub fn max_attempts(self, max_attempts: u32) -> Self
pub fn max_attempts(self, max_attempts: u32) -> Self
Set max polling attempts.
Sourcepub fn poll_interval(self, interval: Duration) -> Self
pub fn poll_interval(self, interval: Duration) -> Self
Set a fixed polling interval.
Sourcepub fn poll_backoff(self, initial: Duration, max: Duration) -> Self
pub fn poll_backoff(self, initial: Duration, max: Duration) -> Self
Set exponential polling backoff bounds.
Trait Implementations§
Source§impl Clone for SyncDeferredResponsePoller
impl Clone for SyncDeferredResponsePoller
Source§fn clone(&self) -> SyncDeferredResponsePoller
fn clone(&self) -> SyncDeferredResponsePoller
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for SyncDeferredResponsePoller
impl !RefUnwindSafe for SyncDeferredResponsePoller
impl Send for SyncDeferredResponsePoller
impl Sync for SyncDeferredResponsePoller
impl Unpin for SyncDeferredResponsePoller
impl UnsafeUnpin for SyncDeferredResponsePoller
impl !UnwindSafe for SyncDeferredResponsePoller
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