Struct salsa_2022::database::Snapshot
source · [−]pub struct Snapshot<DB: ?Sized>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
Auto Trait Implementations
impl<DB: ?Sized> RefUnwindSafe for Snapshot<DB>where
DB: RefUnwindSafe,
impl<DB: ?Sized> Send for Snapshot<DB>
impl<DB: ?Sized> Sync for Snapshot<DB>where
DB: Sync,
impl<DB: ?Sized> Unpin for Snapshot<DB>where
DB: Unpin,
impl<DB: ?Sized> 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
sourceimpl<T, A> DynAccess<T> for Awhere
A: Access<T>,
<A as Access<T>>::Guard: 'static,
impl<T, A> DynAccess<T> for Awhere
A: Access<T>,
<A as Access<T>>::Guard: 'static,
sourcefn load(&self) -> DynGuard<T>
fn load(&self) -> DynGuard<T>
The equivalent of
Access::load
.