pub type PolygonSearchResult = Result<SearchOutcome<PolygonPath, PolygonSearchStats>, PolygonSearchError>;Expand description
Polygonal search return type: validation / budget Err, or found/no-path with stats.
Ok(Found) and Ok(NoPath) are completed searches; Err is not a proof of
unreachability (invalid endpoints or exhausted condor_core::SearchBudget).
Aliased Type§
pub enum PolygonSearchResult {
Ok(SearchOutcome<PolygonPath, PolygonSearchStats>),
Err(PolygonSearchError),
}Variants§
Ok(SearchOutcome<PolygonPath, PolygonSearchStats>)
Contains the success value
Err(PolygonSearchError)
Contains the error value