pub struct TaskWaitOptions {
pub timeout: Duration,
pub max_attempts: u32,
}Expand description
Optional parameters for TasksResource::wait.
Fields§
§timeout: DurationBounds the wait.
max_attempts: u32Caps reconnection attempts.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TaskWaitOptions
impl RefUnwindSafe for TaskWaitOptions
impl Send for TaskWaitOptions
impl Sync for TaskWaitOptions
impl Unpin for TaskWaitOptions
impl UnsafeUnpin for TaskWaitOptions
impl UnwindSafe for TaskWaitOptions
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