Skip to main content

cached_handle_from

Function cached_handle_from 

Source
pub(super) fn cached_handle_from(
    result: Result<Option<DBPinnableSlice<'_>>, Error>,
) -> Result<Option<Handle<'_>>>
Expand description

Classifies a block-cache point-read result.

Ok(None) represents a cache miss, a cached absence becomes not-found, and other RocksDB failures use the shared error mapping.