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