Struct webrtc_ice::agent::agent_config::AgentConfig[][src]

pub struct AgentConfig {
    pub urls: Vec<Url>,
    pub port_min: u16,
    pub port_max: u16,
    pub local_ufrag: String,
    pub local_pwd: String,
    pub multicast_dns_mode: MulticastDnsMode,
    pub multicast_dns_host_name: String,
    pub disconnected_timeout: Option<Duration>,
    pub failed_timeout: Option<Duration>,
    pub keepalive_interval: Option<Duration>,
    pub network_types: Vec<NetworkType>,
    pub candidate_types: Vec<CandidateType>,
    pub check_interval: Duration,
    pub max_binding_requests: Option<u16>,
    pub is_controlling: bool,
    pub lite: bool,
    pub nat_1to1_ip_candidate_type: CandidateType,
    pub nat_1to1_ips: Vec<String>,
    pub host_acceptance_min_wait: Option<Duration>,
    pub srflx_acceptance_min_wait: Option<Duration>,
    pub prflx_acceptance_min_wait: Option<Duration>,
    pub relay_acceptance_min_wait: Option<Duration>,
    pub net: Option<Arc<Net>>,
    pub interface_filter: Option<Box<dyn Fn(&str) -> bool + Send + Sync>>,
    pub insecure_skip_verify: bool,
}

Fields

urls: Vec<Url>port_min: u16port_max: u16local_ufrag: Stringlocal_pwd: Stringmulticast_dns_mode: MulticastDnsModemulticast_dns_host_name: Stringdisconnected_timeout: Option<Duration>failed_timeout: Option<Duration>keepalive_interval: Option<Duration>network_types: Vec<NetworkType>candidate_types: Vec<CandidateType>check_interval: Durationmax_binding_requests: Option<u16>is_controlling: boollite: boolnat_1to1_ip_candidate_type: CandidateTypenat_1to1_ips: Vec<String>host_acceptance_min_wait: Option<Duration>srflx_acceptance_min_wait: Option<Duration>prflx_acceptance_min_wait: Option<Duration>relay_acceptance_min_wait: Option<Duration>net: Option<Arc<Net>>interface_filter: Option<Box<dyn Fn(&str) -> bool + Send + Sync>>insecure_skip_verify: bool

Trait Implementations

impl Default for AgentConfig[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Conv for T

impl<T> Conv for T

impl<T> FmtForward for T

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pipe for T

impl<T> Pipe for T where
    T: ?Sized

impl<T> PipeAsRef for T

impl<T> PipeBorrow for T

impl<T> PipeDeref for T

impl<T> PipeRef for T

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> Tap for T

impl<T> Tap for T

impl<T, U> TapAsRef<U> for T where
    U: ?Sized

impl<T, U> TapBorrow<U> for T where
    U: ?Sized

impl<T> TapDeref for T

impl<T> TryConv for T

impl<T> TryConv for T

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,