pub struct LocalStoreDirectory { /* private fields */ }
Expand description
Representation of a directory in the local store.
Trait Implementations§
Source§impl Debug for LocalStoreDirectory
impl Debug for LocalStoreDirectory
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 StoreDirectory for LocalStoreDirectory
impl StoreDirectory for LocalStoreDirectory
Source§async fn exists(&self) -> Result<bool>
async fn exists(&self) -> Result<bool>
Checks if the directory exists.
Returns a future that resolves to true
if the directory exists,
otherwise false
.
Source§async fn read(&self) -> Result<Self::Reader>
async fn read(&self) -> Result<Self::Reader>
Reads the contents of the directory.
Returns a future that resolves to a reader for iterating over the directory’s entries.
Source§type Entry = Entry<LocalStoreFile, LocalStoreDirectory>
type Entry = Entry<LocalStoreFile, LocalStoreDirectory>
Associated type for entries in the directory.
Source§type Reader = LocalStoreDirectoryReader
type Reader = LocalStoreDirectoryReader
Associated type for the reader that iterates over the directory’s
entries.
Auto Trait Implementations§
impl Freeze for LocalStoreDirectory
impl RefUnwindSafe for LocalStoreDirectory
impl Send for LocalStoreDirectory
impl Sync for LocalStoreDirectory
impl Unpin for LocalStoreDirectory
impl UnwindSafe for LocalStoreDirectory
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