[−][src]Struct windows_media_transcoding_bindings::windows::foundation::IAsyncOperationWithProgress
Implementations
impl<TResult: RuntimeType + 'static, TProgress: RuntimeType + 'static> IAsyncOperationWithProgress<TResult, TProgress>[src]
pub fn set_progress<'a, T0__: Into<Param<'a, AsyncOperationProgressHandler<TResult, TProgress>>>>(
&self,
handler: T0__
) -> Result<()>[src]
&self,
handler: T0__
) -> Result<()>
pub fn progress(
&self
) -> Result<AsyncOperationProgressHandler<TResult, TProgress>>[src]
&self
) -> Result<AsyncOperationProgressHandler<TResult, TProgress>>
pub fn set_completed<'a, T0__: Into<Param<'a, AsyncOperationWithProgressCompletedHandler<TResult, TProgress>>>>(
&self,
handler: T0__
) -> Result<()>[src]
&self,
handler: T0__
) -> Result<()>
pub fn completed(
&self
) -> Result<AsyncOperationWithProgressCompletedHandler<TResult, TProgress>>[src]
&self
) -> Result<AsyncOperationWithProgressCompletedHandler<TResult, TProgress>>
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, TProgress: RuntimeType + 'static> AbiTransferable for IAsyncOperationWithProgress<TResult, TProgress>[src]
type Abi = RawComPtr<Self>
fn get_abi(&self) -> Self::Abi[src]
fn set_abi(&mut self) -> *mut Self::Abi[src]
fn from_abi(abi: &Self::Abi) -> &Self
fn from_mut_abi(abi: &mut Self::Abi) -> &mut Self
unsafe fn slice_from_abi<'a>(abi: *const Self::Abi, len: usize) -> &'a [Self]
unsafe fn slice_from_mut_abi<'a>(
abi: *mut Self::Abi,
len: usize
) -> &'a mut [Self]
abi: *mut Self::Abi,
len: usize
) -> &'a mut [Self]
fn into_abi(self) -> Self::Abi
impl<TResult: RuntimeType + 'static, TProgress: RuntimeType + 'static> Clone for IAsyncOperationWithProgress<TResult, TProgress>[src]
fn clone(&self) -> Self[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl<TResult: RuntimeType + 'static, TProgress: RuntimeType + 'static> ComInterface for IAsyncOperationWithProgress<TResult, TProgress>[src]
type VTable = abi_IAsyncOperationWithProgress<TResult, TProgress>
fn iid() -> Guid[src]
fn as_iunknown(&self) -> Option<NonNullRawComPtr<IUnknown>>
fn query<Into>(&self) -> Into where
Into: ComInterface,
Into: ComInterface,
fn is_null(&self) -> bool
fn is_agile(&self) -> bool
unsafe fn raw_query<T>(&self, iid: &Guid, ppv: &mut T) where
T: ComInterface,
T: ComInterface,
impl<TResult: RuntimeType + 'static, TProgress: RuntimeType + 'static> Debug for IAsyncOperationWithProgress<TResult, TProgress>[src]
impl<TResult: RuntimeType + 'static, TProgress: RuntimeType + 'static> Default for IAsyncOperationWithProgress<TResult, TProgress>[src]
impl<TResult: RuntimeType + 'static, TProgress: RuntimeType + 'static, '_> From<&'_ IAsyncOperationWithProgress<TResult, TProgress>> for IAsyncInfo[src]
fn from(value: &IAsyncOperationWithProgress<TResult, TProgress>) -> Self[src]
impl<TResult: RuntimeType + 'static, TProgress: RuntimeType + 'static, '_> From<&'_ IAsyncOperationWithProgress<TResult, TProgress>> for Object[src]
fn from(value: &IAsyncOperationWithProgress<TResult, TProgress>) -> Self[src]
impl<TResult: RuntimeType + 'static, TProgress: RuntimeType + 'static> From<IAsyncOperationWithProgress<TResult, TProgress>> for IAsyncInfo[src]
fn from(value: IAsyncOperationWithProgress<TResult, TProgress>) -> Self[src]
impl<TResult: RuntimeType + 'static, TProgress: RuntimeType + 'static> From<IAsyncOperationWithProgress<TResult, TProgress>> for Object[src]
fn from(value: IAsyncOperationWithProgress<TResult, TProgress>) -> Self[src]
impl<TResult: RuntimeType + 'static, TProgress: RuntimeType + 'static> Future for IAsyncOperationWithProgress<TResult, TProgress>[src]
type Output = Result<TResult>
The type of value produced on completion.
fn poll(self: Pin<&mut Self>, context: &mut Context<'_>) -> Poll<Self::Output>[src]
impl<'a, TResult: RuntimeType + 'static, TProgress: RuntimeType + 'static> Into<Param<'a, IAsyncInfo>> for IAsyncOperationWithProgress<TResult, TProgress>[src]
fn into(self) -> Param<'a, IAsyncInfo>[src]
impl<'a, TResult: RuntimeType + 'static, TProgress: RuntimeType + 'static> Into<Param<'a, IAsyncInfo>> for &'a IAsyncOperationWithProgress<TResult, TProgress>[src]
fn into(self) -> Param<'a, IAsyncInfo>[src]
impl<TResult: RuntimeType + 'static, TProgress: RuntimeType + 'static> PartialEq<IAsyncOperationWithProgress<TResult, TProgress>> for IAsyncOperationWithProgress<TResult, TProgress>[src]
impl<TResult: RuntimeType + 'static, TProgress: RuntimeType + 'static> RuntimeType for IAsyncOperationWithProgress<TResult, TProgress>[src]
Auto Trait Implementations
impl<TResult, TProgress> RefUnwindSafe for IAsyncOperationWithProgress<TResult, TProgress> where
TProgress: RefUnwindSafe,
TResult: RefUnwindSafe,
TProgress: RefUnwindSafe,
TResult: RefUnwindSafe,
impl<TResult, TProgress> !Send for IAsyncOperationWithProgress<TResult, TProgress>
impl<TResult, TProgress> !Sync for IAsyncOperationWithProgress<TResult, TProgress>
impl<TResult, TProgress> Unpin for IAsyncOperationWithProgress<TResult, TProgress> where
TProgress: Unpin,
TResult: Unpin,
TProgress: Unpin,
TResult: Unpin,
impl<TResult, TProgress> UnwindSafe for IAsyncOperationWithProgress<TResult, TProgress> where
TProgress: RefUnwindSafe + UnwindSafe,
TResult: RefUnwindSafe + UnwindSafe,
TProgress: RefUnwindSafe + UnwindSafe,
TResult: RefUnwindSafe + UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<F> IntoFuture for F where
F: Future, [src]
F: Future,
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?
fn into_future(self) -> <F as IntoFuture>::Future[src]
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,