Function blart::search_unchecked

source ·
pub unsafe fn search_unchecked<Q, K, V>(
    root: OpaqueNodePtr<K, V>,
    key: &Q
) -> Option<NodePtr<LeafNode<K, V>>>where
    K: Borrow<Q> + AsBytes,
    Q: AsBytes + ?Sized,
Expand description

Search in the given tree for the value stored with the given key.

Safety

  • This function cannot be called concurrently with any mutating operation on root or any child node of root. This function will arbitrarily read to any child in the given tree.