Type Alias devices::bat::Result

source ·
type Result<T> = Result<T, BatteryError>;

Aliased Type§

enum Result<T> {
    Ok(T),
    Err(BatteryError),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(BatteryError)

Contains the error value