pub struct OmenaSalsaDatabaseV0 { /* private fields */ }Implementations§
Source§impl OmenaSalsaDatabaseV0
impl OmenaSalsaDatabaseV0
pub fn new() -> Self
pub fn handle(&self) -> StorageHandle<Self>
pub fn from_handle(handle: StorageHandle<Self>) -> Self
Trait Implementations§
Source§impl Clone for OmenaSalsaDatabaseV0
impl Clone for OmenaSalsaDatabaseV0
Source§fn clone(&self) -> OmenaSalsaDatabaseV0
fn clone(&self) -> OmenaSalsaDatabaseV0
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Database for OmenaSalsaDatabaseV0
impl Database for OmenaSalsaDatabaseV0
Source§fn trigger_lru_eviction(&mut self)
fn trigger_lru_eviction(&mut self)
Enforces current LRU limits, evicting entries if necessary. Read more
Source§fn synthetic_write(&mut self, durability: Durability)
fn synthetic_write(&mut self, durability: Durability)
A “synthetic write” causes the system to act as though some
input of durability
durability has changed, triggering a new revision.
This is mostly useful for profiling scenarios. Read moreSource§fn trigger_cancellation(&mut self)
fn trigger_cancellation(&mut self)
This method cancels all outstanding computations.
If you invoke it while a snapshot exists, it
will block until that snapshot is dropped – if that snapshot
is owned by the current thread, this could trigger deadlock.
Source§fn cancellation_token(&self) -> CancellationToken
fn cancellation_token(&self) -> CancellationToken
Retrieves a
CancellationToken for the current database handle.Source§fn report_untracked_read(&self)
fn report_untracked_read(&self)
Reports that the query depends on some state unknown to salsa. Read more
Source§fn ingredient_debug_name(
&self,
ingredient_index: IngredientIndex,
) -> Cow<'_, str>
fn ingredient_debug_name( &self, ingredient_index: IngredientIndex, ) -> Cow<'_, str>
Return the “debug name” (i.e., the struct name, etc) for an “ingredient”,
which are the fine-grained components we use to track data. This is intended
for debugging and the contents of the returned string are not semver-guaranteed. Read more
Source§fn unwind_if_revision_cancelled(&self)
fn unwind_if_revision_cancelled(&self)
Starts unwinding the stack if the current revision is cancelled. Read more
Source§impl Default for OmenaSalsaDatabaseV0
impl Default for OmenaSalsaDatabaseV0
Source§fn default() -> OmenaSalsaDatabaseV0
fn default() -> OmenaSalsaDatabaseV0
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !Freeze for OmenaSalsaDatabaseV0
impl !Sync for OmenaSalsaDatabaseV0
impl RefUnwindSafe for OmenaSalsaDatabaseV0
impl Send for OmenaSalsaDatabaseV0
impl Unpin for OmenaSalsaDatabaseV0
impl UnsafeUnpin for OmenaSalsaDatabaseV0
impl UnwindSafe for OmenaSalsaDatabaseV0
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