windows::Win32::NetworkManagement::MobileBroadband

Trait IMbnConnectionEvents_Impl

pub trait IMbnConnectionEvents_Impl: IUnknownImpl {
    // Required methods
    fn OnConnectComplete(
        &self,
        newconnection: Ref<'_, IMbnConnection>,
        requestid: u32,
        status: HRESULT,
    ) -> Result<()>;
    fn OnDisconnectComplete(
        &self,
        newconnection: Ref<'_, IMbnConnection>,
        requestid: u32,
        status: HRESULT,
    ) -> Result<()>;
    fn OnConnectStateChange(
        &self,
        newconnection: Ref<'_, IMbnConnection>,
    ) -> Result<()>;
    fn OnVoiceCallStateChange(
        &self,
        newconnection: Ref<'_, IMbnConnection>,
    ) -> Result<()>;
}

Required Methods§

fn OnConnectComplete( &self, newconnection: Ref<'_, IMbnConnection>, requestid: u32, status: HRESULT, ) -> Result<()>

fn OnDisconnectComplete( &self, newconnection: Ref<'_, IMbnConnection>, requestid: u32, status: HRESULT, ) -> Result<()>

fn OnConnectStateChange( &self, newconnection: Ref<'_, IMbnConnection>, ) -> Result<()>

fn OnVoiceCallStateChange( &self, newconnection: Ref<'_, IMbnConnection>, ) -> 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§