Trait IAsyncOperationWithProgress_Impl

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

Required Methods§

Source

fn SetProgress( &self, handler: Ref<'_, AsyncOperationProgressHandler<TResult, TProgress>>, ) -> Result<()>

Source

fn Progress(&self) -> Result<AsyncOperationProgressHandler<TResult, TProgress>>

Source

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

Source

fn Completed( &self, ) -> Result<AsyncOperationWithProgressCompletedHandler<TResult, TProgress>>

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§