[][src]Struct win_idispatch::UnknownInterface

pub struct UnknownInterface { /* fields omitted */ }

UnknownInterface is a structure that maintains access to an IUnkonwn pointer. The pointer will be cleaned up correctly when the reference is dropped.

Implementations

impl UnknownInterface[src]

pub fn new(
    class_id: GUID,
    class_context: CLSCTX
) -> Result<UnknownInterface, Error>
[src]

Create a new Unknown interface based on the provided class GUID and the class context.

pub fn get_dispatch_interface(&self) -> Result<DispatchInterface, Error>[src]

Gets a DisptachInterface to work with the COM server registered with the class GUID provided to the unknown interface.

Trait Implementations

impl Drop for UnknownInterface[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.