[][src]Enum odrive_rs::enumerations::errors::AxisError

#[repr(u16)]
pub enum AxisError {
    ErrorNone,
    ErrorInvalidState,
    ErrorDcBusUnderVoltage,
    ErrorDcBusOverVoltage,
    ErrorCurrentMeasurementTimeout,
    ErrorBrakeResistorDisarmed,
    ErrorMotorDisarmed,
    ErrorMotorFailed,
    ErrorSensorlessEstimatorFailed,
    ErrorEncoderFailed,
    ErrorControllerFailed,
    ErrorPosCtrlDuringSensorless,
    ErrorWatchdogTimerExpired,
}

Variants

ErrorNone
ErrorInvalidState

An invalid state was requested

ErrorDcBusUnderVoltage
ErrorDcBusOverVoltage
ErrorCurrentMeasurementTimeout
ErrorBrakeResistorDisarmed

The brake resistor was unexpectedly disarmed

ErrorMotorDisarmed

The motor was unexpectedly disarmed

ErrorMotorFailed
ErrorSensorlessEstimatorFailed
ErrorEncoderFailed
ErrorControllerFailed
ErrorPosCtrlDuringSensorless
ErrorWatchdogTimerExpired

Trait Implementations

impl Clone for AxisError[src]

impl Copy for AxisError[src]

impl Eq for AxisError[src]

impl Ord for AxisError[src]

impl PartialEq<AxisError> for AxisError[src]

impl PartialOrd<AxisError> for AxisError[src]

impl Debug for AxisError[src]

impl StructuralPartialEq for AxisError[src]

impl StructuralEq for AxisError[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]