Struct winrt::windows::foundation::IAsyncOperationWithProgress
[−]
[src]
#[repr(C)]pub struct IAsyncOperationWithProgress<TResult, TProgress> where
TResult: RtType,
TProgress: RtType, { /* fields omitted */ }
Methods
impl<TResult: RtType, TProgress: RtType> IAsyncOperationWithProgress<TResult, TProgress>
[src]
unsafe fn set_progress(
&self,
handler: &AsyncOperationProgressHandler<TResult, TProgress>
) -> Result<()>
&self,
handler: &AsyncOperationProgressHandler<TResult, TProgress>
) -> Result<()>
unsafe fn get_progress(
&self
) -> Result<ComPtr<AsyncOperationProgressHandler<TResult, TProgress>>>
&self
) -> Result<ComPtr<AsyncOperationProgressHandler<TResult, TProgress>>>
unsafe fn set_completed(
&self,
handler: &AsyncOperationWithProgressCompletedHandler<TResult, TProgress>
) -> Result<()>
&self,
handler: &AsyncOperationWithProgressCompletedHandler<TResult, TProgress>
) -> Result<()>
unsafe fn get_completed(
&self
) -> Result<ComPtr<AsyncOperationWithProgressCompletedHandler<TResult, TProgress>>>
&self
) -> Result<ComPtr<AsyncOperationWithProgressCompletedHandler<TResult, TProgress>>>
unsafe fn get_results(&self) -> Result<TResult::Out>
Methods from Deref<Target = IInspectable>
fn get_iids(&self) -> ComArray<Guid>
Returns the interfaces that are implemented by the current Windows Runtime object.
fn get_trust_level(&self) -> TrustLevel
Returns the trust level of the current Windows Runtime object.
Trait Implementations
impl<T: RtType + 'static, P: RtType + 'static> RtAsyncAction for IAsyncOperationWithProgress<T, P> where
AsyncOperationWithProgressCompletedHandler<T, P>: ComIid,
[src]
AsyncOperationWithProgressCompletedHandler<T, P>: ComIid,
fn blocking_wait(&self)
impl<T: RtType + 'static, P: RtType + 'static> RtAsyncOperation for IAsyncOperationWithProgress<T, P> where
AsyncOperationWithProgressCompletedHandler<T, P>: ComIid,
[src]
AsyncOperationWithProgressCompletedHandler<T, P>: ComIid,
type TResult = <T as RtType>::Out
fn get_results(&self) -> Self::TResult
fn blocking_get(&self) -> Self::TResult
impl<TResult, TProgress> ComInterface for IAsyncOperationWithProgress<TResult, TProgress> where
TResult: RtType,
TProgress: RtType,
[src]
TResult: RtType,
TProgress: RtType,
type Vtbl = IAsyncOperationWithProgressVtbl<TResult, TProgress>
The type that defines the VTable of this interface.
impl<TResult, TProgress> RtType for IAsyncOperationWithProgress<TResult, TProgress> where
TResult: RtType,
TProgress: RtType,
[src]
TResult: RtType,
TProgress: RtType,
type In = IAsyncOperationWithProgress<TResult, TProgress>
type Abi = *mut IAsyncOperationWithProgress<TResult, TProgress>
type Out = ComPtr<IAsyncOperationWithProgress<TResult, TProgress>>
unsafe fn unwrap(input: &Self::In) -> Self::Abi
unsafe fn uninitialized() -> Self::Abi
unsafe fn wrap(abi: Self::Abi) -> Self::Out
impl<TResult, TProgress> Deref for IAsyncOperationWithProgress<TResult, TProgress> where
TResult: RtType,
TProgress: RtType,
[src]
TResult: RtType,
TProgress: RtType,
type Target = IInspectable
The resulting type after dereferencing
fn deref(&self) -> &IInspectable
The method called to dereference a value
impl<TResult, TProgress> DerefMut for IAsyncOperationWithProgress<TResult, TProgress> where
TResult: RtType,
TProgress: RtType,
[src]
TResult: RtType,
TProgress: RtType,
fn deref_mut(&mut self) -> &mut IInspectable
The method called to mutably dereference a value