Struct winrt::windows::foundation::IAsyncActionWithProgress
[−]
[src]
#[repr(C)]pub struct IAsyncActionWithProgress<TProgress> where
TProgress: RtType, { /* fields omitted */ }
Methods
impl<TProgress: RtType> IAsyncActionWithProgress<TProgress>
[src]
unsafe fn set_progress(
&self,
handler: &AsyncActionProgressHandler<TProgress>
) -> Result<()>
&self,
handler: &AsyncActionProgressHandler<TProgress>
) -> Result<()>
unsafe fn get_progress(
&self
) -> Result<ComPtr<AsyncActionProgressHandler<TProgress>>>
&self
) -> Result<ComPtr<AsyncActionProgressHandler<TProgress>>>
unsafe fn set_completed(
&self,
handler: &AsyncActionWithProgressCompletedHandler<TProgress>
) -> Result<()>
&self,
handler: &AsyncActionWithProgressCompletedHandler<TProgress>
) -> Result<()>
unsafe fn get_completed(
&self
) -> Result<ComPtr<AsyncActionWithProgressCompletedHandler<TProgress>>>
&self
) -> Result<ComPtr<AsyncActionWithProgressCompletedHandler<TProgress>>>
unsafe fn get_results(&self) -> Result<()>
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<P: RtType + 'static> RtAsyncAction for IAsyncActionWithProgress<P> where
AsyncActionWithProgressCompletedHandler<P>: ComIid,
[src]
AsyncActionWithProgressCompletedHandler<P>: ComIid,
fn blocking_wait(&self)
impl<TProgress> ComInterface for IAsyncActionWithProgress<TProgress> where
TProgress: RtType,
[src]
TProgress: RtType,
type Vtbl = IAsyncActionWithProgressVtbl<TProgress>
The type that defines the VTable of this interface.
impl<TProgress> RtType for IAsyncActionWithProgress<TProgress> where
TProgress: RtType,
[src]
TProgress: RtType,
type In = IAsyncActionWithProgress<TProgress>
type Abi = *mut IAsyncActionWithProgress<TProgress>
type Out = ComPtr<IAsyncActionWithProgress<TProgress>>
unsafe fn unwrap(input: &Self::In) -> Self::Abi
unsafe fn uninitialized() -> Self::Abi
unsafe fn wrap(abi: Self::Abi) -> Self::Out
impl<TProgress> Deref for IAsyncActionWithProgress<TProgress> where
TProgress: RtType,
[src]
TProgress: RtType,
type Target = IInspectable
The resulting type after dereferencing
fn deref(&self) -> &IInspectable
The method called to dereference a value
impl<TProgress> DerefMut for IAsyncActionWithProgress<TProgress> where
TProgress: RtType,
[src]
TProgress: RtType,
fn deref_mut(&mut self) -> &mut IInspectable
The method called to mutably dereference a value