Enum vex_rt::adi::AdiAnalogError
source · [−]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
sourceimpl Debug for AdiAnalogError
impl Debug for AdiAnalogError
sourceimpl From<AdiAnalogError> for Error
impl From<AdiAnalogError> for Error
sourcefn from(err: AdiAnalogError) -> Self
fn from(err: AdiAnalogError) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl RefUnwindSafe for AdiAnalogError
impl Send for AdiAnalogError
impl Sync for AdiAnalogError
impl Unpin for AdiAnalogError
impl UnwindSafe for AdiAnalogError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more