fuel_core_storage::iter

Function iterator

Source
pub fn iterator<'a, V>(
    tree: &'a BTreeMap<ReferenceBytesKey, V>,
    prefix: Option<&[u8]>,
    start: Option<&[u8]>,
    direction: IterDirection,
) -> impl Iterator<Item = (&'a ReferenceBytesKey, &'a V)> + 'a
where V: Send + Sync,
Expand description

Returns an iterator over the values in the BTreeMap.