pub struct DispatcherPriorityAwaitable { /* private fields */ }Expand description
A future that completes after the dispatcher has processed a job at the
requested priority, which resumes the awaiting code from the dispatcher
thread. Created by Dispatcher::resume and Dispatcher::yield_now.
Like its counterpart in the reference implementation it is never complete when first awaited.
Trait Implementations§
Source§impl Future for DispatcherPriorityAwaitable
impl Future for DispatcherPriorityAwaitable
Auto Trait Implementations§
impl Freeze for DispatcherPriorityAwaitable
impl RefUnwindSafe for DispatcherPriorityAwaitable
impl Send for DispatcherPriorityAwaitable
impl Sync for DispatcherPriorityAwaitable
impl Unpin for DispatcherPriorityAwaitable
impl UnsafeUnpin for DispatcherPriorityAwaitable
impl UnwindSafe for DispatcherPriorityAwaitable
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
Source§impl<T> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read moreSource§impl<F> IntoFuture for Fwhere
F: Future,
impl<F> IntoFuture for Fwhere
F: Future,
Source§type IntoFuture = F
type IntoFuture = F
Which kind of future are we turning this into?
Source§fn into_future(self) -> <F as IntoFuture>::IntoFuture
fn into_future(self) -> <F as IntoFuture>::IntoFuture
Creates a future from a value. Read more