Skip to main content

StepOutput

Type Alias StepOutput 

Source
pub type StepOutput<T, E> = Option<Result<T, E>>;
Expand description
            None -> "You may run, the step may have done nothing or just performed some effects"
        Some(Ok) -> "You may run, the step yielded a T that could be transformed or discarded"
       Some(Err) -> "You should not run, something unrecoverable happened"
Some(WouldBlock) -> "You may run, but we should all wait until the resource would no longer block"

Aliased Type§

pub enum StepOutput<T, E> {
    None,
    Some(Result<T, Error<E>>),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(Result<T, Error<E>>)

Some value of type T.