windows::Win32::NetworkManagement::MobileBroadband

Trait IMbnDeviceService_Impl

pub trait IMbnDeviceService_Impl: IUnknownImpl {
    // Required methods
    fn QuerySupportedCommands(&self) -> Result<u32>;
    fn OpenCommandSession(&self) -> Result<u32>;
    fn CloseCommandSession(&self) -> Result<u32>;
    fn SetCommand(
        &self,
        commandid: u32,
        deviceservicedata: *const SAFEARRAY,
    ) -> Result<u32>;
    fn QueryCommand(
        &self,
        commandid: u32,
        deviceservicedata: *const SAFEARRAY,
    ) -> Result<u32>;
    fn OpenDataSession(&self) -> Result<u32>;
    fn CloseDataSession(&self) -> Result<u32>;
    fn WriteData(&self, deviceservicedata: *const SAFEARRAY) -> Result<u32>;
    fn InterfaceID(&self) -> Result<BSTR>;
    fn DeviceServiceID(&self) -> Result<BSTR>;
    fn IsCommandSessionOpen(&self) -> Result<BOOL>;
    fn IsDataSessionOpen(&self) -> Result<BOOL>;
}

Required Methods§

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

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

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

fn SetCommand( &self, commandid: u32, deviceservicedata: *const SAFEARRAY, ) -> Result<u32>

fn QueryCommand( &self, commandid: u32, deviceservicedata: *const SAFEARRAY, ) -> Result<u32>

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

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

fn WriteData(&self, deviceservicedata: *const SAFEARRAY) -> Result<u32>

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

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

fn IsCommandSessionOpen(&self) -> Result<BOOL>

fn IsDataSessionOpen(&self) -> Result<BOOL>

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§