pub enum Wait<'d> {
Event(Identity<'d>),
Until(Deadline<'d>),
}Expand description
Driver-scoped evidence that a retained owner is waiting for an external wake or a monotonic deadline.
Variants§
Auto Trait Implementations§
impl<'d> !Send for Wait<'d>
impl<'d> !Sync for Wait<'d>
impl<'d> Forget for Wait<'d>
impl<'d> Freeze for Wait<'d>
impl<'d> Move for Wait<'d>
impl<'d> RefUnwindSafe for Wait<'d>
impl<'d> Unpin for Wait<'d>
impl<'d> UnsafeUnpin for Wait<'d>where
PhantomData<*mut &'d ()>: UnsafeUnpin,
PhantomData<(fn(&'d ()) -> &'d (), ThreadBound)>: UnsafeUnpin,
impl<'d> UnwindSafe for Wait<'d>
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