pub type Result<T> = Result<T, &'static str>;
Expand description

Alias for the result type of the election data provider.

Aliased Type§

enum Result<T> {
    Ok(T),
    Err(&'static str),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(&'static str)

Contains the error value