pub struct AsyncContext { /* private fields */ }
Implementations§
Source§impl AsyncContext
impl AsyncContext
Sourcepub const fn into_static(self) -> StaticComObject<Self>
pub const fn into_static(self) -> StaticComObject<Self>
This converts a partially-constructed COM object (in the sense that it contains
application state but does not yet have vtable and reference count constructed)
into a StaticComObject
. This allows the COM object to be stored in static
(global) variables.
Source§impl AsyncContext
impl AsyncContext
pub fn new(callback: Option<&IFabricAsyncOperationCallback>) -> AsyncContext
Trait Implementations§
Source§impl ComObjectInner for AsyncContext
impl ComObjectInner for AsyncContext
Source§type Outer = AsyncContext_Impl
type Outer = AsyncContext_Impl
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 Debug for AsyncContext
impl Debug for AsyncContext
Source§impl From<AsyncContext> for IFabricAsyncOperationContext
impl From<AsyncContext> for IFabricAsyncOperationContext
Source§fn from(this: AsyncContext) -> Self
fn from(this: AsyncContext) -> Self
Converts to this type from the input type.
Source§impl From<AsyncContext> for IInspectable
impl From<AsyncContext> for IInspectable
Source§fn from(this: AsyncContext) -> Self
fn from(this: AsyncContext) -> Self
Converts to this type from the input type.
Source§impl From<AsyncContext> for IUnknown
impl From<AsyncContext> for IUnknown
Source§fn from(this: AsyncContext) -> Self
fn from(this: AsyncContext) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AsyncContext
impl RefUnwindSafe for AsyncContext
impl Send for AsyncContext
impl Sync for AsyncContext
impl Unpin for AsyncContext
impl UnwindSafe for AsyncContext
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