pub struct NoopStoreFile { /* private fields */ }
Expand description
Representation of a file in the noop store.
Trait Implementations§
Source§impl Debug for NoopStoreFile
impl Debug for NoopStoreFile
Source§impl From<NoopStoreFile> for AnyStoreFile
impl From<NoopStoreFile> for AnyStoreFile
Source§fn from(value: NoopStoreFile) -> Self
fn from(value: NoopStoreFile) -> Self
Converts to this type from the input type.
Source§impl StoreFile for NoopStoreFile
impl StoreFile for NoopStoreFile
Source§type FileReader = NoopStoreFileReader
type FileReader = NoopStoreFileReader
Associated type for the reader that reads the file’s content.
Source§type FileWriter = NoopStoreFileWriter
type FileWriter = NoopStoreFileWriter
Associated type for the reader that reads the file’s content.
Source§type Metadata = NoopStoreFileMetadata
type Metadata = NoopStoreFileMetadata
Associated type for the metadata associated with the file.
Source§async fn metadata(&self) -> Result<Self::Metadata>
async fn metadata(&self) -> Result<Self::Metadata>
Retrieves the metadata of the file. Read more
Source§async fn read<R: RangeBounds<u64>>(&self, _range: R) -> Result<Self::FileReader>
async fn read<R: RangeBounds<u64>>(&self, _range: R) -> Result<Self::FileReader>
Reads a portion of the file’s content, specified by a byte range. Read more
Source§async fn write(&self, _options: WriteOptions) -> Result<Self::FileWriter>
async fn write(&self, _options: WriteOptions) -> Result<Self::FileWriter>
Creates a writer
Auto Trait Implementations§
impl Freeze for NoopStoreFile
impl RefUnwindSafe for NoopStoreFile
impl Send for NoopStoreFile
impl Sync for NoopStoreFile
impl Unpin for NoopStoreFile
impl UnwindSafe for NoopStoreFile
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