routee-compass-core 0.19.0

The core routing algorithms and data structures of the RouteE-Compass energy-aware routing engine
Documentation
1
2
3
4
5
6
7
8
9
#[derive(thiserror::Error, Debug, Clone)]
pub enum UnitError {
    #[error("unable to parse {0} as a number")]
    NumericParsingError(String),
    #[error("failure due to numeric precision: {0}")]
    PrecisionError(String),
    #[error("zero division error: {0}")]
    ZeroDivisionError(String),
}