[][src]Enum aimc_hal::automation::Transition

pub enum Transition<F> {
    Complete,
    Fault(F),
    Incomplete,
}

The result of a single call to AutomationSequence::poll().

Variants

Complete

The AutomationSequence completed successfully.

Fault(F)

The AutomationSequence failed with a particular fault code.

Incomplete

The AutomationSequence is still running.

Implementations

impl<F> Transition<F>[src]

pub fn at_end_state(&self) -> bool[src]

Trait Implementations

impl<F: Clone> Clone for Transition<F>[src]

impl<F: Copy> Copy for Transition<F>[src]

impl<F: Debug> Debug for Transition<F>[src]

impl<F: PartialEq> PartialEq<Transition<F>> for Transition<F>[src]

impl<F> StructuralPartialEq for Transition<F>[src]

Auto Trait Implementations

impl<F> RefUnwindSafe for Transition<F> where
    F: RefUnwindSafe

impl<F> Send for Transition<F> where
    F: Send

impl<F> Sync for Transition<F> where
    F: Sync

impl<F> Unpin for Transition<F> where
    F: Unpin

impl<F> UnwindSafe for Transition<F> where
    F: UnwindSafe

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> Same<T> for T[src]

type Output = T

Should always be Self

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.