pub struct PollOptions {
pub max_wait: Duration,
pub initial_delay: Duration,
pub max_delay: Duration,
}Expand description
Backoff settings used by workflow helpers while waiting for Figshare.
Fields§
§max_wait: DurationMaximum total time to wait before failing.
initial_delay: DurationDelay before the first retry.
max_delay: DurationMaximum delay between retries.
Trait Implementations§
Source§impl Clone for PollOptions
impl Clone for PollOptions
Source§fn clone(&self) -> PollOptions
fn clone(&self) -> PollOptions
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 moreSource§impl Debug for PollOptions
impl Debug for PollOptions
Source§impl Default for PollOptions
impl Default for PollOptions
Source§impl PartialEq for PollOptions
impl PartialEq for PollOptions
impl Eq for PollOptions
impl StructuralPartialEq for PollOptions
Auto Trait Implementations§
impl Freeze for PollOptions
impl RefUnwindSafe for PollOptions
impl Send for PollOptions
impl Sync for PollOptions
impl Unpin for PollOptions
impl UnsafeUnpin for PollOptions
impl UnwindSafe for PollOptions
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