Struct turn::server::config::ServerConfig[][src]

pub struct ServerConfig {
    pub conn_configs: Vec<ConnConfig>,
    pub realm: String,
    pub auth_handler: Arc<Box<dyn AuthHandler + Send + Sync>>,
    pub channel_bind_timeout: Duration,
}

Fields

conn_configs: Vec<ConnConfig>realm: Stringauth_handler: Arc<Box<dyn AuthHandler + Send + Sync>>channel_bind_timeout: Duration

Implementations

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.