pub trait ProxyServiceEvents: Send + Sync {
// Required method
fn pre_create_tunnel<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
mix_key: &'life1 AesKey,
device_pair: &'life2 (ProxyDeviceStub, ProxyDeviceStub),
) -> Pin<Box<dyn Future<Output = BuckyResult<()>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait;
}