pub fn btree_search(btree: CellRef, key: CellRef) -> Result<CellRef, RuntimeError> {
    match btree_search_internal(&btree, key) {
        BTreeSearchResult::Found(key_value) => Ok(key_value),
        BTreeSearchResult::NotFound         => Ok(NIL.clone()),
        BTreeSearchResult::Err(err)         => Err(err)
    }
}
///
/// Searches a B-Tree for the value associated with a particular cell. Returns nil if the key is not present in the BTree
///
Searches a B-Tree for the value associated with a particular cell. Returns nil if the key is not present in the BTree
Searches a B - Tree for the value associated with a particular cell . Returns nil if the key is not present in the BTree
pub fn btree_search(btree: CellRef, key: CellRef) -> Result<CellRef, RuntimeError> {
    match btree_search_internal(&btree, key) {
        BTreeSearchResult::Found(key_value) => Ok(key_value),
        BTreeSearchResult::NotFound         => Ok(NIL.clone()),
        BTreeSearchResult::Err(err)         => Err(err)
    }
}
pub fn btree_search ( btree : CellRef , key : CellRef ) -> Result < CellRef , RuntimeError > { match btree_search_internal ( & btree , key ) { BTreeSearchResult :: Found ( key_value ) => Ok ( key_value ) , BTreeSearchResult :: NotFound => Ok ( NIL . clone ( ) ) , BTreeSearchResult :: Err ( err ) => Err ( err ) } }
Searches a B-Tree for the value associated with a particular cell.
Searches a B - Tree for the value associated with a particular cell .
btree
CellRef
key
CellRef
btree
CellRef
key
CellRef