pub trait ControlStateDelegate: Send + Sync {
// Required methods
fn get_node_id<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<Option<u64>, Error>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_node_by_id<'life0, 'async_trait>(
&'life0 self,
node_id: u64
) -> Pin<Box<dyn Future<Output = Result<Option<Node>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_nodes<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<Vec<Node>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_database_instance_state<'life0, 'async_trait>(
&'life0 self,
database_instance_id: u64
) -> Pin<Box<dyn Future<Output = Result<Option<DatabaseInstanceState>, Error>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_database_by_id<'life0, 'async_trait>(
&'life0 self,
id: u64
) -> Pin<Box<dyn Future<Output = Result<Option<Database>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_database_by_address<'life0, 'life1, 'async_trait>(
&'life0 self,
address: &'life1 Address
) -> Pin<Box<dyn Future<Output = Result<Option<Database>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn get_databases<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<Vec<Database>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_database_instance_by_id<'life0, 'async_trait>(
&'life0 self,
id: u64
) -> Pin<Box<dyn Future<Output = Result<Option<DatabaseInstance>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_database_instances<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<Vec<DatabaseInstance>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_leader_database_instance_by_database<'life0, 'async_trait>(
&'life0 self,
database_id: u64
) -> Pin<Box<dyn Future<Output = Option<DatabaseInstance>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}