pub trait ControlCtx: ControlNodeDelegate + Send + Sync {
// Required methods
fn insert_database<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
address: &'life1 Address,
identity: &'life2 Identity,
program_bytes_address: &'life3 Hash,
host_type: HostType,
num_replicas: u32,
force: bool,
trace_log: bool
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait;
fn update_database<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
address: &'life1 Address,
program_bytes_address: &'life2 Hash,
num_replicas: u32
) -> Pin<Box<dyn Future<Output = Result<Option<UpdateDatabaseResult>, Error>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait;
fn delete_database<'life0, 'life1, 'async_trait>(
&'life0 self,
address: &'life1 Address
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn object_db(&self) -> &ObjectDb;
fn control_db(&self) -> &ControlDb;
fn sendgrid_controller(&self) -> Option<&SendGridController>;
}