Struct turn::client::ClientConfig[][src]

pub struct ClientConfig {
    pub stun_serv_addr: String,
    pub turn_serv_addr: String,
    pub username: String,
    pub password: String,
    pub realm: String,
    pub software: String,
    pub rto_in_ms: u16,
    pub conn: Arc<dyn Conn + Send + Sync>,
    pub vnet: Option<Arc<Net>>,
}

Fields

stun_serv_addr: Stringturn_serv_addr: Stringusername: Stringpassword: Stringrealm: Stringsoftware: Stringrto_in_ms: u16conn: Arc<dyn Conn + Send + Sync>vnet: Option<Arc<Net>>

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.