pub struct EnqueueAndWaitOpts {
pub timeout: Option<Duration>,
pub signal: Option<CancellationToken>,
}Fields§
§timeout: Option<Duration>§signal: Option<CancellationToken>Trait Implementations§
Source§impl Clone for EnqueueAndWaitOpts
impl Clone for EnqueueAndWaitOpts
Source§fn clone(&self) -> EnqueueAndWaitOpts
fn clone(&self) -> EnqueueAndWaitOpts
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 EnqueueAndWaitOpts
impl Debug for EnqueueAndWaitOpts
Source§impl Default for EnqueueAndWaitOpts
impl Default for EnqueueAndWaitOpts
Source§fn default() -> EnqueueAndWaitOpts
fn default() -> EnqueueAndWaitOpts
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for EnqueueAndWaitOpts
impl RefUnwindSafe for EnqueueAndWaitOpts
impl Send for EnqueueAndWaitOpts
impl Sync for EnqueueAndWaitOpts
impl Unpin for EnqueueAndWaitOpts
impl UnsafeUnpin for EnqueueAndWaitOpts
impl UnwindSafe for EnqueueAndWaitOpts
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