pub trait InputDatabase: Database + HasQueryGroup<InputStorage> {
Show 13 methods fn recursion_limit(&self) -> Option<usize>; fn set_recursion_limit(&mut self, value__: Option<usize>); fn set_recursion_limit_with_durability(
        &mut self,
        value__: Option<usize>,
        durability__: Durability
    ); fn input(&self, key0: FileId) -> Source; fn set_input(&mut self, key0: FileId, value__: Source); fn set_input_with_durability(
        &mut self,
        key0: FileId,
        value__: Source,
        durability__: Durability
    ); fn source_code(&self, key0: FileId) -> Arc<str>; fn source_type(&self, key0: FileId) -> SourceType; fn source_files(&self) -> Vec<FileId>; fn set_source_files(&mut self, value__: Vec<FileId>); fn set_source_files_with_durability(
        &mut self,
        value__: Vec<FileId>,
        durability__: Durability
    ); fn type_definition_files(&self) -> Vec<FileId>; fn executable_definition_files(&self) -> Vec<FileId>;
}

Required Methods§

Set the value of the recursion_limit input.

See recursion_limit for details.

Note: Setting values will trigger cancellation of any ongoing queries; this method blocks until those queries have been cancelled.

Set the value of the recursion_limit input and promise that its value will never change again.

See recursion_limit for details.

Note: Setting values will trigger cancellation of any ongoing queries; this method blocks until those queries have been cancelled.

Set the value of the input input.

See input for details.

Note: Setting values will trigger cancellation of any ongoing queries; this method blocks until those queries have been cancelled.

Set the value of the input input and promise that its value will never change again.

See input for details.

Note: Setting values will trigger cancellation of any ongoing queries; this method blocks until those queries have been cancelled.

Get the GraphQL source text for a file.

Get the source type (document/schema/executable) for a file.

Get all file ids currently in the compiler.

Set the value of the source_files input.

See source_files for details.

Note: Setting values will trigger cancellation of any ongoing queries; this method blocks until those queries have been cancelled.

Set the value of the source_files input and promise that its value will never change again.

See source_files for details.

Note: Setting values will trigger cancellation of any ongoing queries; this method blocks until those queries have been cancelled.

Implementors§