pub trait DynamicGraphSchemaManager:
Send
+ Sync
+ Lifecycle {
// Required methods
fn is_type_system_modified(&self) -> bool;
fn regenerate_dynamic_schema<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<(), SchemaError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn regenerate_dynamic_schema_if_modified<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<(), SchemaError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_dynamic_schema<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Arc<Schema>, SchemaError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}Required Methods§
Sourcefn is_type_system_modified(&self) -> bool
fn is_type_system_modified(&self) -> bool
Returns true, if the type system has been modified.
Sourcefn regenerate_dynamic_schema<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<(), SchemaError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn regenerate_dynamic_schema<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<(), SchemaError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Regenerates the Dynamic Graph Schema.