Skip to main content

handle_from

Function handle_from 

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

Converts a RocksDB point-read result into a required value handle.

Missing values become the database not-found error, while RocksDB failures use the shared error mapping.