pub struct HttpStoreDirectory { /* private fields */ }
Expand description
Representation of a directory in the HTTP store.
Trait Implementations§
Source§impl Debug for HttpStoreDirectory
impl Debug for HttpStoreDirectory
Source§impl From<HttpStoreDirectory> for AnyStoreDirectory
impl From<HttpStoreDirectory> for AnyStoreDirectory
Source§fn from(value: HttpStoreDirectory) -> Self
fn from(value: HttpStoreDirectory) -> Self
Converts to this type from the input type.
Source§impl StoreDirectory for HttpStoreDirectory
impl StoreDirectory for HttpStoreDirectory
Source§async fn exists(&self) -> Result<bool>
async fn exists(&self) -> Result<bool>
Checks if the HTTP directory exists via a HEAD request.
Source§async fn read(&self) -> Result<Self::Reader>
async fn read(&self) -> Result<Self::Reader>
Lists the entries in the HTTP directory by fetching and parsing HTML.
Source§type Entry = Entry<HttpStoreFile, HttpStoreDirectory>
type Entry = Entry<HttpStoreFile, HttpStoreDirectory>
Associated type for entries in the directory.
Source§type Reader = HttpStoreDirectoryReader
type Reader = HttpStoreDirectoryReader
Associated type for the reader that iterates over the directory’s
entries.
Source§async fn delete_recursive(&self) -> Result<()>
async fn delete_recursive(&self) -> Result<()>
Deletes a directory and its content
Auto Trait Implementations§
impl Freeze for HttpStoreDirectory
impl !RefUnwindSafe for HttpStoreDirectory
impl Send for HttpStoreDirectory
impl Sync for HttpStoreDirectory
impl Unpin for HttpStoreDirectory
impl !UnwindSafe for HttpStoreDirectory
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