pub struct FileStorage { /* private fields */ }Expand description
An app’s storage kept in storage.json of a directory: the app’s data
directory (crate::EngineConfig::data_dir), or one the embedding app
chooses.
Implementations§
Trait Implementations§
Source§impl Drop for FileStorage
impl Drop for FileStorage
Source§impl StorageBackend for FileStorage
impl StorageBackend for FileStorage
Auto Trait Implementations§
impl !Freeze for FileStorage
impl Forget for FileStorage
impl Move for FileStorage
impl RefUnwindSafe for FileStoragewhere
Mutex<Option<BTreeMap<String, String>>>: RefUnwindSafe,
Atomic<bool>: RefUnwindSafe,
Mutex<Option<(Sender<StorageChange>, JoinHandle<()>)>>: RefUnwindSafe,
impl Send for FileStorage
impl Sync for FileStorage
impl Unpin for FileStoragewhere
*const u8 is !null: Unpin,
Align4<u32>: Unpin,
Align1<u8>: Unpin,
*const LeafNode<String, String> is !null: Unpin,
Box<(String, String)>: Unpin,
*mut Counter<Channel<StorageChange>>: Unpin,
*mut Counter<Channel<StorageChange>>: Unpin,
*mut Counter<Channel<StorageChange>>: Unpin,
Arc<Inner, System>: Unpin,
Arc<Packet<'static, ()>>: Unpin,
impl UnsafeUnpin for FileStoragewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
Align4<u32>: UnsafeUnpin,
Align1<u8>: UnsafeUnpin,
*const LeafNode<String, String> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, String)>>: UnsafeUnpin,
*mut Counter<Channel<StorageChange>>: UnsafeUnpin,
*mut Counter<Channel<StorageChange>>: UnsafeUnpin,
*mut Counter<Channel<StorageChange>>: UnsafeUnpin,
*const ArcInner<Inner> is !null: UnsafeUnpin,
PhantomData<ArcInner<Inner>>: UnsafeUnpin,
*const ArcInner<Packet<'static, ()>> is !null: UnsafeUnpin,
PhantomData<ArcInner<Packet<'static, ()>>>: UnsafeUnpin,
impl UnwindSafe for FileStoragewhere
RawVecInner: UnwindSafe,
Mutex<Option<BTreeMap<String, String>>>: UnwindSafe,
Align1<u8>: UnwindSafe,
Mutex<Option<(Sender<StorageChange>, JoinHandle<()>)>>: UnwindSafe,
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