pub struct DispatcherPriorityTaskAwaitable<F: Future> { /* private fields */ }Expand description
A future that awaits another future and then resumes the awaiting code
from a dispatcher job of the requested priority, yielding the inner
future’s output. Created by Dispatcher::await_with_priority.
The awaiting code is resumed through the dispatcher even when the inner future is already complete.
Trait Implementations§
Source§impl<F: Future> Future for DispatcherPriorityTaskAwaitable<F>
impl<F: Future> Future for DispatcherPriorityTaskAwaitable<F>
impl<F: Future> Unpin for DispatcherPriorityTaskAwaitable<F>
Auto Trait Implementations§
impl<F> Freeze for DispatcherPriorityTaskAwaitable<F>
impl<F> RefUnwindSafe for DispatcherPriorityTaskAwaitable<F>
impl<F> Send for DispatcherPriorityTaskAwaitable<F>
impl<F> Sync for DispatcherPriorityTaskAwaitable<F>
impl<F> UnsafeUnpin for DispatcherPriorityTaskAwaitable<F>
impl<F> UnwindSafe for DispatcherPriorityTaskAwaitable<F>
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