#[non_exhaustive]pub enum AnyStoreDirectory {
Http(HttpStoreDirectory),
Local(LocalStoreDirectory),
Noop(NoopStoreDirectory),
PCloud(PCloudStoreDirectory),
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Http(HttpStoreDirectory)
Local(LocalStoreDirectory)
Noop(NoopStoreDirectory)
PCloud(PCloudStoreDirectory)
Trait Implementations§
Source§impl Debug for AnyStoreDirectory
impl Debug for AnyStoreDirectory
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 From<LocalStoreDirectory> for AnyStoreDirectory
impl From<LocalStoreDirectory> for AnyStoreDirectory
Source§fn from(value: LocalStoreDirectory) -> Self
fn from(value: LocalStoreDirectory) -> Self
Converts to this type from the input type.
Source§impl From<NoopStoreDirectory> for AnyStoreDirectory
impl From<NoopStoreDirectory> for AnyStoreDirectory
Source§fn from(value: NoopStoreDirectory) -> Self
fn from(value: NoopStoreDirectory) -> Self
Converts to this type from the input type.
Source§impl From<PCloudStoreDirectory> for AnyStoreDirectory
impl From<PCloudStoreDirectory> for AnyStoreDirectory
Source§fn from(value: PCloudStoreDirectory) -> Self
fn from(value: PCloudStoreDirectory) -> Self
Converts to this type from the input type.
Source§impl StoreDirectory for AnyStoreDirectory
impl StoreDirectory for AnyStoreDirectory
Source§type Entry = Entry<AnyStoreFile, AnyStoreDirectory>
type Entry = Entry<AnyStoreFile, AnyStoreDirectory>
Associated type for entries in the directory.
Source§type Reader = AnyStoreDirectoryReader
type Reader = AnyStoreDirectoryReader
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 AnyStoreDirectory
impl !RefUnwindSafe for AnyStoreDirectory
impl Send for AnyStoreDirectory
impl Sync for AnyStoreDirectory
impl Unpin for AnyStoreDirectory
impl !UnwindSafe for AnyStoreDirectory
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