Output

Type Alias Output 

Source
pub type Output<T, E> = Result<Option<Datum<T>>, Error<E>>;
Expand description

A generic output type when something may return an error, nothing, or something with a timestamp.

Aliased Type§

pub enum Output<T, E> {
    Ok(Option<Datum<T>>),
    Err(Error<E>),
}

Variants§

§1.0.0

Ok(Option<Datum<T>>)

Contains the success value

§1.0.0

Err(Error<E>)

Contains the error value