Skip to main content

SearchResult

Type Alias SearchResult 

Source
pub type SearchResult = Result<SearchOutcome<Path, SearchStats>, GridSearchError>;
Expand description

Grid search return type: validation error, or found/no-path with stats.

Aliased Type§

pub enum SearchResult {
    Ok(SearchOutcome<Path, SearchStats>),
    Err(GridSearchError),
}

Variants§

§1.0.0

Ok(SearchOutcome<Path, SearchStats>)

Contains the success value

§1.0.0

Err(GridSearchError)

Contains the error value