pub struct DbHandle<'db, C: Computation> { /* private fields */ }Expand description
A handle to the database during some operation.
This wraps calls to the Db so that any get calls
will be automatically registered as dependencies of
the current operation.
Implementations§
Auto Trait Implementations§
impl<'db, C> Freeze for DbHandle<'db, C>
impl<'db, C> RefUnwindSafe for DbHandle<'db, C>
impl<'db, C> Send for DbHandle<'db, C>
impl<'db, C> Sync for DbHandle<'db, C>
impl<'db, C> Unpin for DbHandle<'db, C>
impl<'db, C> !UnwindSafe for DbHandle<'db, C>
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