Struct windows_webview2::Windows::Foundation::IAsyncActionWithProgress[][src]

#[repr(transparent)]pub struct IAsyncActionWithProgress<TProgress>(_, _)
where
    TProgress: RuntimeType + 'static
;

Implementations

impl<TProgress: RuntimeType + 'static> IAsyncActionWithProgress<TProgress>[src]

pub fn SetProgress<'a, T0__: IntoParam<'a, AsyncActionProgressHandler<TProgress>>>(
    &self,
    handler: T0__
) -> Result<()>
[src]

pub fn Progress(&self) -> Result<AsyncActionProgressHandler<TProgress>>[src]

pub fn SetCompleted<'a, T0__: IntoParam<'a, AsyncActionWithProgressCompletedHandler<TProgress>>>(
    &self,
    handler: T0__
) -> Result<()>
[src]

pub fn Completed(
    &self
) -> Result<AsyncActionWithProgressCompletedHandler<TProgress>>
[src]

pub fn GetResults(&self) -> Result<()>[src]

pub fn Id(&self) -> Result<u32>[src]

pub fn Status(&self) -> Result<AsyncStatus>[src]

pub fn ErrorCode(&self) -> Result<ErrorCode>[src]

pub fn Cancel(&self) -> Result<()>[src]

pub fn Close(&self) -> Result<()>[src]

pub fn get(&self) -> Result<()>[src]

Trait Implementations

impl<TProgress: Clone> Clone for IAsyncActionWithProgress<TProgress> where
    TProgress: RuntimeType + 'static, 
[src]

impl<TProgress: Debug> Debug for IAsyncActionWithProgress<TProgress> where
    TProgress: RuntimeType + 'static, 
[src]

impl<TProgress: Eq> Eq for IAsyncActionWithProgress<TProgress> where
    TProgress: RuntimeType + 'static, 
[src]

impl<TProgress: RuntimeType + 'static> From<&'_ IAsyncActionWithProgress<TProgress>> for IAsyncInfo[src]

impl<TProgress: RuntimeType + 'static> From<IAsyncActionWithProgress<TProgress>> for IAsyncInfo[src]

impl<TProgress: RuntimeType + 'static> Future for IAsyncActionWithProgress<TProgress>[src]

type Output = Result<()>

The type of value produced on completion.

impl<TProgress: RuntimeType + 'static> Interface for IAsyncActionWithProgress<TProgress>[src]

type Vtable = IAsyncActionWithProgress_abi<TProgress>

impl<'a, TProgress: RuntimeType + 'static> IntoParam<'a, IAsyncInfo> for IAsyncActionWithProgress<TProgress>[src]

impl<'a, TProgress: RuntimeType + 'static> IntoParam<'a, IAsyncInfo> for &'a IAsyncActionWithProgress<TProgress>[src]

impl<'a, TProgress: RuntimeType + 'static> IntoParam<'a, Object> for IAsyncActionWithProgress<TProgress>[src]

impl<'a, TProgress: RuntimeType + 'static> IntoParam<'a, Object> for &'a IAsyncActionWithProgress<TProgress>[src]

impl<TProgress: PartialEq> PartialEq<IAsyncActionWithProgress<TProgress>> for IAsyncActionWithProgress<TProgress> where
    TProgress: RuntimeType + 'static, 
[src]

impl<TProgress: RuntimeType + 'static> RuntimeType for IAsyncActionWithProgress<TProgress>[src]

type DefaultType = Option<Self>

impl<TProgress: RuntimeType + 'static> Send for IAsyncActionWithProgress<TProgress>[src]

impl<TProgress> StructuralEq for IAsyncActionWithProgress<TProgress> where
    TProgress: RuntimeType + 'static, 
[src]

impl<TProgress> StructuralPartialEq for IAsyncActionWithProgress<TProgress> where
    TProgress: RuntimeType + 'static, 
[src]

impl<TProgress: RuntimeType + 'static> Sync for IAsyncActionWithProgress<TProgress>[src]

Auto Trait Implementations

impl<TProgress> RefUnwindSafe for IAsyncActionWithProgress<TProgress> where
    TProgress: RefUnwindSafe

impl<TProgress> Unpin for IAsyncActionWithProgress<TProgress> where
    TProgress: Unpin

impl<TProgress> UnwindSafe for IAsyncActionWithProgress<TProgress> where
    TProgress: UnwindSafe

Blanket Implementations

impl<T> Abi for T where
    T: Interface
[src]

type Abi = *mut c_void

The abi representation of the implementing type. Read more

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<F> IntoFuture for F where
    F: Future
[src]

type Output = <F as Future>::Output

🔬 This is a nightly-only experimental API. (into_future)

The output that the future will produce on completion.

type Future = F

🔬 This is a nightly-only experimental API. (into_future)

Which kind of future are we turning this into?

impl<'a, T> IntoParam<'a, T> for T where
    T: Abi
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.