Skip to main content

result

Function result 

Source
pub(crate) fn result<T>(r: Result<T, Error>) -> Result<T, Error>
Expand description

Converts a RocksDB result into the crate’s error type.

Successful values pass through unchanged. RocksDB errors are normalized by map_err before entering the crate-wide error representation.