pub struct CandidatePeerReflexiveConfig {
pub base_config: CandidateBaseConfig,
pub rel_addr: String,
pub rel_port: u16,
}
Expand description
The config required to create a new CandidatePeerReflexive
.
Fields§
§base_config: CandidateBaseConfig
§rel_addr: String
§rel_port: u16
Implementations§
source§impl CandidatePeerReflexiveConfig
impl CandidatePeerReflexiveConfig
sourcepub fn new_candidate_peer_reflexive(self) -> Result<CandidateBase, Error>
pub fn new_candidate_peer_reflexive(self) -> Result<CandidateBase, Error>
Creates a new peer reflective candidate.
Trait Implementations§
source§impl Default for CandidatePeerReflexiveConfig
impl Default for CandidatePeerReflexiveConfig
source§fn default() -> CandidatePeerReflexiveConfig
fn default() -> CandidatePeerReflexiveConfig
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for CandidatePeerReflexiveConfig
impl Send for CandidatePeerReflexiveConfig
impl Sync for CandidatePeerReflexiveConfig
impl Unpin for CandidatePeerReflexiveConfig
impl !UnwindSafe for CandidatePeerReflexiveConfig
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