Struct webrtc_ice::udp_mux::UDPMuxConnParams
source · pub struct UDPMuxConnParams {
pub local_addr: SocketAddr,
pub key: String,
pub udp_mux: Weak<dyn UDPMuxWriter + Send + Sync>,
}
Expand description
Parameters for a UDPMuxConn
.
Fields§
§local_addr: SocketAddr
Local socket address.
key: String
Static key identifying the connection.
udp_mux: Weak<dyn UDPMuxWriter + Send + Sync>
A std::sync::Weak
reference to the UDP mux.
NOTE: a non-owning reference should be used to prevent possible cycles.
Auto Trait Implementations§
impl !RefUnwindSafe for UDPMuxConnParams
impl Send for UDPMuxConnParams
impl Sync for UDPMuxConnParams
impl Unpin for UDPMuxConnParams
impl !UnwindSafe for UDPMuxConnParams
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more