pub struct RangeStream { /* private fields */ }Expand description
Iterator-like async range stream.
Implementations§
Source§impl RangeStream
impl RangeStream
pub fn final_count(&self) -> Option<usize>
pub fn final_detail(&self) -> Option<Detail>
pub async fn next_chunk( &mut self, ) -> Result<Option<Vec<(Key, Bytes)>>, ClientError>
pub async fn collect(self) -> Result<Vec<(Key, Bytes)>, ClientError>
Auto Trait Implementations§
impl !Freeze for RangeStream
impl !RefUnwindSafe for RangeStream
impl Send for RangeStream
impl Sync for RangeStream
impl Unpin for RangeStream
impl UnsafeUnpin for RangeStream
impl !UnwindSafe for RangeStream
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more