pub struct HttpStore(/* private fields */);
Expand description
Public HTTP-backed file store supporting asynchronous access to remote files and directories.
Implementations§
Trait Implementations§
Source§impl Store for HttpStore
impl Store for HttpStore
Source§async fn get_file<P: Into<PathBuf>>(&self, path: P) -> Result<Self::File>
async fn get_file<P: Into<PathBuf>>(&self, path: P) -> Result<Self::File>
Retrieves a file from the HTTP store at the given path.
Source§async fn get_dir<P: Into<PathBuf>>(&self, path: P) -> Result<Self::Directory>
async fn get_dir<P: Into<PathBuf>>(&self, path: P) -> Result<Self::Directory>
Retrieves a directory from the HTTP store at the given path.
Source§type Directory = HttpStoreDirectory
type Directory = HttpStoreDirectory
Associated type for directories in the storage system.
Source§type File = HttpStoreFile
type File = HttpStoreFile
Associated type for files in the storage system.
Auto Trait Implementations§
impl Freeze for HttpStore
impl !RefUnwindSafe for HttpStore
impl Send for HttpStore
impl Sync for HttpStore
impl Unpin for HttpStore
impl !UnwindSafe for HttpStore
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