pub enum IdbMode {
InMemory,
Cached(Arc<dyn IdbBackend>),
}Expand description
How IDB (derived facts) are handled across restarts.
Variants§
InMemory
IDB is purely in-memory. Lost on drop, recomputed on open.
Cached(Arc<dyn IdbBackend>)
IDB is cached by the given backend. Loaded if valid, else recomputed.
Auto Trait Implementations§
impl Freeze for IdbMode
impl !RefUnwindSafe for IdbMode
impl Send for IdbMode
impl Sync for IdbMode
impl Unpin for IdbMode
impl UnsafeUnpin for IdbMode
impl !UnwindSafe for IdbMode
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