pub struct Snapshot<DB>where
DB: ParallelDatabase,{ /* private fields */ }
Expand description
Simple wrapper struct that takes ownership of a database DB
and
only gives &self
access to it. See the snapshot
method
for more details.
Implementations
sourceimpl<DB> Snapshot<DB>where
DB: ParallelDatabase,
impl<DB> Snapshot<DB>where
DB: ParallelDatabase,
Trait Implementations
sourceimpl<DB: Debug> Debug for Snapshot<DB>where
DB: ParallelDatabase,
impl<DB: Debug> Debug for Snapshot<DB>where
DB: ParallelDatabase,
Auto Trait Implementations
impl<DB> RefUnwindSafe for Snapshot<DB>where
DB: RefUnwindSafe,
impl<DB> Send for Snapshot<DB>
impl<DB> Sync for Snapshot<DB>where
DB: Sync,
impl<DB> Unpin for Snapshot<DB>where
DB: Unpin,
impl<DB> UnwindSafe for Snapshot<DB>where
DB: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more