pub struct WebRtcConfig {
pub ice_servers: Vec<IceServers>,
pub ice_transport_policy: TransportPolicy,
}Expand description
WebRTC config.
This configuration will be mapped the specific configuration used by the selected backend.
Fields§
§ice_servers: Vec<IceServers>A list of ICE servers configurations.
ice_transport_policy: TransportPolicyThe ICE transport policy to use.
Trait Implementations§
Source§impl Clone for WebRtcConfig
impl Clone for WebRtcConfig
Source§fn clone(&self) -> WebRtcConfig
fn clone(&self) -> WebRtcConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for WebRtcConfig
impl Debug for WebRtcConfig
Source§impl Default for WebRtcConfig
impl Default for WebRtcConfig
Source§fn default() -> WebRtcConfig
fn default() -> WebRtcConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WebRtcConfig
impl<'de> Deserialize<'de> for WebRtcConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for WebRtcConfig
impl RefUnwindSafe for WebRtcConfig
impl Send for WebRtcConfig
impl Sync for WebRtcConfig
impl Unpin for WebRtcConfig
impl UnwindSafe for WebRtcConfig
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