pub trait IAsyncOperationWithProgress_Impl<TResult, TProgress>: Sized + IAsyncInfo_Implwhere
TResult: RuntimeType + 'static,
TProgress: RuntimeType + 'static,{
// Required methods
fn SetProgress(
&self,
handler: Option<&AsyncOperationProgressHandler<TResult, TProgress>>,
) -> Result<()>;
fn Progress(
&self,
) -> Result<AsyncOperationProgressHandler<TResult, TProgress>>;
fn SetCompleted(
&self,
handler: Option<&AsyncOperationWithProgressCompletedHandler<TResult, TProgress>>,
) -> Result<()>;
fn Completed(
&self,
) -> Result<AsyncOperationWithProgressCompletedHandler<TResult, TProgress>>;
fn GetResults(&self) -> Result<TResult>;
}
Required Methods§
fn SetProgress( &self, handler: Option<&AsyncOperationProgressHandler<TResult, TProgress>>, ) -> Result<()>
fn Progress(&self) -> Result<AsyncOperationProgressHandler<TResult, TProgress>>
fn SetCompleted( &self, handler: Option<&AsyncOperationWithProgressCompletedHandler<TResult, TProgress>>, ) -> Result<()>
fn Completed( &self, ) -> Result<AsyncOperationWithProgressCompletedHandler<TResult, TProgress>>
fn GetResults(&self) -> Result<TResult>
Object Safety§
This trait is not object safe.