Trait SchemaStore
Source pub trait SchemaStore: Send + Sync {
// Required methods
fn get_cedar_schema<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Option<CedarSchema>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_internal_schema<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = InternalSchema> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn update_schema<'life0, 'async_trait>(
&'life0 self,
schema: InternalSchema,
) -> Pin<Box<dyn Future<Output = Result<InternalSchema, SchemaError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn delete_schema<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}