Skip to main content

ReadResult

Type Alias ReadResult 

Source
pub type ReadResult<T, R> = Result<T, <R as NodeReader>::Error>;
Expand description

The Result a NodeReader read yields: a value T or the backend’s own error. Aliased so the trait’s impl Future return types stay readable.

Aliased Type§

pub enum ReadResult<T, R> {
    Ok(T),
    Err(<R as NodeReader>::Error),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(<R as NodeReader>::Error)

Contains the error value