Function cw_storage_plus::range_with_prefix
source · pub fn range_with_prefix<'a>(
storage: &'a dyn Storage,
namespace: &[u8],
start: Option<RawBound>,
end: Option<RawBound>,
order: Order
) -> Box<dyn Iterator<Item = Record> + 'a>
Expand description
Returns an iterator through all records in storage with the given prefix and within the given bounds, yielding the key without prefix and value.