Struct salsa::QueryTable[][src]

pub struct QueryTable<'me, Q> where
    Q: Query
{ /* fields omitted */ }
Expand description

Return value from the query method on Database. Gives access to various less common operations on queries.

Implementations

Constructs a new QueryTable.

Execute the query on a given input. Usually it’s easier to invoke the trait method directly. Note that for variadic queries (those with no inputs, or those with more than one input) the key will be a tuple.

Completely clears the storage for this query.

This method breaks internal invariants of salsa, so any further queries might return nonsense results. It is useful only in very specific circumstances – for example, when one wants to observe which values dropped together with the table

Trait Implementations

Key of this query.

Value of this query.

Returns a lower bound on the durability for the given key. This is typically the minimum durability of all values that the query accessed, but we may return a lower durability in some cases. Read more

Get the (current) set of the entries in the query table.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.