Type Alias LoadResult

pub type LoadResult<T> = Result<T, LoadError>;
Expand description

A result type with a data-loading-related error.

Aliased Type§

enum LoadResult<T> {
    Ok(T),
    Err(LoadError),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(LoadError)

Contains the error value