pub struct NativeFileBlobRandomReader(/* private fields */);Implementations§
Trait Implementations§
Source§impl BlobMetadata for NativeFileBlobRandomReader
impl BlobMetadata for NativeFileBlobRandomReader
fn byte_length(&self) -> Result<u64>
Source§impl RandomReadBlob for NativeFileBlobRandomReader
impl RandomReadBlob for NativeFileBlobRandomReader
fn read(&self, pos: u64, buf: &mut [MaybeUninit<u8>]) -> Result<usize>
fn readv(&self, pos: u64, buf: &mut [IoSliceMut<'_>]) -> Result<usize>
fn read_exact(&self, offs: u64, buf: &mut [MaybeUninit<u8>]) -> Result<()>
fn readv_all<'a, 'b, 'bb>( &'a self, offs: u64, iovecs: &'b mut [IoSliceMut<'bb>], ) -> Result<()>
fn read_to_end(&self, offs: u64) -> Result<Vec<u8>>
Auto Trait Implementations§
impl Freeze for NativeFileBlobRandomReader
impl RefUnwindSafe for NativeFileBlobRandomReader
impl Send for NativeFileBlobRandomReader
impl Sync for NativeFileBlobRandomReader
impl Unpin for NativeFileBlobRandomReader
impl UnsafeUnpin for NativeFileBlobRandomReader
impl UnwindSafe for NativeFileBlobRandomReader
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