pub enum RouteOutcome {
Route {
nodes: Vec<SupportNode>,
length: Scalar,
evidence: TraversalEvidence,
},
NoRouteUnderEnvelope {
evidence: TraversalEvidence,
},
}Expand description
Result of a route query. Both variants are geometric statements.
Variants§
Route
A route exists under the supplied envelope.
Fields
§
nodes: Vec<SupportNode>Ordered support nodes from start to goal.
§
evidence: TraversalEvidenceGeometric facts about the search.
NoRouteUnderEnvelope
No route exists under this envelope. This is not a compliance verdict. NOT-A-VERDICT
Fields
§
evidence: TraversalEvidenceGeometric facts explaining what was filtered away.
Trait Implementations§
Source§impl Clone for RouteOutcome
impl Clone for RouteOutcome
Source§fn clone(&self) -> RouteOutcome
fn clone(&self) -> RouteOutcome
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 RouteOutcome
impl Debug for RouteOutcome
Source§impl PartialEq for RouteOutcome
impl PartialEq for RouteOutcome
impl StructuralPartialEq for RouteOutcome
Auto Trait Implementations§
impl Freeze for RouteOutcome
impl RefUnwindSafe for RouteOutcome
impl Send for RouteOutcome
impl Sync for RouteOutcome
impl Unpin for RouteOutcome
impl UnwindSafe for RouteOutcome
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