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
sourceimpl 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more