pub enum ArchiveBinReaderAsync<'a, R: RandomReadBlobAsync + MemoryMapBlob> {
OnMemory(OnMemoryArchiveBinReader<'a>),
FileStreaming(FileStreamingArchiveBinReaderAsync<'a, R>),
}Variants§
Implementations§
Source§impl<'a, R: RandomReadBlobAsync + MemoryMapBlob> ArchiveBinReaderAsync<'a, R>
impl<'a, R: RandomReadBlobAsync + MemoryMapBlob> ArchiveBinReaderAsync<'a, R>
Trait Implementations§
Source§impl<R: RandomReadBlobAsync + MemoryMapBlob> BlobMetadataAsync for ArchiveBinReaderAsync<'_, R>
impl<R: RandomReadBlobAsync + MemoryMapBlob> BlobMetadataAsync for ArchiveBinReaderAsync<'_, R>
Source§impl<'aa, R: RandomReadBlobAsync + MemoryMapBlob + 'aa> RandomReadBlobAsync for ArchiveBinReaderAsync<'aa, R>
impl<'aa, R: RandomReadBlobAsync + MemoryMapBlob + 'aa> RandomReadBlobAsync for ArchiveBinReaderAsync<'aa, R>
type ReadFuture<'a, 'b> = EnumDispatchF<OnMemoryArchiveBinReadFuture<'a, 'b, 'aa>, FileStreamingArchiveBinReadFuture<'a, 'aa, 'b, R>> where Self: 'a
type ReadVecFuture<'a, 'b, 'bb> = EnumDispatchF<OnMemoryArchiveBinReadVecFuture<'a, 'b, 'aa, 'bb>, FileStreamingArchiveBinReadVecFuture<'a, 'aa, 'b, 'bb, R>> where Self: 'a, 'bb: 'b
fn read_async<'a, 'b>( &'a self, offs: u64, buf: &'b mut [MaybeUninit<u8>], ) -> Self::ReadFuture<'a, 'b>
fn readv_async<'a, 'b, 'bb>( &'a self, offs: u64, iovecs: &'b mut [IoSliceMut<'bb>], ) -> Self::ReadVecFuture<'a, 'b, 'bb>
fn read_exact_async<'a, 'b>( &'a self, offs: u64, buf: &'b mut [MaybeUninit<u8>], ) -> impl Future<Output = Result<(), Error>> + use<'a, 'b, Self>
fn readv_all_async<'a, 'b, 'bb>( &'a self, offs: u64, iovecs: &'b mut [IoSliceMut<'bb>], ) -> impl Future<Output = Result<(), Error>> + use<'a, 'b, 'bb, Self>
fn read_to_end_async<'a>( &'a self, offs: u64, ) -> impl Future<Output = Result<Vec<u8>, Error>> + use<'a, Self>
Auto Trait Implementations§
impl<'a, R> Freeze for ArchiveBinReaderAsync<'a, R>
impl<'a, R> RefUnwindSafe for ArchiveBinReaderAsync<'a, R>
impl<'a, R> Send for ArchiveBinReaderAsync<'a, R>
impl<'a, R> Sync for ArchiveBinReaderAsync<'a, R>
impl<'a, R> Unpin for ArchiveBinReaderAsync<'a, R>
impl<'a, R> UnwindSafe for ArchiveBinReaderAsync<'a, R>
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