pub enum StorageBackend {
Filesystem(FilesystemStorage),
}Expand description
Concrete enum that dispatches to the chosen storage backend.
Used in AppState to avoid dyn Storage (RPITIT is not object-safe).
Variants§
Filesystem(FilesystemStorage)
Implementations§
Auto Trait Implementations§
impl Freeze for StorageBackend
impl RefUnwindSafe for StorageBackend
impl Send for StorageBackend
impl Sync for StorageBackend
impl Unpin for StorageBackend
impl UnsafeUnpin for StorageBackend
impl UnwindSafe for StorageBackend
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