Trait IAdcControllerProvider_Impl
pub trait IAdcControllerProvider_Impl: IUnknownImpl {
// Required methods
fn ChannelCount(&self) -> Result<i32>;
fn ResolutionInBits(&self) -> Result<i32>;
fn MinValue(&self) -> Result<i32>;
fn MaxValue(&self) -> Result<i32>;
fn ChannelMode(&self) -> Result<ProviderAdcChannelMode>;
fn SetChannelMode(&self, value: ProviderAdcChannelMode) -> Result<()>;
fn IsChannelModeSupported(
&self,
channelMode: ProviderAdcChannelMode,
) -> Result<bool>;
fn AcquireChannel(&self, channel: i32) -> Result<()>;
fn ReleaseChannel(&self, channel: i32) -> Result<()>;
fn ReadValue(&self, channelNumber: i32) -> Result<i32>;
}
Required Methods§
fn ChannelCount(&self) -> Result<i32>
fn ResolutionInBits(&self) -> Result<i32>
fn MinValue(&self) -> Result<i32>
fn MaxValue(&self) -> Result<i32>
fn ChannelMode(&self) -> Result<ProviderAdcChannelMode>
fn SetChannelMode(&self, value: ProviderAdcChannelMode) -> Result<()>
fn IsChannelModeSupported( &self, channelMode: ProviderAdcChannelMode, ) -> Result<bool>
fn AcquireChannel(&self, channel: i32) -> Result<()>
fn ReleaseChannel(&self, channel: i32) -> Result<()>
fn ReadValue(&self, channelNumber: i32) -> Result<i32>
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.