Skip to main content

seek_stream_bounded

Function seek_stream_bounded 

Source
pub(super) fn seek_stream_bounded<'a, C, T>(
    map: &'a Arc<Map>,
    dir: Direction,
    from: Option<&[u8]>,
    to: Option<&[u8]>,
) -> impl Stream<Item = Result<T>> + Send + use<'a, C, T>
where C: From<State<'a>> + Stream<Item = Result<T>> + Send,
Expand description

Builds a map stream with an optional exclusive upper bound.

Both the cache probe and the real iterator own their bound bytes. The direction and starting position retain the unbounded seek behavior.