Struct matchbox_socket::RtcIceServerConfig
source · pub struct RtcIceServerConfig {
pub urls: Vec<String>,
pub username: Option<String>,
pub credential: Option<String>,
}
Expand description
Configuration options for an ICE server connection. See also: https://developer.mozilla.org/en-US/docs/Web/API/RTCIceServer#example
Fields§
§urls: Vec<String>
An ICE server instance can have several URLs
username: Option<String>
A username for authentication with the ICE server
See: https://developer.mozilla.org/en-US/docs/Web/API/RTCIceServer/username
credential: Option<String>
A password or token when authenticating with a turn server
See: https://developer.mozilla.org/en-US/docs/Web/API/RTCIceServer/credential
Trait Implementations§
source§impl Clone for RtcIceServerConfig
impl Clone for RtcIceServerConfig
source§fn clone(&self) -> RtcIceServerConfig
fn clone(&self) -> RtcIceServerConfig
Returns a copy 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 RtcIceServerConfig
impl Debug for RtcIceServerConfig
Auto Trait Implementations§
impl RefUnwindSafe for RtcIceServerConfig
impl Send for RtcIceServerConfig
impl Sync for RtcIceServerConfig
impl Unpin for RtcIceServerConfig
impl UnwindSafe for RtcIceServerConfig
Blanket Implementations§
source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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