Struct webrtc_ice::candidate::candidate_relay::CandidateRelayConfig[][src]

pub struct CandidateRelayConfig {
    pub base_config: CandidateBaseConfig,
    pub rel_addr: String,
    pub rel_port: u16,
    pub relay_client: Option<Arc<Client>>,
}
Expand description

The config required to create a new CandidateRelay.

Fields

base_config: CandidateBaseConfigrel_addr: Stringrel_port: u16relay_client: Option<Arc<Client>>

Implementations

Creates a new relay candidate.

Trait Implementations

Returns the “default value” for a type. Read more

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.