Trait IAsyncOperation_Impl

Source
pub trait IAsyncOperation_Impl<TResult>: IAsyncInfo_Impl
where TResult: RuntimeType + 'static,
{ // Required methods fn SetCompleted( &self, handler: Ref<'_, AsyncOperationCompletedHandler<TResult>>, ) -> Result<()>; fn Completed(&self) -> Result<AsyncOperationCompletedHandler<TResult>>; fn GetResults(&self) -> Result<TResult>; }

Required Methods§

Source

fn SetCompleted( &self, handler: Ref<'_, AsyncOperationCompletedHandler<TResult>>, ) -> Result<()>

Source

fn Completed(&self) -> Result<AsyncOperationCompletedHandler<TResult>>

Source

fn GetResults(&self) -> Result<TResult>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§