pub enum ODriveError {
Axis(AxisError),
Motor(MotorError),
Encoder(EncoderError),
Controller(ControllerError),
InvalidMessageReceived(String),
NoMessageReceived,
Io(Error),
}Variants§
Axis(AxisError)
Motor(MotorError)
Encoder(EncoderError)
Controller(ControllerError)
InvalidMessageReceived(String)
Used when the ODrive sends us an invalid message. If you see this, file an issue.
NoMessageReceived
Io(Error)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ODriveError
impl !RefUnwindSafe for ODriveError
impl Send for ODriveError
impl Sync for ODriveError
impl Unpin for ODriveError
impl !UnwindSafe for ODriveError
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