[][src]Struct windows_media_transcoding_bindings::windows::foundation::IAsyncOperation

#[repr(transparent)]pub struct IAsyncOperation<TResult> where
    TResult: RuntimeType + 'static, 
{ /* fields omitted */ }

Implementations

impl<TResult: RuntimeType + 'static> IAsyncOperation<TResult>[src]

pub fn set_completed<'a, T0__: Into<Param<'a, AsyncOperationCompletedHandler<TResult>>>>(
    &self,
    handler: T0__
) -> Result<()>
[src]

pub fn completed(&self) -> Result<AsyncOperationCompletedHandler<TResult>>[src]

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

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

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

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

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

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

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

Trait Implementations

impl<TResult: RuntimeType + 'static> AbiTransferable for IAsyncOperation<TResult>[src]

type Abi = RawComPtr<Self>

impl<TResult: RuntimeType + 'static> Clone for IAsyncOperation<TResult>[src]

impl<TResult: RuntimeType + 'static> ComInterface for IAsyncOperation<TResult>[src]

type VTable = abi_IAsyncOperation<TResult>

impl<TResult: RuntimeType + 'static> Debug for IAsyncOperation<TResult>[src]

impl<TResult: RuntimeType + 'static> Default for IAsyncOperation<TResult>[src]

impl<TResult: RuntimeType + 'static, '_> From<&'_ IAsyncOperation<TResult>> for IAsyncInfo[src]

impl<TResult: RuntimeType + 'static, '_> From<&'_ IAsyncOperation<TResult>> for Object[src]

impl<TResult: RuntimeType + 'static> From<IAsyncOperation<TResult>> for IAsyncInfo[src]

impl<TResult: RuntimeType + 'static> From<IAsyncOperation<TResult>> for Object[src]

impl<TResult: RuntimeType + 'static> Future for IAsyncOperation<TResult>[src]

type Output = Result<TResult>

The type of value produced on completion.

impl<'a, TResult: RuntimeType + 'static> Into<Param<'a, IAsyncInfo>> for IAsyncOperation<TResult>[src]

impl<'a, TResult: RuntimeType + 'static> Into<Param<'a, IAsyncInfo>> for &'a IAsyncOperation<TResult>[src]

impl<TResult: RuntimeType + 'static> PartialEq<IAsyncOperation<TResult>> for IAsyncOperation<TResult>[src]

impl<TResult: RuntimeType + 'static> RuntimeType for IAsyncOperation<TResult>[src]

Auto Trait Implementations

impl<TResult> RefUnwindSafe for IAsyncOperation<TResult> where
    TResult: RefUnwindSafe

impl<TResult> !Send for IAsyncOperation<TResult>

impl<TResult> !Sync for IAsyncOperation<TResult>

impl<TResult> Unpin for IAsyncOperation<TResult> where
    TResult: Unpin

impl<TResult> UnwindSafe for IAsyncOperation<TResult> where
    TResult: RefUnwindSafe + UnwindSafe

Blanket Implementations

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<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.