pub enum AdiAnalogError {
PortsOutOfRange,
PortsNotAnalogInput,
Unknown(i32),
}Expand description
Represents possible errors for ADI analog operations.
Variants§
PortsOutOfRange
Ports are out of range (1-8).
PortsNotAnalogInput
Ports cannot be configured as an ADI Analog input.
Unknown(i32)
Unknown error.
Trait Implementations§
Source§impl Debug for AdiAnalogError
impl Debug for AdiAnalogError
Source§impl From<AdiAnalogError> for Error
impl From<AdiAnalogError> for Error
Source§fn from(err: AdiAnalogError) -> Self
fn from(err: AdiAnalogError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AdiAnalogError
impl RefUnwindSafe for AdiAnalogError
impl Send for AdiAnalogError
impl Sync for AdiAnalogError
impl Unpin for AdiAnalogError
impl UnwindSafe for AdiAnalogError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more