Struct WaitOptions
pub struct WaitOptions {
pub timeout: Option<Duration>,
}Expand description
How a signal is waited for.
Fields§
§timeout: Option<Duration>The wait ends with None once this long passes.
Trait Implementations§
§impl Clone for WaitOptions
impl Clone for WaitOptions
§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 more§impl Debug for WaitOptions
impl Debug for WaitOptions
§impl Default for WaitOptions
impl Default for WaitOptions
§fn default() -> WaitOptions
fn default() -> WaitOptions
Returns the “default value” for a type. Read more
§impl PartialEq for WaitOptions
impl PartialEq for WaitOptions
impl Eq for WaitOptions
impl StructuralPartialEq 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 UnsafeUnpin 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