Struct windows_async::AsyncActionAwaiter
source · [−]pub struct AsyncActionAwaiter { /* private fields */ }
Expand description
Wrapper type of IAsyncAction
that post window message to executer on completed.
Implementations
sourceimpl AsyncActionAwaiter
impl AsyncActionAwaiter
pub fn new(asyncact: IAsyncAction) -> Self
Trait Implementations
sourceimpl Debug for AsyncActionAwaiter
impl Debug for AsyncActionAwaiter
sourceimpl Future for AsyncActionAwaiter
impl Future for AsyncActionAwaiter
Auto Trait Implementations
impl RefUnwindSafe for AsyncActionAwaiter
impl Send for AsyncActionAwaiter
impl Sync for AsyncActionAwaiter
impl Unpin for AsyncActionAwaiter
impl UnwindSafe for AsyncActionAwaiter
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<F> IntoFuture for F where
F: Future,
impl<F> IntoFuture for F where
F: Future,
type Output = <F as Future>::Output
type Output = <F as Future>::Output
🔬 This is a nightly-only experimental API. (
into_future
)The output that the future will produce on completion.
type Future = F
type Future = F
🔬 This is a nightly-only experimental API. (
into_future
)Which kind of future are we turning this into?
sourcefn into_future(self) -> <F as IntoFuture>::Future
fn into_future(self) -> <F as IntoFuture>::Future
🔬 This is a nightly-only experimental API. (
into_future
)Creates a future from a value.