pub enum MetricRoutingError {
InvalidCoordinate,
InvalidLengthInterval,
InvalidMobilityProfile,
EmptyRouteEvidence,
InexactRouteEvidence,
IncompleteMetricEvidence,
ResponseEndpointMismatch,
MissingGeometry(Box<ObjectId>),
Unavailable(String),
}Expand description
Fail-closed metric routing errors.
Variants§
InvalidCoordinate
A coordinate was NaN or infinite.
InvalidLengthInterval
A scalar length was negative, non-finite, or had reversed bounds.
InvalidMobilityProfile
A mobility dimension was negative or non-finite.
EmptyRouteEvidence
A route response omitted its path or traversed-object evidence.
InexactRouteEvidence
Route provenance was approximate or blank.
IncompleteMetricEvidence
A blocked verdict did not prove complete obstacle/topology coverage.
ResponseEndpointMismatch
A backend returned a route for different endpoints than requested.
MissingGeometry(Box<ObjectId>)
Required geometry was not available for the named object.
The backend deliberately refused an unsupported or partial query.
Trait Implementations§
Source§impl Clone for MetricRoutingError
impl Clone for MetricRoutingError
Source§fn clone(&self) -> MetricRoutingError
fn clone(&self) -> MetricRoutingError
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MetricRoutingError
impl Debug for MetricRoutingError
Source§impl Display for MetricRoutingError
impl Display for MetricRoutingError
Source§impl Error for MetricRoutingError
impl Error for MetricRoutingError
1.30.0 · 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 PartialEq for MetricRoutingError
impl PartialEq for MetricRoutingError
impl Eq for MetricRoutingError
impl StructuralPartialEq for MetricRoutingError
Auto Trait Implementations§
impl Freeze for MetricRoutingError
impl RefUnwindSafe for MetricRoutingError
impl Send for MetricRoutingError
impl Sync for MetricRoutingError
impl Unpin for MetricRoutingError
impl UnwindSafe for MetricRoutingError
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