Trait tvix_castore::blobservice::BlobReader

source ·
pub trait BlobReader: AsyncRead + AsyncSeek + Send + Unpin + 'static { }
Expand description

BlobReader is a tokio::io::AsyncRead that also allows seeking.

Implementations on Foreign Types§

source§

impl BlobReader for File

source§

impl BlobReader for Cursor<&'static [u8; 0]>

source§

impl BlobReader for Cursor<&'static [u8]>

A io::Cursor<Vec<u8>> can be used as a BlobReader.

source§

impl BlobReader for Cursor<Bytes>

source§

impl BlobReader for Cursor<Vec<u8>>

Implementors§

source§

impl<BS> BlobReader for ChunkedReader<BS>
where BS: Send + Clone + 'static + AsRef<dyn BlobService>,

ChunkedReader implements BlobReader.