pub trait IAMExtDevice_Impl: Sized {
    // Required methods
    fn GetCapability(
        &self,
        capability: i32,
        pvalue: *mut i32,
        pdblvalue: *mut f64
    ) -> Result<()>;
    fn ExternalDeviceID(&self) -> Result<PWSTR>;
    fn ExternalDeviceVersion(&self) -> Result<PWSTR>;
    fn SetDevicePower(&self, powermode: i32) -> Result<()>;
    fn DevicePower(&self) -> Result<i32>;
    fn Calibrate(&self, hevent: usize, mode: i32) -> Result<i32>;
    fn SetDevicePort(&self, deviceport: i32) -> Result<()>;
    fn DevicePort(&self) -> Result<i32>;
}

Required Methods§

fn GetCapability( &self, capability: i32, pvalue: *mut i32, pdblvalue: *mut f64 ) -> Result<()>

fn ExternalDeviceID(&self) -> Result<PWSTR>

fn ExternalDeviceVersion(&self) -> Result<PWSTR>

fn SetDevicePower(&self, powermode: i32) -> Result<()>

fn DevicePower(&self) -> Result<i32>

fn Calibrate(&self, hevent: usize, mode: i32) -> Result<i32>

fn SetDevicePort(&self, deviceport: i32) -> Result<()>

fn DevicePort(&self) -> Result<i32>

Object Safety§

This trait is not object safe.

Implementors§