pub struct AwaitableCallback2<F>where
F: Callback,{ /* private fields */ }
Implementations§
source§impl<F: Callback> AwaitableCallback2<F>
impl<F: Callback> AwaitableCallback2<F>
pub fn i_new(callback: F) -> IFabricAsyncOperationCallback
Trait Implementations§
source§impl<F> AsImpl<AwaitableCallback2<F>> for IFabricAsyncOperationCallbackwhere
F: Callback,
impl<F> AsImpl<AwaitableCallback2<F>> for IFabricAsyncOperationCallbackwhere
F: Callback,
source§impl<F> ComObjectInner for AwaitableCallback2<F>where
F: Callback,
impl<F> ComObjectInner for AwaitableCallback2<F>where
F: Callback,
source§type Outer = AwaitableCallback2_Impl<F>
type Outer = AwaitableCallback2_Impl<F>
The generated
<foo>_Impl
type (aka the “boxed” type or “outer” type).source§fn into_object(self) -> ComObject<Self>
fn into_object(self) -> ComObject<Self>
Moves an instance of this type into a new ComObject box and returns it. Read more
source§impl<F> From<AwaitableCallback2<F>> for IFabricAsyncOperationCallbackwhere
F: Callback,
impl<F> From<AwaitableCallback2<F>> for IFabricAsyncOperationCallbackwhere
F: Callback,
source§fn from(this: AwaitableCallback2<F>) -> Self
fn from(this: AwaitableCallback2<F>) -> Self
Converts to this type from the input type.
source§impl<F> From<AwaitableCallback2<F>> for IInspectablewhere
F: Callback,
impl<F> From<AwaitableCallback2<F>> for IInspectablewhere
F: Callback,
source§fn from(this: AwaitableCallback2<F>) -> Self
fn from(this: AwaitableCallback2<F>) -> Self
Converts to this type from the input type.
source§impl<F> From<AwaitableCallback2<F>> for IUnknownwhere
F: Callback,
impl<F> From<AwaitableCallback2<F>> for IUnknownwhere
F: Callback,
source§fn from(this: AwaitableCallback2<F>) -> Self
fn from(this: AwaitableCallback2<F>) -> Self
Converts to this type from the input type.
source§impl<F: Callback> IFabricAsyncOperationCallback_Impl for AwaitableCallback2<F>
impl<F: Callback> IFabricAsyncOperationCallback_Impl for AwaitableCallback2<F>
fn Invoke(&self, context: Option<&IFabricAsyncOperationContext>)
Auto Trait Implementations§
impl<F> !Freeze for AwaitableCallback2<F>
impl<F> !RefUnwindSafe for AwaitableCallback2<F>
impl<F> Send for AwaitableCallback2<F>where
F: Send,
impl<F> !Sync for AwaitableCallback2<F>
impl<F> Unpin for AwaitableCallback2<F>where
F: Unpin,
impl<F> UnwindSafe for AwaitableCallback2<F>where
F: 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