pub struct ClientConfig {
pub stun_serv_addr: String,
pub turn_serv_addr: String,
pub local_addr: SocketAddr,
pub protocol: Protocol,
pub username: String,
pub password: String,
pub realm: String,
pub software: String,
pub rto_in_ms: u64,
}
Expand description
ClientConfig is a bag of config parameters for Client.
Fields§
§stun_serv_addr: String
§turn_serv_addr: String
§local_addr: SocketAddr
§protocol: Protocol
§username: String
§password: String
§realm: String
§software: String
§rto_in_ms: u64
Auto Trait Implementations§
impl Freeze for ClientConfig
impl RefUnwindSafe for ClientConfig
impl Send for ClientConfig
impl Sync for ClientConfig
impl Unpin for ClientConfig
impl UnwindSafe for ClientConfig
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