TargetLocator

Trait TargetLocator 

Source
pub trait TargetLocator: Send + Sync {
    // Required method
    fn locate<'life0, 'life1, 'async_trait>(
        &'life0 self,
        uri: &'life1 Uri,
    ) -> Pin<Box<dyn Future<Output = Result<SipAddr>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
}

Required Methods§

Source

fn locate<'life0, 'life1, 'async_trait>( &'life0 self, uri: &'life1 Uri, ) -> Pin<Box<dyn Future<Output = Result<SipAddr>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Implementors§