windows::Win32::NetworkManagement::MobileBroadband

Trait IMbnConnection_Impl

pub trait IMbnConnection_Impl: IUnknownImpl {
    // Required methods
    fn ConnectionID(&self) -> Result<BSTR>;
    fn InterfaceID(&self) -> Result<BSTR>;
    fn Connect(
        &self,
        connectionmode: MBN_CONNECTION_MODE,
        strprofile: &PCWSTR,
    ) -> Result<u32>;
    fn Disconnect(&self) -> Result<u32>;
    fn GetConnectionState(
        &self,
        connectionstate: *mut MBN_ACTIVATION_STATE,
        profilename: *mut BSTR,
    ) -> Result<()>;
    fn GetVoiceCallState(&self) -> Result<MBN_VOICE_CALL_STATE>;
    fn GetActivationNetworkError(&self) -> Result<u32>;
}

Required Methods§

fn ConnectionID(&self) -> Result<BSTR>

fn InterfaceID(&self) -> Result<BSTR>

fn Connect( &self, connectionmode: MBN_CONNECTION_MODE, strprofile: &PCWSTR, ) -> Result<u32>

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

fn GetConnectionState( &self, connectionstate: *mut MBN_ACTIVATION_STATE, profilename: *mut BSTR, ) -> Result<()>

fn GetVoiceCallState(&self) -> Result<MBN_VOICE_CALL_STATE>

fn GetActivationNetworkError(&self) -> Result<u32>

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§