Type Definition b4s::SearchResult

source ·
pub type SearchResult = Result<Range<usize>, SearchError>;
Expand description

The result of a SortedString::binary_search().

Success case

The location where the match was found.

Error case

Refer to SearchError for details.