pub struct IAsyncAction(/* private fields */);
Implementations§
Source§impl IAsyncAction
impl IAsyncAction
pub fn SetCompleted<'a, T0__: IntoParam<'a, AsyncActionCompletedHandler>>( &self, handler: T0__, ) -> Result<()>
pub fn Completed(&self) -> Result<AsyncActionCompletedHandler>
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 Clone for IAsyncAction
impl Clone for IAsyncAction
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 Debug for IAsyncAction
impl Debug for IAsyncAction
Source§impl From<&IAsyncAction> for IAsyncInfo
impl From<&IAsyncAction> for IAsyncInfo
Source§fn from(value: &IAsyncAction) -> Self
fn from(value: &IAsyncAction) -> Self
Converts to this type from the input type.
Source§impl From<&IAsyncAction> for Object
impl From<&IAsyncAction> for Object
Source§fn from(value: &IAsyncAction) -> Self
fn from(value: &IAsyncAction) -> Self
Converts to this type from the input type.
Source§impl From<IAsyncAction> for IAsyncInfo
impl From<IAsyncAction> for IAsyncInfo
Source§fn from(value: IAsyncAction) -> Self
fn from(value: IAsyncAction) -> Self
Converts to this type from the input type.
Source§impl From<IAsyncAction> for Object
impl From<IAsyncAction> for Object
Source§fn from(value: IAsyncAction) -> Self
fn from(value: IAsyncAction) -> Self
Converts to this type from the input type.
Source§impl Future for IAsyncAction
impl Future for IAsyncAction
Source§impl Interface for IAsyncAction
impl Interface for IAsyncAction
const IID: Guid
type Vtable = IAsyncAction_abi
Source§impl<'a> IntoParam<'a, IAsyncInfo> for &'a IAsyncAction
impl<'a> IntoParam<'a, IAsyncInfo> for &'a IAsyncAction
fn into_param(self) -> Param<'a, IAsyncInfo>
Source§impl<'a> IntoParam<'a, IAsyncInfo> for IAsyncAction
impl<'a> IntoParam<'a, IAsyncInfo> for IAsyncAction
fn into_param(self) -> Param<'a, IAsyncInfo>
Source§impl<'a> IntoParam<'a, Object> for &'a IAsyncAction
impl<'a> IntoParam<'a, Object> for &'a IAsyncAction
fn into_param(self) -> Param<'a, Object>
Source§impl<'a> IntoParam<'a, Object> for IAsyncAction
impl<'a> IntoParam<'a, Object> for IAsyncAction
fn into_param(self) -> Param<'a, Object>
Source§impl PartialEq for IAsyncAction
impl PartialEq for IAsyncAction
Source§impl RuntimeType for IAsyncAction
impl RuntimeType for IAsyncAction
const SIGNATURE: ConstBuffer
type DefaultType = Option<IAsyncAction>
impl Eq for IAsyncAction
impl Send for IAsyncAction
impl StructuralPartialEq for IAsyncAction
impl Sync for IAsyncAction
Auto Trait Implementations§
impl Freeze for IAsyncAction
impl RefUnwindSafe for IAsyncAction
impl Unpin for IAsyncAction
impl UnwindSafe for IAsyncAction
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