Trait webrtc_turn::relay::RelayAddressGenerator [−][src]
Required methods
fn validate(&self) -> Result<(), Error>[src]
#[must_use]fn allocate_conn<'life0, 'life1, 'async_trait>(
&'life0 self,
network: &'life1 str,
requested_port: u16
) -> Pin<Box<dyn Future<Output = Result<(Arc<dyn Conn + Send + Sync>, SocketAddr), Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait, [src]
&'life0 self,
network: &'life1 str,
requested_port: u16
) -> Pin<Box<dyn Future<Output = Result<(Arc<dyn Conn + Send + Sync>, SocketAddr), Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
Implementors
impl RelayAddressGenerator for RelayAddressGeneratorNone[src]
fn validate(&self) -> Result<(), Error>[src]
fn allocate_conn<'life0, 'life1, 'async_trait>(
&'life0 self,
_network: &'life1 str,
requested_port: u16
) -> Pin<Box<dyn Future<Output = Result<(Arc<dyn Conn + Send + Sync>, SocketAddr), Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait, [src]
&'life0 self,
_network: &'life1 str,
requested_port: u16
) -> Pin<Box<dyn Future<Output = Result<(Arc<dyn Conn + Send + Sync>, SocketAddr), Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
impl RelayAddressGenerator for RelayAddressGeneratorRanges[src]
fn validate(&self) -> Result<(), Error>[src]
fn allocate_conn<'life0, 'life1, 'async_trait>(
&'life0 self,
_network: &'life1 str,
requested_port: u16
) -> Pin<Box<dyn Future<Output = Result<(Arc<dyn Conn + Send + Sync>, SocketAddr), Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait, [src]
&'life0 self,
_network: &'life1 str,
requested_port: u16
) -> Pin<Box<dyn Future<Output = Result<(Arc<dyn Conn + Send + Sync>, SocketAddr), Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
impl RelayAddressGenerator for RelayAddressGeneratorStatic[src]
fn validate(&self) -> Result<(), Error>[src]
fn allocate_conn<'life0, 'life1, 'async_trait>(
&'life0 self,
_network: &'life1 str,
requested_port: u16
) -> Pin<Box<dyn Future<Output = Result<(Arc<dyn Conn + Send + Sync>, SocketAddr), Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait, [src]
&'life0 self,
_network: &'life1 str,
requested_port: u16
) -> Pin<Box<dyn Future<Output = Result<(Arc<dyn Conn + Send + Sync>, SocketAddr), Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,