TimeOutput

Type Alias TimeOutput 

Source
pub type TimeOutput<E> = Result<Time, Error<E>>;
Expand description

Returned from TimeGetter objects, which may return either a time or an error.

Aliased Type§

pub enum TimeOutput<E> {
    Ok(Time),
    Err(Error<E>),
}

Variants§

§1.0.0

Ok(Time)

Contains the success value

§1.0.0

Err(Error<E>)

Contains the error value