Struct windows_async::AsyncOperationAwaiter
source · [−]pub struct AsyncOperationAwaiter<T> where
T: RuntimeType + 'static, { /* private fields */ }
Expand description
Wrapper type of IAsyncOperation
that post window message to executer on completed.
Implementations
sourceimpl<T> AsyncOperationAwaiter<T> where
T: RuntimeType + 'static,
impl<T> AsyncOperationAwaiter<T> where
T: RuntimeType + 'static,
pub fn new(asyncop: IAsyncOperation<T>) -> Self
Trait Implementations
sourceimpl<T: Debug> Debug for AsyncOperationAwaiter<T> where
T: RuntimeType + 'static,
impl<T: Debug> Debug for AsyncOperationAwaiter<T> where
T: RuntimeType + 'static,
sourceimpl<T> Future for AsyncOperationAwaiter<T> where
T: RuntimeType + 'static,
impl<T> Future for AsyncOperationAwaiter<T> where
T: RuntimeType + 'static,
Auto Trait Implementations
impl<T> RefUnwindSafe for AsyncOperationAwaiter<T> where
T: RefUnwindSafe,
impl<T> Send for AsyncOperationAwaiter<T>
impl<T> Sync for AsyncOperationAwaiter<T>
impl<T> Unpin for AsyncOperationAwaiter<T> where
T: Unpin,
impl<T> UnwindSafe for AsyncOperationAwaiter<T> where
T: UnwindSafe,
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.