pub struct AsyncOperationCompletedHandler<TResult>(/* private fields */)
where
TResult: RuntimeType + 'static;
Implementations§
Source§impl<TResult: RuntimeType + 'static> AsyncOperationCompletedHandler<TResult>
impl<TResult: RuntimeType + 'static> AsyncOperationCompletedHandler<TResult>
pub fn new<F: FnMut(&Option<IAsyncOperation<TResult>>, AsyncStatus) -> Result<()> + 'static>( invoke: F, ) -> Self
pub fn Invoke<'a, T0__: IntoParam<'a, IAsyncOperation<TResult>>>( &self, asyncinfo: T0__, asyncstatus: AsyncStatus, ) -> Result<()>
Trait Implementations§
Source§impl<TResult> Clone for AsyncOperationCompletedHandler<TResult>where
TResult: RuntimeType + 'static + Clone,
impl<TResult> Clone for AsyncOperationCompletedHandler<TResult>where
TResult: RuntimeType + 'static + Clone,
Source§fn clone(&self) -> AsyncOperationCompletedHandler<TResult>
fn clone(&self) -> AsyncOperationCompletedHandler<TResult>
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> Debug for AsyncOperationCompletedHandler<TResult>where
TResult: RuntimeType + 'static + Debug,
impl<TResult> Debug for AsyncOperationCompletedHandler<TResult>where
TResult: RuntimeType + 'static + Debug,
Source§impl<TResult: RuntimeType + 'static> Interface for AsyncOperationCompletedHandler<TResult>
impl<TResult: RuntimeType + 'static> Interface for AsyncOperationCompletedHandler<TResult>
const IID: Guid
type Vtable = AsyncOperationCompletedHandler_abi<TResult>
Source§impl<TResult> PartialEq for AsyncOperationCompletedHandler<TResult>where
TResult: RuntimeType + 'static + PartialEq,
impl<TResult> PartialEq for AsyncOperationCompletedHandler<TResult>where
TResult: RuntimeType + 'static + PartialEq,
Source§fn eq(&self, other: &AsyncOperationCompletedHandler<TResult>) -> bool
fn eq(&self, other: &AsyncOperationCompletedHandler<TResult>) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl<TResult: RuntimeType + 'static> RuntimeType for AsyncOperationCompletedHandler<TResult>
impl<TResult: RuntimeType + 'static> RuntimeType for AsyncOperationCompletedHandler<TResult>
const SIGNATURE: ConstBuffer
type DefaultType = Option<AsyncOperationCompletedHandler<TResult>>
impl<TResult> Eq for AsyncOperationCompletedHandler<TResult>where
TResult: RuntimeType + 'static + Eq,
impl<TResult> StructuralPartialEq for AsyncOperationCompletedHandler<TResult>where
TResult: RuntimeType + 'static,
Auto Trait Implementations§
impl<TResult> Freeze for AsyncOperationCompletedHandler<TResult>
impl<TResult> RefUnwindSafe for AsyncOperationCompletedHandler<TResult>where
TResult: RefUnwindSafe,
impl<TResult> !Send for AsyncOperationCompletedHandler<TResult>
impl<TResult> !Sync for AsyncOperationCompletedHandler<TResult>
impl<TResult> Unpin for AsyncOperationCompletedHandler<TResult>where
TResult: Unpin,
impl<TResult> UnwindSafe for AsyncOperationCompletedHandler<TResult>where
TResult: 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