pub struct IAsyncOperationWithProgress<TResult, TProgress>(/* private fields */)
where
TResult: RuntimeType + 'static,
TProgress: RuntimeType + 'static;
Implementations§
Source§impl<TResult: RuntimeType + 'static, TProgress: RuntimeType + 'static> IAsyncOperationWithProgress<TResult, TProgress>
impl<TResult: RuntimeType + 'static, TProgress: RuntimeType + 'static> IAsyncOperationWithProgress<TResult, TProgress>
pub fn SetProgress<'a, T0__: IntoParam<'a, AsyncOperationProgressHandler<TResult, TProgress>>>( &self, handler: T0__, ) -> Result<()>
pub fn Progress( &self, ) -> Result<AsyncOperationProgressHandler<TResult, TProgress>>
pub fn SetCompleted<'a, T0__: IntoParam<'a, AsyncOperationWithProgressCompletedHandler<TResult, TProgress>>>( &self, handler: T0__, ) -> Result<()>
pub fn Completed( &self, ) -> Result<AsyncOperationWithProgressCompletedHandler<TResult, TProgress>>
pub fn GetResults(&self) -> Result<TResult>
pub fn Id(&self) -> Result<u32>
pub fn Status(&self) -> Result<AsyncStatus>
pub fn ErrorCode(&self) -> Result<ErrorCode>
pub fn Cancel(&self) -> Result<()>
pub fn Close(&self) -> Result<()>
pub fn get(&self) -> Result<TResult>
Trait Implementations§
Source§impl<TResult, TProgress> Clone for IAsyncOperationWithProgress<TResult, TProgress>
impl<TResult, TProgress> Clone for IAsyncOperationWithProgress<TResult, TProgress>
Source§fn clone(&self) -> IAsyncOperationWithProgress<TResult, TProgress> ⓘ
fn clone(&self) -> IAsyncOperationWithProgress<TResult, TProgress> ⓘ
Returns a duplicate 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 moreSource§impl<TResult, TProgress> Debug for IAsyncOperationWithProgress<TResult, TProgress>
impl<TResult, TProgress> Debug for IAsyncOperationWithProgress<TResult, TProgress>
Source§impl<TResult: RuntimeType + 'static, TProgress: RuntimeType + 'static> From<&IAsyncOperationWithProgress<TResult, TProgress>> for IAsyncInfo
impl<TResult: RuntimeType + 'static, TProgress: RuntimeType + 'static> From<&IAsyncOperationWithProgress<TResult, TProgress>> for IAsyncInfo
Source§fn from(value: &IAsyncOperationWithProgress<TResult, TProgress>) -> Self
fn from(value: &IAsyncOperationWithProgress<TResult, TProgress>) -> Self
Converts to this type from the input type.
Source§impl<TResult: RuntimeType + 'static, TProgress: RuntimeType + 'static> From<&IAsyncOperationWithProgress<TResult, TProgress>> for Object
impl<TResult: RuntimeType + 'static, TProgress: RuntimeType + 'static> From<&IAsyncOperationWithProgress<TResult, TProgress>> for Object
Source§fn from(value: &IAsyncOperationWithProgress<TResult, TProgress>) -> Self
fn from(value: &IAsyncOperationWithProgress<TResult, TProgress>) -> Self
Converts to this type from the input type.
Source§impl<TResult: RuntimeType + 'static, TProgress: RuntimeType + 'static> From<IAsyncOperationWithProgress<TResult, TProgress>> for IAsyncInfo
impl<TResult: RuntimeType + 'static, TProgress: RuntimeType + 'static> From<IAsyncOperationWithProgress<TResult, TProgress>> for IAsyncInfo
Source§fn from(value: IAsyncOperationWithProgress<TResult, TProgress>) -> Self
fn from(value: IAsyncOperationWithProgress<TResult, TProgress>) -> Self
Converts to this type from the input type.
Source§impl<TResult: RuntimeType + 'static, TProgress: RuntimeType + 'static> From<IAsyncOperationWithProgress<TResult, TProgress>> for Object
impl<TResult: RuntimeType + 'static, TProgress: RuntimeType + 'static> From<IAsyncOperationWithProgress<TResult, TProgress>> for Object
Source§fn from(value: IAsyncOperationWithProgress<TResult, TProgress>) -> Self
fn from(value: IAsyncOperationWithProgress<TResult, TProgress>) -> Self
Converts to this type from the input type.
Source§impl<TResult: RuntimeType + 'static, TProgress: RuntimeType + 'static> Future for IAsyncOperationWithProgress<TResult, TProgress>
impl<TResult: RuntimeType + 'static, TProgress: RuntimeType + 'static> Future for IAsyncOperationWithProgress<TResult, TProgress>
Source§impl<TResult: RuntimeType + 'static, TProgress: RuntimeType + 'static> Interface for IAsyncOperationWithProgress<TResult, TProgress>
impl<TResult: RuntimeType + 'static, TProgress: RuntimeType + 'static> Interface for IAsyncOperationWithProgress<TResult, TProgress>
const IID: Guid
type Vtable = IAsyncOperationWithProgress_abi<TResult, TProgress>
Source§impl<'a, TResult: RuntimeType + 'static, TProgress: RuntimeType + 'static> IntoParam<'a, IAsyncInfo> for &'a IAsyncOperationWithProgress<TResult, TProgress>
impl<'a, TResult: RuntimeType + 'static, TProgress: RuntimeType + 'static> IntoParam<'a, IAsyncInfo> for &'a IAsyncOperationWithProgress<TResult, TProgress>
fn into_param(self) -> Param<'a, IAsyncInfo>
Source§impl<'a, TResult: RuntimeType + 'static, TProgress: RuntimeType + 'static> IntoParam<'a, IAsyncInfo> for IAsyncOperationWithProgress<TResult, TProgress>
impl<'a, TResult: RuntimeType + 'static, TProgress: RuntimeType + 'static> IntoParam<'a, IAsyncInfo> for IAsyncOperationWithProgress<TResult, TProgress>
fn into_param(self) -> Param<'a, IAsyncInfo>
Source§impl<'a, TResult: RuntimeType + 'static, TProgress: RuntimeType + 'static> IntoParam<'a, Object> for &'a IAsyncOperationWithProgress<TResult, TProgress>
impl<'a, TResult: RuntimeType + 'static, TProgress: RuntimeType + 'static> IntoParam<'a, Object> for &'a IAsyncOperationWithProgress<TResult, TProgress>
fn into_param(self) -> Param<'a, Object>
Source§impl<'a, TResult: RuntimeType + 'static, TProgress: RuntimeType + 'static> IntoParam<'a, Object> for IAsyncOperationWithProgress<TResult, TProgress>
impl<'a, TResult: RuntimeType + 'static, TProgress: RuntimeType + 'static> IntoParam<'a, Object> for IAsyncOperationWithProgress<TResult, TProgress>
fn into_param(self) -> Param<'a, Object>
Source§impl<TResult, TProgress> PartialEq for IAsyncOperationWithProgress<TResult, TProgress>
impl<TResult, TProgress> PartialEq for IAsyncOperationWithProgress<TResult, TProgress>
Source§fn eq(&self, other: &IAsyncOperationWithProgress<TResult, TProgress>) -> bool
fn eq(&self, other: &IAsyncOperationWithProgress<TResult, TProgress>) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl<TResult: RuntimeType + 'static, TProgress: RuntimeType + 'static> RuntimeType for IAsyncOperationWithProgress<TResult, TProgress>
impl<TResult: RuntimeType + 'static, TProgress: RuntimeType + 'static> RuntimeType for IAsyncOperationWithProgress<TResult, TProgress>
const SIGNATURE: ConstBuffer
type DefaultType = Option<IAsyncOperationWithProgress<TResult, TProgress>>
impl<TResult, TProgress> Eq for IAsyncOperationWithProgress<TResult, TProgress>
impl<TResult: RuntimeType + 'static, TProgress: RuntimeType + 'static> Send for IAsyncOperationWithProgress<TResult, TProgress>
impl<TResult, TProgress> StructuralPartialEq for IAsyncOperationWithProgress<TResult, TProgress>where
TResult: RuntimeType + 'static,
TProgress: RuntimeType + 'static,
impl<TResult: RuntimeType + 'static, TProgress: RuntimeType + 'static> Sync for IAsyncOperationWithProgress<TResult, TProgress>
Auto Trait Implementations§
impl<TResult, TProgress> Freeze for IAsyncOperationWithProgress<TResult, TProgress>
impl<TResult, TProgress> RefUnwindSafe for IAsyncOperationWithProgress<TResult, TProgress>where
TResult: RefUnwindSafe,
TProgress: RefUnwindSafe,
impl<TResult, TProgress> Unpin for IAsyncOperationWithProgress<TResult, TProgress>
impl<TResult, TProgress> UnwindSafe for IAsyncOperationWithProgress<TResult, TProgress>where
TResult: UnwindSafe,
TProgress: UnwindSafe,
Blanket Implementations§
Source§impl<T> Abi for Twhere
T: Interface,
impl<T> Abi for Twhere
T: Interface,
Source§fn set_abi(&mut self) -> *mut <T as Abi>::Abi
fn set_abi(&mut self) -> *mut <T as Abi>::Abi
Returns a pointer for setting the object’s value via an ABI call.
Source§unsafe fn from_abi(abi: <T as Abi>::Abi) -> Result<T, Error>
unsafe fn from_abi(abi: <T as Abi>::Abi) -> Result<T, Error>
Casts the ABI representation to a Rust object by taking ownership of the bits.
fn drop_param(_: &mut Param<'_, Self>)
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<F> IntoFuture for Fwhere
F: Future,
impl<F> IntoFuture for Fwhere
F: Future,
Source§type IntoFuture = F
type IntoFuture = F
Which kind of future are we turning this into?
Source§fn into_future(self) -> <F as IntoFuture>::IntoFuture
fn into_future(self) -> <F as IntoFuture>::IntoFuture
Creates a future from a value. Read more