pub struct NativeFileAsyncBlobRandomReader(/* private fields */);Implementations§
Trait Implementations§
Source§impl MemoryMapBlob for NativeFileAsyncBlobRandomReader
impl MemoryMapBlob for NativeFileAsyncBlobRandomReader
type MemoryUnmapData = MemoryUnmapData
fn mmap( &self, offs: u64, len: usize, ) -> Result<(*mut c_void, Self::MemoryUnmapData)>
fn munmap(&self, data: Self::MemoryUnmapData) -> Result<()>
Source§impl RandomReadBlobAsync for NativeFileAsyncBlobRandomReader
impl RandomReadBlobAsync for NativeFileAsyncBlobRandomReader
type ReadFuture<'a, 'b> = AsyncNativeFileReadFuture<'a, 'b> where Self: 'a
type ReadVecFuture<'a, 'b, 'b2> = AsyncNativeFileReadVecFuture<'a, 'b, 'b2> where Self: 'a, 'b2: 'b
fn read_async<'a, 'b>( &'a self, pos: u64, buf: &'b mut [MaybeUninit<u8>], ) -> Self::ReadFuture<'a, 'b>
fn readv_async<'a, 'b, 'b2>( &'a self, pos: u64, buf: &'b mut [IoSliceMut<'b2>], ) -> Self::ReadVecFuture<'a, 'b, 'b2>
fn read_exact_async<'a, 'b>( &'a self, offs: u64, buf: &'b mut [MaybeUninit<u8>], ) -> impl Future<Output = IOResult<()>> + use<'a, 'b, Self>
fn readv_all_async<'a, 'b, 'bb>( &'a self, offs: u64, iovecs: &'b mut [IoSliceMut<'bb>], ) -> impl Future<Output = Result<()>> + use<'a, 'b, 'bb, Self>
fn read_to_end_async<'a>( &'a self, offs: u64, ) -> impl Future<Output = IOResult<Vec<u8>>> + use<'a, Self>
Auto Trait Implementations§
impl Freeze for NativeFileAsyncBlobRandomReader
impl RefUnwindSafe for NativeFileAsyncBlobRandomReader
impl Send for NativeFileAsyncBlobRandomReader
impl Sync for NativeFileAsyncBlobRandomReader
impl Unpin for NativeFileAsyncBlobRandomReader
impl UnsafeUnpin for NativeFileAsyncBlobRandomReader
impl UnwindSafe for NativeFileAsyncBlobRandomReader
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