pub struct HttpStoreFile { /* private fields */ }
Expand description
Representation of a file in the HTTP store.
Trait Implementations§
Source§impl Debug for HttpStoreFile
impl Debug for HttpStoreFile
Source§impl From<HttpStoreFile> for AnyStoreFile
impl From<HttpStoreFile> for AnyStoreFile
Source§fn from(value: HttpStoreFile) -> Self
fn from(value: HttpStoreFile) -> Self
Converts to this type from the input type.
Source§impl StoreFile for HttpStoreFile
impl StoreFile for HttpStoreFile
Source§async fn metadata(&self) -> Result<Self::Metadata>
async fn metadata(&self) -> Result<Self::Metadata>
Retrieves the HTTP file metadata (size and last modified).
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>
Begins reading a file from the HTTP store for the given byte range.
Source§type FileReader = HttpStoreFileReader
type FileReader = HttpStoreFileReader
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 = HttpStoreFileMetadata
type Metadata = HttpStoreFileMetadata
Associated type for the metadata associated with the file.
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 HttpStoreFile
impl !RefUnwindSafe for HttpStoreFile
impl Send for HttpStoreFile
impl Sync for HttpStoreFile
impl Unpin for HttpStoreFile
impl !UnwindSafe for HttpStoreFile
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