Struct windows::Foundation::IAsyncOperationWithProgress
#[repr(transparent)]pub struct IAsyncOperationWithProgress<TResult, TProgress>(_, _, _)
where
TResult: RuntimeType + 'static,
TProgress: RuntimeType + 'static;
Expand description
Required features: "Foundation"
Implementations§
§impl<TResult: RuntimeType + 'static, TProgress: RuntimeType + 'static> IAsyncOperationWithProgress<TResult, TProgress>
impl<TResult: RuntimeType + 'static, TProgress: RuntimeType + 'static> IAsyncOperationWithProgress<TResult, TProgress>
pub fn SetProgress( &self, handler: &AsyncOperationProgressHandler<TResult, TProgress> ) -> Result<()>
pub fn Progress( &self ) -> Result<AsyncOperationProgressHandler<TResult, TProgress>>
pub fn SetCompleted( &self, handler: &AsyncOperationWithProgressCompletedHandler<TResult, TProgress> ) -> Result<()>
pub fn Completed( &self ) -> Result<AsyncOperationWithProgressCompletedHandler<TResult, TProgress>>
pub fn GetResults(&self) -> Result<TResult>
pub fn Id(&self) -> Result<u32>
pub fn Status(&self) -> Result<AsyncStatus>
pub fn ErrorCode(&self) -> Result<HRESULT>
pub fn Cancel(&self) -> Result<()>
pub fn Close(&self) -> Result<()>
§impl<TResult: RuntimeType + 'static, TProgress: RuntimeType + 'static> IAsyncOperationWithProgress<TResult, TProgress>
impl<TResult: RuntimeType + 'static, TProgress: RuntimeType + 'static> IAsyncOperationWithProgress<TResult, TProgress>
Trait Implementations§
§impl<TResult: RuntimeType + 'static, TProgress: RuntimeType + 'static> Clone for IAsyncOperationWithProgress<TResult, TProgress>
impl<TResult: RuntimeType + 'static, TProgress: RuntimeType + 'static> Clone for IAsyncOperationWithProgress<TResult, TProgress>
§impl<TResult: RuntimeType + 'static, TProgress: RuntimeType + 'static> ComInterface for IAsyncOperationWithProgress<TResult, TProgress>
impl<TResult: RuntimeType + 'static, TProgress: RuntimeType + 'static> ComInterface for IAsyncOperationWithProgress<TResult, TProgress>
§impl<TResult: RuntimeType + 'static, TProgress: RuntimeType + 'static> Debug for IAsyncOperationWithProgress<TResult, TProgress>
impl<TResult: RuntimeType + 'static, TProgress: RuntimeType + 'static> Debug for IAsyncOperationWithProgress<TResult, TProgress>
§impl<TResult: RuntimeType + 'static, TProgress: RuntimeType + 'static> Future for IAsyncOperationWithProgress<TResult, TProgress>
impl<TResult: RuntimeType + 'static, TProgress: RuntimeType + 'static> Future for IAsyncOperationWithProgress<TResult, TProgress>
§impl<TResult: RuntimeType + 'static, TProgress: RuntimeType + 'static> PartialEq<IAsyncOperationWithProgress<TResult, TProgress>> for IAsyncOperationWithProgress<TResult, TProgress>
impl<TResult: RuntimeType + 'static, TProgress: RuntimeType + 'static> PartialEq<IAsyncOperationWithProgress<TResult, TProgress>> for IAsyncOperationWithProgress<TResult, TProgress>
impl<TResult: RuntimeType + 'static, TProgress: RuntimeType + 'static> Eq for IAsyncOperationWithProgress<TResult, TProgress>
impl<TResult: RuntimeType + 'static, TProgress: RuntimeType + 'static> Send for IAsyncOperationWithProgress<TResult, TProgress>
impl<TResult: RuntimeType + 'static, TProgress: RuntimeType + 'static> Sync for IAsyncOperationWithProgress<TResult, TProgress>
Auto Trait Implementations§
impl<TResult, TProgress> RefUnwindSafe for IAsyncOperationWithProgress<TResult, TProgress>where TProgress: RefUnwindSafe, TResult: RefUnwindSafe,
impl<TResult, TProgress> Unpin for IAsyncOperationWithProgress<TResult, TProgress>where TProgress: Unpin, TResult: Unpin,
impl<TResult, TProgress> UnwindSafe for IAsyncOperationWithProgress<TResult, TProgress>where TProgress: UnwindSafe, TResult: UnwindSafe,
Blanket Implementations§
source§impl<F> IntoFuture for Fwhere
F: Future,
impl<F> IntoFuture for Fwhere F: Future,
§type IntoFuture = F
type IntoFuture = F
Which kind of future are we turning this into?
source§fn into_future(self) -> <F as IntoFuture>::IntoFuture
fn into_future(self) -> <F as IntoFuture>::IntoFuture
Creates a future from a value. Read more