Searched refs:mux (Results 1 – 9 of 9) sorted by relevance
20 use crate::mux::endpoint::Endpoint;21 use crate::mux::mux_func::MatchFunc;22 use crate::mux::{Config, Mux};60 mux: Option<Mux>, field190 internal.mux = Some(Mux::new(config)); in start()227 if let Some(mut mux) = internal.mux.take() { in stop()228 mux.close().await; in stop()309 if let Some(mux) = &internal.mux { in new_endpoint()310 Some(mux.new_endpoint(f).await) in new_endpoint()
122 if let Some(mux) = self.inner.params.udp_mux.upgrade() { in add_address()123 mux.register_conn_for_address(self, addr).await; in add_address()195 if let Some(mux) = self.params.udp_mux.upgrade() { in send_to()196 mux.send_to(buf, target).await in send_to()
88 let mux = Arc::new(Self { in new() localVariable96 let cloned_mux = Arc::clone(&mux); in new()99 mux in new()
154 mux: Arc<dyn UDPMux + Send + Sync>, in test_mux_connection()159 let conn = mux.get_conn(ufrag).await?; in test_mux_connection()
25 pub mod mux; module
8 use crate::mux::endpoint::Endpoint;9 use crate::mux::mux_func::MatchFunc;
1 use crate::mux::mux_func::MatchFunc;
2 use crate::mux::mux_func::match_all;
30 use crate::mux::endpoint::Endpoint;31 use crate::mux::mux_func::{match_dtls, match_srtcp, match_srtp, MatchFunc};