windows::Win32::NetworkManagement::MobileBroadband

Trait IMbnInterface_Impl

pub trait IMbnInterface_Impl: IUnknownImpl {
    // Required methods
    fn InterfaceID(&self) -> Result<BSTR>;
    fn GetInterfaceCapability(
        &self,
        interfacecaps: *mut MBN_INTERFACE_CAPS,
    ) -> Result<()>;
    fn GetSubscriberInformation(&self) -> Result<IMbnSubscriberInformation>;
    fn GetReadyState(&self) -> Result<MBN_READY_STATE>;
    fn InEmergencyMode(&self) -> Result<VARIANT_BOOL>;
    fn GetHomeProvider(&self) -> Result<MBN_PROVIDER>;
    fn GetPreferredProviders(&self) -> Result<*mut SAFEARRAY>;
    fn SetPreferredProviders(
        &self,
        preferredproviders: *const SAFEARRAY,
    ) -> Result<u32>;
    fn GetVisibleProviders(&self, age: *mut u32) -> Result<*mut SAFEARRAY>;
    fn ScanNetwork(&self) -> Result<u32>;
    fn GetConnection(&self) -> Result<IMbnConnection>;
}

Required Methods§

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

fn GetInterfaceCapability( &self, interfacecaps: *mut MBN_INTERFACE_CAPS, ) -> Result<()>

fn GetSubscriberInformation(&self) -> Result<IMbnSubscriberInformation>

fn GetReadyState(&self) -> Result<MBN_READY_STATE>

fn InEmergencyMode(&self) -> Result<VARIANT_BOOL>

fn GetHomeProvider(&self) -> Result<MBN_PROVIDER>

fn GetPreferredProviders(&self) -> Result<*mut SAFEARRAY>

fn SetPreferredProviders( &self, preferredproviders: *const SAFEARRAY, ) -> Result<u32>

fn GetVisibleProviders(&self, age: *mut u32) -> Result<*mut SAFEARRAY>

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

fn GetConnection(&self) -> Result<IMbnConnection>

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§