[][src]Enum streamline::Progress

pub enum Progress<S, E, C> where
    S: State<Context = C, Error = E>, 
{ Ok(S), Revert(RevertProgress<S, E, C>), }

The state emitted by a Streamline

Variants

Ok(S)

All user-provided states run as part of Progress::Ok until they trigger a reversion

Revert(RevertProgress<S, E, C>)

Once a reversion has been triggered, Progress tracks the state of the reversion through a RevertProgress enum

Trait Implementations

impl<S: Debug, E: Debug, C: Debug> Debug for Progress<S, E, C> where
    S: State<Context = C, Error = E>, 
[src]

impl<S, E, C> From<S> for Progress<S, E, C> where
    S: State<Context = C, Error = E>, 
[src]

impl<S: PartialEq, E: PartialEq, C: PartialEq> PartialEq<Progress<S, E, C>> for Progress<S, E, C> where
    S: State<Context = C, Error = E>, 
[src]

impl<S, E, C> StructuralPartialEq for Progress<S, E, C> where
    S: State<Context = C, Error = E>, 
[src]

Auto Trait Implementations

impl<S, E, C> RefUnwindSafe for Progress<S, E, C> where
    E: RefUnwindSafe,
    S: RefUnwindSafe

impl<S, E, C> Send for Progress<S, E, C> where
    E: Send + Sync,
    S: Send

impl<S, E, C> Sync for Progress<S, E, C> where
    E: Send + Sync,
    S: Sync

impl<S, E, C> Unpin for Progress<S, E, C> where
    E: Unpin,
    S: Unpin

impl<S, E, C> UnwindSafe for Progress<S, E, C> where
    E: RefUnwindSafe + UnwindSafe,
    S: 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<!> for T[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.