Enum vex_rt::adi::AdiEncoderError
source · [−]pub enum AdiEncoderError {
PortsOutOfRange,
PortsNotAdiEncoder,
PortNonMatchingExtenders,
Unknown(i32),
}
Expand description
Represents possible errors for ADI encoder operations.
Variants
PortsOutOfRange
Ports are out of range (1-8).
PortsNotAdiEncoder
Ports cannot be configured as an ADI encoder.
PortNonMatchingExtenders
Ports are from non matching extenders.
Unknown(i32)
Unknown error.
Trait Implementations
sourceimpl Debug for AdiEncoderError
impl Debug for AdiEncoderError
sourceimpl From<AdiEncoderError> for Error
impl From<AdiEncoderError> for Error
sourcefn from(err: AdiEncoderError) -> Self
fn from(err: AdiEncoderError) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl RefUnwindSafe for AdiEncoderError
impl Send for AdiEncoderError
impl Sync for AdiEncoderError
impl Unpin for AdiEncoderError
impl UnwindSafe for AdiEncoderError
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