pub struct FileChunkReader { /* private fields */ }Implementations§
Trait Implementations§
Source§impl ChunkReader for FileChunkReader
impl ChunkReader for FileChunkReader
Source§fn fetch_octets<'life0, 'async_trait>(
&'life0 self,
id: ResourceId,
) -> Pin<Box<dyn Future<Output = Result<Vec<u8>, ChunkReaderError>> + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn fetch_octets<'life0, 'async_trait>(
&'life0 self,
id: ResourceId,
) -> Pin<Box<dyn Future<Output = Result<Vec<u8>, ChunkReaderError>> + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Fetches a chunk of data from the specified resource. Read more
Auto Trait Implementations§
impl Freeze for FileChunkReader
impl RefUnwindSafe for FileChunkReader
impl Send for FileChunkReader
impl Sync for FileChunkReader
impl Unpin for FileChunkReader
impl UnwindSafe for FileChunkReader
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