pub trait SecureChannelTrait {
fn create_secure_channel_async<'life0, 'life1, 'life2, 'async_trait>(
&'life0 mut self,
ctx: &'life1 Context,
route: Route,
trust_policy: impl TrustPolicy,
vault: &'life2 Address
) -> Pin<Box<dyn Future<Output = Result<Address>> + Send + 'async_trait>>
where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait;
fn create_secure_channel_listener_async<'life0, 'life1, 'life2, 'async_trait>(
&'life0 mut self,
ctx: &'life1 Context,
address: Address,
trust_policy: impl TrustPolicy,
vault: &'life2 Address
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait;
}
fn create_secure_channel_async<'life0, 'life1, 'life2, 'async_trait>(
&'life0 mut self,
ctx: &'life1 Context,
route: Route,
trust_policy: impl TrustPolicy,
vault: &'life2 Address
) -> Pin<Box<dyn Future<Output = Result<Address>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
fn create_secure_channel_listener_async<'life0, 'life1, 'life2, 'async_trait>(
&'life0 mut self,
ctx: &'life1 Context,
address: Address,
trust_policy: impl TrustPolicy,
vault: &'life2 Address
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,