Trait turn::relay::RelayAddressGenerator[][src]

pub trait RelayAddressGenerator {
    fn validate(&self) -> Result<()>;
fn allocate_conn<'life0, 'async_trait>(
        &'life0 self,
        use_ipv4: bool,
        requested_port: u16
    ) -> Pin<Box<dyn Future<Output = Result<(Arc<dyn Conn + Send + Sync>, SocketAddr)>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; }

Required methods

Implementors