Function sanakirja_core::btree::get[][src]

pub fn get<'a, T: LoadPage, K: Storable + ?Sized, V: Storable + ?Sized, P: BTreePage<K, V>>(
    txn: &'a T,
    db: &Db_<K, V, P>,
    k: &K,
    v: Option<&V>
) -> Result<Option<(&'a K, &'a V)>, T::Error>

Get the first entry of a database greater than or equal to k (or to (k, v) if v.is_some()).