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§
source§impl CandidateServerReflexiveConfig
impl CandidateServerReflexiveConfig
sourcepub fn new_candidate_server_reflexive(self) -> Result<CandidateBase, Error>
pub fn new_candidate_server_reflexive(self) -> Result<CandidateBase, Error>
Creates a new server reflective candidate.
Trait Implementations§
source§impl Default for CandidateServerReflexiveConfig
impl Default for CandidateServerReflexiveConfig
source§fn 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§
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