pub struct IAsyncActionWithProgress<TProgress>(/* private fields */)
where
TProgress: RuntimeType + 'static;
Implementations§
Source§impl<TProgress: RuntimeType + 'static> IAsyncActionWithProgress<TProgress>
impl<TProgress: RuntimeType + 'static> IAsyncActionWithProgress<TProgress>
pub fn SetProgress<'a, T0__: IntoParam<'a, AsyncActionProgressHandler<TProgress>>>( &self, handler: T0__, ) -> Result<()>
pub fn Progress(&self) -> Result<AsyncActionProgressHandler<TProgress>>
pub fn SetCompleted<'a, T0__: IntoParam<'a, AsyncActionWithProgressCompletedHandler<TProgress>>>( &self, handler: T0__, ) -> Result<()>
pub fn Completed( &self, ) -> Result<AsyncActionWithProgressCompletedHandler<TProgress>>
pub fn GetResults(&self) -> Result<()>
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<()>
Trait Implementations§
Source§impl<TProgress> Clone for IAsyncActionWithProgress<TProgress>where
TProgress: RuntimeType + 'static + Clone,
impl<TProgress> Clone for IAsyncActionWithProgress<TProgress>where
TProgress: RuntimeType + 'static + Clone,
Source§fn clone(&self) -> IAsyncActionWithProgress<TProgress> ⓘ
fn clone(&self) -> IAsyncActionWithProgress<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<TProgress> Debug for IAsyncActionWithProgress<TProgress>where
TProgress: RuntimeType + 'static + Debug,
impl<TProgress> Debug for IAsyncActionWithProgress<TProgress>where
TProgress: RuntimeType + 'static + Debug,
Source§impl<TProgress: RuntimeType + 'static> From<&IAsyncActionWithProgress<TProgress>> for IAsyncInfo
impl<TProgress: RuntimeType + 'static> From<&IAsyncActionWithProgress<TProgress>> for IAsyncInfo
Source§fn from(value: &IAsyncActionWithProgress<TProgress>) -> Self
fn from(value: &IAsyncActionWithProgress<TProgress>) -> Self
Converts to this type from the input type.
Source§impl<TProgress: RuntimeType + 'static> From<&IAsyncActionWithProgress<TProgress>> for Object
impl<TProgress: RuntimeType + 'static> From<&IAsyncActionWithProgress<TProgress>> for Object
Source§fn from(value: &IAsyncActionWithProgress<TProgress>) -> Self
fn from(value: &IAsyncActionWithProgress<TProgress>) -> Self
Converts to this type from the input type.
Source§impl<TProgress: RuntimeType + 'static> From<IAsyncActionWithProgress<TProgress>> for IAsyncInfo
impl<TProgress: RuntimeType + 'static> From<IAsyncActionWithProgress<TProgress>> for IAsyncInfo
Source§fn from(value: IAsyncActionWithProgress<TProgress>) -> Self
fn from(value: IAsyncActionWithProgress<TProgress>) -> Self
Converts to this type from the input type.
Source§impl<TProgress: RuntimeType + 'static> From<IAsyncActionWithProgress<TProgress>> for Object
impl<TProgress: RuntimeType + 'static> From<IAsyncActionWithProgress<TProgress>> for Object
Source§fn from(value: IAsyncActionWithProgress<TProgress>) -> Self
fn from(value: IAsyncActionWithProgress<TProgress>) -> Self
Converts to this type from the input type.
Source§impl<TProgress: RuntimeType + 'static> Future for IAsyncActionWithProgress<TProgress>
impl<TProgress: RuntimeType + 'static> Future for IAsyncActionWithProgress<TProgress>
Source§impl<TProgress: RuntimeType + 'static> Interface for IAsyncActionWithProgress<TProgress>
impl<TProgress: RuntimeType + 'static> Interface for IAsyncActionWithProgress<TProgress>
const IID: Guid
type Vtable = IAsyncActionWithProgress_abi<TProgress>
Source§impl<'a, TProgress: RuntimeType + 'static> IntoParam<'a, IAsyncInfo> for &'a IAsyncActionWithProgress<TProgress>
impl<'a, TProgress: RuntimeType + 'static> IntoParam<'a, IAsyncInfo> for &'a IAsyncActionWithProgress<TProgress>
fn into_param(self) -> Param<'a, IAsyncInfo>
Source§impl<'a, TProgress: RuntimeType + 'static> IntoParam<'a, IAsyncInfo> for IAsyncActionWithProgress<TProgress>
impl<'a, TProgress: RuntimeType + 'static> IntoParam<'a, IAsyncInfo> for IAsyncActionWithProgress<TProgress>
fn into_param(self) -> Param<'a, IAsyncInfo>
Source§impl<'a, TProgress: RuntimeType + 'static> IntoParam<'a, Object> for &'a IAsyncActionWithProgress<TProgress>
impl<'a, TProgress: RuntimeType + 'static> IntoParam<'a, Object> for &'a IAsyncActionWithProgress<TProgress>
fn into_param(self) -> Param<'a, Object>
Source§impl<'a, TProgress: RuntimeType + 'static> IntoParam<'a, Object> for IAsyncActionWithProgress<TProgress>
impl<'a, TProgress: RuntimeType + 'static> IntoParam<'a, Object> for IAsyncActionWithProgress<TProgress>
fn into_param(self) -> Param<'a, Object>
Source§impl<TProgress> PartialEq for IAsyncActionWithProgress<TProgress>where
TProgress: RuntimeType + 'static + PartialEq,
impl<TProgress> PartialEq for IAsyncActionWithProgress<TProgress>where
TProgress: RuntimeType + 'static + PartialEq,
Source§fn eq(&self, other: &IAsyncActionWithProgress<TProgress>) -> bool
fn eq(&self, other: &IAsyncActionWithProgress<TProgress>) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl<TProgress: RuntimeType + 'static> RuntimeType for IAsyncActionWithProgress<TProgress>
impl<TProgress: RuntimeType + 'static> RuntimeType for IAsyncActionWithProgress<TProgress>
const SIGNATURE: ConstBuffer
type DefaultType = Option<IAsyncActionWithProgress<TProgress>>
impl<TProgress> Eq for IAsyncActionWithProgress<TProgress>where
TProgress: RuntimeType + 'static + Eq,
impl<TProgress: RuntimeType + 'static> Send for IAsyncActionWithProgress<TProgress>
impl<TProgress> StructuralPartialEq for IAsyncActionWithProgress<TProgress>where
TProgress: RuntimeType + 'static,
impl<TProgress: RuntimeType + 'static> Sync for IAsyncActionWithProgress<TProgress>
Auto Trait Implementations§
impl<TProgress> Freeze for IAsyncActionWithProgress<TProgress>
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§
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