pub trait ControlNodeDelegate: Send + Sync {
// Required methods
fn spacetime_dns<'life0, 'life1, 'async_trait>(
&'life0 self,
domain: &'life1 DomainName
) -> Pin<Box<dyn Future<Output = Result<Option<Address>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn alloc_spacetime_identity<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<Identity>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn withdraw_energy<'life0, 'life1, 'async_trait>(
&'life0 self,
identity: &'life1 Identity,
amount: EnergyQuanta
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn public_key(&self) -> &DecodingKey;
fn private_key(&self) -> &EncodingKey;
}