Skip to main content

fetch

Function fetch 

Source
pub(crate) async fn fetch<T>(
    db: &Database,
    map: &str,
    key: &[u8],
    convert: impl FnOnce(&[u8]) -> T,
) -> Result<Option<T>>