#[repr(transparent)]pub struct AsyncOperationProgressHandler<TResult, TProgress>(pub IUnknown, _, _)
where
TResult: RuntimeType + 'static,
TProgress: RuntimeType + 'static;Expand description
Required features: "Foundation"
Tuple Fields§
§0: IUnknownImplementations§
§impl<TResult, TProgress> AsyncOperationProgressHandler<TResult, TProgress>where
TResult: RuntimeType + 'static,
TProgress: RuntimeType + 'static,
impl<TResult, TProgress> AsyncOperationProgressHandler<TResult, TProgress>where TResult: RuntimeType + 'static, TProgress: RuntimeType + 'static,
pub fn new<F>(invoke: F) -> AsyncOperationProgressHandler<TResult, TProgress>where F: FnMut(Option<&IAsyncOperationWithProgress<TResult, TProgress>>, &<TProgress as Type<TProgress, <TProgress as TypeKind>::TypeKind>>::Default) -> Result<(), Error> + Send + 'static,
pub fn Invoke<P0, P1>( &self, asyncinfo: P0, progressinfo: P1 ) -> Result<(), Error>where P0: TryIntoParam<IAsyncOperationWithProgress<TResult, TProgress>>, P1: IntoParam<TProgress, <TProgress as TypeKind>::TypeKind>,
Trait Implementations§
§impl<TResult, TProgress> Clone for AsyncOperationProgressHandler<TResult, TProgress>where
TResult: RuntimeType + 'static,
TProgress: RuntimeType + 'static,
impl<TResult, TProgress> Clone for AsyncOperationProgressHandler<TResult, TProgress>where TResult: RuntimeType + 'static, TProgress: RuntimeType + 'static,
§fn clone(&self) -> AsyncOperationProgressHandler<TResult, TProgress>
fn clone(&self) -> AsyncOperationProgressHandler<TResult, TProgress>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl<TResult, TProgress> ComInterface for AsyncOperationProgressHandler<TResult, TProgress>where
TResult: RuntimeType + 'static,
TProgress: RuntimeType + 'static,
impl<TResult, TProgress> ComInterface for AsyncOperationProgressHandler<TResult, TProgress>where TResult: RuntimeType + 'static, TProgress: RuntimeType + 'static,
fn as_unknown(&self) -> &IUnknown
§impl<TResult, TProgress> Debug for AsyncOperationProgressHandler<TResult, TProgress>where
TResult: RuntimeType + 'static,
TProgress: RuntimeType + 'static,
impl<TResult, TProgress> Debug for AsyncOperationProgressHandler<TResult, TProgress>where TResult: RuntimeType + 'static, TProgress: RuntimeType + 'static,
§impl<TResult, TProgress> Interface for AsyncOperationProgressHandler<TResult, TProgress>where
TResult: RuntimeType + 'static,
TProgress: RuntimeType + 'static,
impl<TResult, TProgress> Interface for AsyncOperationProgressHandler<TResult, TProgress>where TResult: RuntimeType + 'static, TProgress: RuntimeType + 'static,
type Vtable = AsyncOperationProgressHandler_Vtbl<TResult, TProgress>
§fn as_raw(&self) -> *mut c_void
fn as_raw(&self) -> *mut c_void
Returns the raw COM interface pointer. The resulting pointer continues to be owned by the
Interface implementation.§fn into_raw(self) -> *mut c_void
fn into_raw(self) -> *mut c_void
Returns the raw COM interface pointer and releases ownership. It the caller’s responsibility to release the COM interface pointer.
§impl<TResult, TProgress> PartialEq<AsyncOperationProgressHandler<TResult, TProgress>> for AsyncOperationProgressHandler<TResult, TProgress>where
TResult: RuntimeType + 'static,
TProgress: RuntimeType + 'static,
impl<TResult, TProgress> PartialEq<AsyncOperationProgressHandler<TResult, TProgress>> for AsyncOperationProgressHandler<TResult, TProgress>where TResult: RuntimeType + 'static, TProgress: RuntimeType + 'static,
§fn eq(&self, other: &AsyncOperationProgressHandler<TResult, TProgress>) -> bool
fn eq(&self, other: &AsyncOperationProgressHandler<TResult, TProgress>) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl<TResult, TProgress> Eq for AsyncOperationProgressHandler<TResult, TProgress>where TResult: RuntimeType + 'static, TProgress: RuntimeType + 'static,
Auto Trait Implementations§
impl<TResult, TProgress> RefUnwindSafe for AsyncOperationProgressHandler<TResult, TProgress>where TProgress: RefUnwindSafe, TResult: RefUnwindSafe,
impl<TResult, TProgress> !Send for AsyncOperationProgressHandler<TResult, TProgress>
impl<TResult, TProgress> !Sync for AsyncOperationProgressHandler<TResult, TProgress>
impl<TResult, TProgress> Unpin for AsyncOperationProgressHandler<TResult, TProgress>where TProgress: Unpin, TResult: Unpin,
impl<TResult, TProgress> UnwindSafe for AsyncOperationProgressHandler<TResult, TProgress>where TProgress: UnwindSafe, TResult: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more