pub struct AwaitableCallback<F>where
F: Callback,{ /* private fields */ }
Implementations§
Source§impl<F: Callback> AwaitableCallback<F>
impl<F: Callback> AwaitableCallback<F>
Sourcepub fn new_interface(callback: F) -> IFabricAsyncOperationCallback
pub fn new_interface(callback: F) -> IFabricAsyncOperationCallback
Creates a new obj and convert to the COM interface type.
Trait Implementations§
Source§impl<F> AsImpl<AwaitableCallback<F>> for IFabricAsyncOperationCallbackwhere
F: Callback,
impl<F> AsImpl<AwaitableCallback<F>> for IFabricAsyncOperationCallbackwhere
F: Callback,
Source§impl<F> ComObjectInner for AwaitableCallback<F>where
F: Callback,
impl<F> ComObjectInner for AwaitableCallback<F>where
F: Callback,
Source§type Outer = AwaitableCallback_Impl<F>
type Outer = AwaitableCallback_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<AwaitableCallback<F>> for IFabricAsyncOperationCallbackwhere
F: Callback,
impl<F> From<AwaitableCallback<F>> for IFabricAsyncOperationCallbackwhere
F: Callback,
Source§fn from(this: AwaitableCallback<F>) -> Self
fn from(this: AwaitableCallback<F>) -> Self
Converts to this type from the input type.
Source§impl<F> From<AwaitableCallback<F>> for IInspectablewhere
F: Callback,
impl<F> From<AwaitableCallback<F>> for IInspectablewhere
F: Callback,
Source§fn from(this: AwaitableCallback<F>) -> Self
fn from(this: AwaitableCallback<F>) -> Self
Converts to this type from the input type.
Source§impl<F> From<AwaitableCallback<F>> for IUnknownwhere
F: Callback,
impl<F> From<AwaitableCallback<F>> for IUnknownwhere
F: Callback,
Source§fn from(this: AwaitableCallback<F>) -> Self
fn from(this: AwaitableCallback<F>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<F> !Freeze for AwaitableCallback<F>
impl<F> !RefUnwindSafe for AwaitableCallback<F>
impl<F> Send for AwaitableCallback<F>where
F: Send,
impl<F> !Sync for AwaitableCallback<F>
impl<F> Unpin for AwaitableCallback<F>where
F: Unpin,
impl<F> UnwindSafe for AwaitableCallback<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