Struct webrtc::ice_transport::ice_server::RTCIceServer
source · pub struct RTCIceServer {
pub urls: Vec<String>,
pub username: String,
pub credential: String,
pub credential_type: RTCIceCredentialType,
}
Expand description
ICEServer describes a single STUN and TURN server that can be used by the ICEAgent to establish a connection with a peer.
Fields
urls: Vec<String>
username: String
credential: String
credential_type: RTCIceCredentialType
Trait Implementations
sourceimpl Clone for RTCIceServer
impl Clone for RTCIceServer
sourcefn clone(&self) -> RTCIceServer
fn clone(&self) -> RTCIceServer
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for RTCIceServer
impl Debug for RTCIceServer
sourceimpl Default for RTCIceServer
impl Default for RTCIceServer
sourcefn default() -> RTCIceServer
fn default() -> RTCIceServer
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for RTCIceServer
impl Send for RTCIceServer
impl Sync for RTCIceServer
impl Unpin for RTCIceServer
impl UnwindSafe for RTCIceServer
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