Trait webrtc_ice::udp_mux::UDPMux
source · [−]pub trait UDPMux {
fn close<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
fn get_conn<'life0, 'async_trait>(
self: Arc<Self>,
ufrag: &'life0 str
) -> Pin<Box<dyn Future<Output = Result<Arc<dyn Conn + Send + Sync>, Error>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
fn remove_conn_by_ufrag<'life0, 'life1, 'async_trait>(
&'life0 self,
ufrag: &'life1 str
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait;
}
Required methods
Close the muxing.
Get the underlying connection for a given ufrag.