pub trait StoreDirectory {
type Entry;
type Reader: StoreDirectoryReader<Self::Entry>;
// Required methods
fn exists(&self) -> impl Future<Output = Result<bool>>;
fn read(&self) -> impl Future<Output = Result<Self::Reader>>;
}Expand description
Trait representing a directory in the storage system.
Required Associated Types§
Sourcetype Reader: StoreDirectoryReader<Self::Entry>
type Reader: StoreDirectoryReader<Self::Entry>
Associated type for the reader that iterates over the directory’s entries.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.