pub trait IAsyncOperation_Impl<TResult>: IAsyncInfo_Implwhere
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§
fn SetCompleted( &self, handler: Ref<'_, AsyncOperationCompletedHandler<TResult>>, ) -> Result<()>
fn Completed(&self) -> Result<AsyncOperationCompletedHandler<TResult>>
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.