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§
Source§impl Debug for AdiGyroError
impl Debug for AdiGyroError
Source§impl From<AdiGyroError> for Error
impl From<AdiGyroError> for Error
Source§fn from(err: AdiGyroError) -> Self
fn from(err: AdiGyroError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AdiGyroError
impl RefUnwindSafe for AdiGyroError
impl Send for AdiGyroError
impl Sync for AdiGyroError
impl Unpin for AdiGyroError
impl UnwindSafe for AdiGyroError
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