pub enum CompassAppError {
Show 20 variants
BuildFailure(String),
CompassFailure(String),
InternalError(String),
ReadOnlyPoisonError(String),
ConfigFailure(ConfigError),
CompassConfigurationError(CompassConfigurationError),
CompassComponentError(CompassComponentError),
SearchFailure(SearchError),
PluginError(PluginError),
InputPluginFailure(InputPluginError),
OutputPluginFailure(OutputPluginError),
MapMatchingFailure(MapMatchingAppError),
MappingFailure {
source: MapError,
},
StateFailure {
source: StateModelError,
},
NetworkFailure {
source: NetworkError,
},
TerminationModelFailure {
source: TerminationModelError,
},
TraversalModelFailure {
source: TraversalModelError,
},
ConstraintModelFailure {
source: ConstraintModelError,
},
CostFailure {
source: CostModelError,
},
JsonError {
source: Error,
},
}Variants§
BuildFailure(String)
CompassFailure(String)
InternalError(String)
ReadOnlyPoisonError(String)
ConfigFailure(ConfigError)
CompassConfigurationError(CompassConfigurationError)
CompassComponentError(CompassComponentError)
SearchFailure(SearchError)
PluginError(PluginError)
InputPluginFailure(InputPluginError)
OutputPluginFailure(OutputPluginError)
MapMatchingFailure(MapMatchingAppError)
MappingFailure
StateFailure
Fields
§
source: StateModelErrorNetworkFailure
Fields
§
source: NetworkErrorTerminationModelFailure
Fields
§
source: TerminationModelErrorTraversalModelFailure
Fields
§
source: TraversalModelErrorConstraintModelFailure
Fields
§
source: ConstraintModelErrorCostFailure
Fields
§
source: CostModelErrorJsonError
Trait Implementations§
Source§impl Debug for CompassAppError
impl Debug for CompassAppError
Source§impl Display for CompassAppError
impl Display for CompassAppError
Source§impl Error for CompassAppError
impl Error for CompassAppError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<CompassComponentError> for CompassAppError
impl From<CompassComponentError> for CompassAppError
Source§fn from(source: CompassComponentError) -> Self
fn from(source: CompassComponentError) -> Self
Converts to this type from the input type.
Source§impl From<CompassConfigurationError> for CompassAppError
impl From<CompassConfigurationError> for CompassAppError
Source§fn from(source: CompassConfigurationError) -> Self
fn from(source: CompassConfigurationError) -> Self
Converts to this type from the input type.
Source§impl From<ConfigError> for CompassAppError
impl From<ConfigError> for CompassAppError
Source§fn from(source: ConfigError) -> Self
fn from(source: ConfigError) -> Self
Converts to this type from the input type.
Source§impl From<ConstraintModelError> for CompassAppError
impl From<ConstraintModelError> for CompassAppError
Source§fn from(source: ConstraintModelError) -> Self
fn from(source: ConstraintModelError) -> Self
Converts to this type from the input type.
Source§impl From<CostModelError> for CompassAppError
impl From<CostModelError> for CompassAppError
Source§fn from(source: CostModelError) -> Self
fn from(source: CostModelError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for CompassAppError
impl From<Error> for CompassAppError
Source§impl From<InputPluginError> for CompassAppError
impl From<InputPluginError> for CompassAppError
Source§fn from(source: InputPluginError) -> Self
fn from(source: InputPluginError) -> Self
Converts to this type from the input type.
Source§impl From<MapError> for CompassAppError
impl From<MapError> for CompassAppError
Source§impl From<MapMatchingAppError> for CompassAppError
impl From<MapMatchingAppError> for CompassAppError
Source§fn from(source: MapMatchingAppError) -> Self
fn from(source: MapMatchingAppError) -> Self
Converts to this type from the input type.
Source§impl From<NetworkError> for CompassAppError
impl From<NetworkError> for CompassAppError
Source§fn from(source: NetworkError) -> Self
fn from(source: NetworkError) -> Self
Converts to this type from the input type.
Source§impl From<OutputPluginError> for CompassAppError
impl From<OutputPluginError> for CompassAppError
Source§fn from(source: OutputPluginError) -> Self
fn from(source: OutputPluginError) -> Self
Converts to this type from the input type.
Source§impl From<PluginError> for CompassAppError
impl From<PluginError> for CompassAppError
Source§fn from(source: PluginError) -> Self
fn from(source: PluginError) -> Self
Converts to this type from the input type.
Source§impl From<SearchError> for CompassAppError
impl From<SearchError> for CompassAppError
Source§fn from(source: SearchError) -> Self
fn from(source: SearchError) -> Self
Converts to this type from the input type.
Source§impl From<StateModelError> for CompassAppError
impl From<StateModelError> for CompassAppError
Source§fn from(source: StateModelError) -> Self
fn from(source: StateModelError) -> Self
Converts to this type from the input type.
Source§impl From<TerminationModelError> for CompassAppError
impl From<TerminationModelError> for CompassAppError
Source§fn from(source: TerminationModelError) -> Self
fn from(source: TerminationModelError) -> Self
Converts to this type from the input type.
Source§impl From<TraversalModelError> for CompassAppError
impl From<TraversalModelError> for CompassAppError
Source§fn from(source: TraversalModelError) -> Self
fn from(source: TraversalModelError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CompassAppError
impl !RefUnwindSafe for CompassAppError
impl Send for CompassAppError
impl Sync for CompassAppError
impl Unpin for CompassAppError
impl UnsafeUnpin for CompassAppError
impl !UnwindSafe for CompassAppError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more