pub struct NoopStore;
Expand description
Noop store, does nothing, can’t do anything
Trait Implementations§
Source§impl Store for NoopStore
impl Store for NoopStore
Source§type Directory = NoopStoreDirectory
type Directory = NoopStoreDirectory
Associated type for directories in the storage system.
Source§type File = NoopStoreFile
type File = NoopStoreFile
Associated type for files in the storage system.
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 at the specified path. Read more
Auto Trait Implementations§
impl Freeze for NoopStore
impl RefUnwindSafe for NoopStore
impl Send for NoopStore
impl Sync for NoopStore
impl Unpin for NoopStore
impl UnwindSafe for NoopStore
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