windows::Win32::System::WinRT

Trait ICastingEventHandler_Impl

pub trait ICastingEventHandler_Impl: IUnknownImpl {
    // Required methods
    fn OnStateChanged(&self, newstate: CASTING_CONNECTION_STATE) -> Result<()>;
    fn OnError(
        &self,
        errorstatus: CASTING_CONNECTION_ERROR_STATUS,
        errormessage: &PCWSTR,
    ) -> Result<()>;
}

Required Methods§

fn OnStateChanged(&self, newstate: CASTING_CONNECTION_STATE) -> Result<()>

fn OnError( &self, errorstatus: CASTING_CONNECTION_ERROR_STATUS, errormessage: &PCWSTR, ) -> 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§