Struct webrtc_ice::candidate::candidate_relay::CandidateRelayConfig
source · 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: CandidateBaseConfig
§rel_addr: String
§rel_port: u16
§relay_client: Option<Arc<Client>>
Implementations§
source§impl CandidateRelayConfig
impl CandidateRelayConfig
sourcepub fn new_candidate_relay(self) -> Result<CandidateBase, Error>
pub fn new_candidate_relay(self) -> Result<CandidateBase, Error>
Creates a new relay candidate.
Trait Implementations§
source§impl Default for CandidateRelayConfig
impl Default for CandidateRelayConfig
source§fn default() -> CandidateRelayConfig
fn default() -> CandidateRelayConfig
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for CandidateRelayConfig
impl Send for CandidateRelayConfig
impl Sync for CandidateRelayConfig
impl Unpin for CandidateRelayConfig
impl !UnwindSafe for CandidateRelayConfig
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