[][src]Enum pololu_smc::command::MotorLimitResponse

pub enum MotorLimitResponse {
    Ok,
    UnableForward,
    UnableReverse,
    Unable,
    Unknown,
}

All the responses that the controller can provide after setting the motor limits.

Variants

Ok

No problems setting the limit.

UnableForward

Unable to set forward limit to the specified value because of hard motor limit settings.

UnableReverse

Unable to set reverse limit to the specified value because of hard motor limit settings.

Unable

Unable to set forward and reverse limits to the specified value because of hard motor limit settings.

Unknown

The response code has not been specified in the official user's guide.

Trait Implementations

impl Clone for MotorLimitResponse[src]

impl Copy for MotorLimitResponse[src]

impl Debug for MotorLimitResponse[src]

impl Eq for MotorLimitResponse[src]

impl Hash for MotorLimitResponse[src]

impl Ord for MotorLimitResponse[src]

impl PartialEq<MotorLimitResponse> for MotorLimitResponse[src]

impl PartialOrd<MotorLimitResponse> for MotorLimitResponse[src]

impl StructuralEq for MotorLimitResponse[src]

impl StructuralPartialEq for MotorLimitResponse[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

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

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.