Trait apollo_compiler::InputDatabase
source · pub trait InputDatabase: Database + HasQueryGroup<InputStorage> {
fn input(&self) -> String;
fn set_input(&mut self, value__: String);
fn set_input_with_durability(
&mut self,
value__: String,
durability__: Durability
);
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
);
}
Required Methods§
fn input(&self) -> String
sourcefn set_input(&mut self, value__: String)
fn set_input(&mut self, value__: String)
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.
sourcefn set_input_with_durability(&mut self, value__: String, durability__: Durability)
fn set_input_with_durability(&mut self, value__: String, durability__: Durability)
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.
fn recursion_limit(&self) -> Option<usize>
sourcefn set_recursion_limit(&mut self, value__: Option<usize>)
fn set_recursion_limit(&mut self, value__: Option<usize>)
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.
sourcefn set_recursion_limit_with_durability(
&mut self,
value__: Option<usize>,
durability__: Durability
)
fn set_recursion_limit_with_durability(
&mut self,
value__: Option<usize>,
durability__: Durability
)
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.