[−][src]Trait winrt::RtAsyncOperation
Extension for IAsyncOperation
with helper methods.
Associated Types
type TResult
Required methods
fn get_results(&self) -> Result<Self::TResult>
Provided methods
fn blocking_get(&self) -> Result<Self::TResult>
Waits for the asynchronous operation to complete, blocking the current thread, then return the result.
Implementors
impl<T: RtType + 'static> RtAsyncOperation for IAsyncOperation<T> where
AsyncOperationCompletedHandler<T>: ComIid,
[src]
AsyncOperationCompletedHandler<T>: ComIid,
type TResult = <T as RtType>::Out
fn get_results(&self) -> Result<Self::TResult>
[src]
fn blocking_get(&self) -> Result<Self::TResult>
[src]
impl<T: RtType + 'static, P: RtType + 'static> RtAsyncOperation for IAsyncOperationWithProgress<T, P> where
AsyncOperationWithProgressCompletedHandler<T, P>: ComIid,
[src]
AsyncOperationWithProgressCompletedHandler<T, P>: ComIid,