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