Module trustfall_core::interpreter
source · Modules
Structs
- A partial result of a Trustfall query within the interpreter defined in this module.
- Indicates that a property’s value is dependent on another value in the query.
- Information about an edge that is being resolved as part of a query.
- Information about a neighboring vertex. Implements
VertexInfo
. - Contains overall information about the query being executed, such as its outputs and variables.
- A range of values. Both its endpoints may be included or excluded in the range, or unbounded.
- Represents a required property of a specific vertex
- Enables adapter optimizations by showing how a query uses a particular edge.
- Enables adapter optimizations by showing how a query uses a vertex. Implements
VertexInfo
.
Enums
- Candidate values for the value of a vertex property.
Traits
- Trustfall data providers implement this trait to enable querying their data sets.
- Attempt to dereference a value to a
&V
, returningNone
if the value did not contain aV
. - Allow bidirectional conversions between a type
V
and the type implementing this trait. - Accessor method for the
__typename
special property of Trustfall vertices. - Information about what the currently-executing query needs at a specific vertex.
Type Aliases
- An iterator of query contexts: bookkeeping structs we use to build up the query results.
- Iterator of (context, outcome) tuples: the output type of most resolver functions.
- An iterator of vertices representing data points we are querying.