Trait azure_core::SeekableStream
source · pub trait SeekableStream: AsyncRead + Unpin + Debug + Send + Sync + DynClone {
// Required methods
fn reset<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn len(&self) -> usize;
// Provided method
fn is_empty(&self) -> bool { ... }
}
Expand description
Enable a type implementing AsyncRead
to be consumed as if it were
a Stream
of Bytes
.