windows::Win32::System::WinRT

Trait ICastingController_Impl

pub trait ICastingController_Impl: IUnknownImpl {
    // Required methods
    fn Initialize(
        &self,
        castingengine: Ref<'_, IUnknown>,
        castingsource: Ref<'_, IUnknown>,
    ) -> Result<()>;
    fn Connect(&self) -> Result<()>;
    fn Disconnect(&self) -> Result<()>;
    fn Advise(&self, eventhandler: Ref<'_, ICastingEventHandler>) -> Result<u32>;
    fn UnAdvise(&self, cookie: u32) -> Result<()>;
}

Required Methods§

fn Initialize( &self, castingengine: Ref<'_, IUnknown>, castingsource: Ref<'_, IUnknown>, ) -> Result<()>

fn Connect(&self) -> Result<()>

fn Disconnect(&self) -> Result<()>

fn Advise(&self, eventhandler: Ref<'_, ICastingEventHandler>) -> Result<u32>

fn UnAdvise(&self, cookie: u32) -> Result<()>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§