pub struct TurnServerConfig {
pub addr: SocketAddr,
pub username: Option<String>,
pub credential: Option<String>,
}Fields§
§addr: SocketAddrTURN server socket address.
username: Option<String>Optional long-term auth username.
credential: Option<String>Optional long-term auth credential (password).
Trait Implementations§
Source§impl Clone for TurnServerConfig
impl Clone for TurnServerConfig
Source§fn clone(&self) -> TurnServerConfig
fn clone(&self) -> TurnServerConfig
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 moreAuto Trait Implementations§
impl Freeze for TurnServerConfig
impl RefUnwindSafe for TurnServerConfig
impl Send for TurnServerConfig
impl Sync for TurnServerConfig
impl Unpin for TurnServerConfig
impl UnwindSafe for TurnServerConfig
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