Struct webrtc_ice::udp_mux::UDPMuxDefault
source · pub struct UDPMuxDefault { /* private fields */ }Implementations§
source§impl UDPMuxDefault
impl UDPMuxDefault
Trait Implementations§
source§impl UDPMux for UDPMuxDefault
impl UDPMux for UDPMuxDefault
source§fn close<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn close<'life0, 'async_trait>( &'life0 self ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,
Close the muxing.
source§impl UDPMuxWriter for UDPMuxDefault
impl UDPMuxWriter for UDPMuxDefault
source§fn register_conn_for_address<'life0, 'life1, 'async_trait>(
&'life0 self,
conn: &'life1 UDPMuxConn,
addr: SocketAddr
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn register_conn_for_address<'life0, 'life1, 'async_trait>( &'life0 self, conn: &'life1 UDPMuxConn, addr: SocketAddr ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,
Registers an address for the given connection.
source§fn send_to<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
buf: &'life1 [u8],
target: &'life2 SocketAddr
) -> Pin<Box<dyn Future<Output = Result<usize, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn send_to<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, buf: &'life1 [u8], target: &'life2 SocketAddr ) -> Pin<Box<dyn Future<Output = Result<usize, Error>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,
Sends the content of the buffer to the given target. Read more