Struct webrtc_ice::candidate::candidate_server_reflexive::CandidateServerReflexiveConfig
source · [−]pub struct CandidateServerReflexiveConfig {
pub base_config: CandidateBaseConfig,
pub rel_addr: String,
pub rel_port: u16,
}
Expand description
The config required to create a new CandidateServerReflexive
.
Fields
base_config: CandidateBaseConfig
rel_addr: String
rel_port: u16
Implementations
sourceimpl CandidateServerReflexiveConfig
impl CandidateServerReflexiveConfig
sourcepub async fn new_candidate_server_reflexive(
self
) -> Result<CandidateBase, Error>
pub async fn new_candidate_server_reflexive(
self
) -> Result<CandidateBase, Error>
Creates a new server reflective candidate.
Trait Implementations
sourceimpl Default for CandidateServerReflexiveConfig
impl Default for CandidateServerReflexiveConfig
sourcefn default() -> CandidateServerReflexiveConfig
fn default() -> CandidateServerReflexiveConfig
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl !RefUnwindSafe for CandidateServerReflexiveConfig
impl Send for CandidateServerReflexiveConfig
impl Sync for CandidateServerReflexiveConfig
impl Unpin for CandidateServerReflexiveConfig
impl !UnwindSafe for CandidateServerReflexiveConfig
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more