Skip to main content

PolygonSearchResult

Type Alias PolygonSearchResult 

Source
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§

§1.0.0

Ok(SearchOutcome<PolygonPath, PolygonSearchStats>)

Contains the success value

§1.0.0

Err(PolygonSearchError)

Contains the error value