[−][src]Struct gluon_salsa::OwnedDb
Encapsulates a mutable reference to a database while only giving out shared references.
Use for asynchronous queries to make the database references passed Send
Trait Implementations
impl<T: ?Sized, '_> Database for OwnedDb<'_, T> where
T: Database,
[src]
T: Database,
fn sweep_all(&self, strategy: SweepStrategy)
[src]
fn salsa_event(&self, event_fn: Event)
[src]
fn on_propagated_panic(&self) -> !
[src]
fn salsa_runtime(&self) -> &Runtime
[src]
fn salsa_runtime_mut(&mut self) -> &mut Runtime
[src]
impl<'a, T> Deref for OwnedDb<'a, T> where
T: ?Sized,
[src]
T: ?Sized,
impl<'a, 'b, T: ?Sized> From<&'a mut OwnedDb<'b, T>> for OwnedDb<'a, T>
[src]
impl<'a, 'b, T: ParallelDatabase> From<&'a mut Snapshot<T>> for OwnedDb<'a, T>
[src]
impl<'a, T: ?Sized> From<&'a mut T> for OwnedDb<'a, T>
[src]
Auto Trait Implementations
impl<'a, T: ?Sized> RefUnwindSafe for OwnedDb<'a, T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<'a, T: ?Sized> Send for OwnedDb<'a, T> where
T: Send,
T: Send,
impl<'a, T: ?Sized> Sync for OwnedDb<'a, T> where
T: Sync,
T: Sync,
impl<'a, T: ?Sized> Unpin for OwnedDb<'a, T>
impl<'a, T> !UnwindSafe for OwnedDb<'a, T>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,