async fn create_secure_channel_listener(
        &mut self,
        ctx: &Context,
        address: Address,
        trust_policy: impl TrustPolicy,
        vault: &Address,
    ) -> Result<()> {
        let vault = VaultSync::create_with_worker(ctx, vault)?;
        let listener = ProfileChannelListener::new(trust_policy, self.clone(), vault);
        ctx.start_worker(address, listener).await
    }
/// Create mutually authenticated secure channel listener
Create mutually authenticated secure channel listener
Create mutually authenticated secure channel listener
async fn create_secure_channel_listener(
        &mut self,
        ctx: &Context,
        address: Address,
        trust_policy: impl TrustPolicy,
        vault: &Address,
    ) -> Result<()> {
        let vault = VaultSync::create_with_worker(ctx, vault)?;
        let listener = ProfileChannelListener::new(trust_policy, self.clone(), vault);
        ctx.start_worker(address, listener).await
    }
async fn create_secure_channel_listener ( & mut self , ctx : & Context , address : Address , trust_policy : impl TrustPolicy , vault : & Address , ) -> Result < ( ) > { let vault = VaultSync :: create_with_worker ( ctx , vault ) ? ; let listener = ProfileChannelListener :: new ( trust_policy , self . clone ( ) , vault ) ; ctx . start_worker ( address , listener ) . await }
Create mutually authenticated secure channel listener
Create mutually authenticated secure channel listener
&mut self
ctx
&Context
address
Address
trust_policy
impl TrustPolicy
vault
&Address
&mut self
ctx
&Context
address
Address
trust_policy
impl TrustPolicy
vault
&Address