pub fn parse_bytes_as_index(
    bytes: Bytes
) -> Result<ParsedIndex, IndexParseError>
Expand description

Given some bytes, this function will try to unwrap it from its envelope and parse it as a search index, returning that index if it’s successful.