pub struct WaitOptions {
pub timeout: Duration,
}
Expand description
Options available for waiting on a Waitable
.
Fields§
§timeout: Duration
Timeout in milliseconds for the wait operation.
Trait Implementations§
Source§impl Clone for WaitOptions
impl Clone for WaitOptions
Source§fn clone(&self) -> WaitOptions
fn clone(&self) -> WaitOptions
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 WaitOptions
impl Debug for WaitOptions
Auto Trait Implementations§
impl Freeze for WaitOptions
impl RefUnwindSafe for WaitOptions
impl Send for WaitOptions
impl Sync for WaitOptions
impl Unpin for WaitOptions
impl UnwindSafe for WaitOptions
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