Struct confql_data_resolver::DataResolver[][src]

pub struct DataResolver { /* fields omitted */ }
Expand description

Clients interact with this struct for data resolution operations. In particular, this forms an important part of the juniper::Context generated by the procedural macros. Essentially this holds a PathBuf pointing at the data root directory, and exposes a get method for trying to resolve a generic type at a specified data address under that root directory.

Implementations

Try to retrieve an instance of a type at a specified address under the data root directory.

Trait Implementations

Performs the conversion.

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.