Struct webrtc_ice::candidate::candidate_host::CandidateHostConfig
source · pub struct CandidateHostConfig {
pub base_config: CandidateBaseConfig,
pub tcp_type: TcpType,
}
Expand description
The config required to create a new CandidateHost
.
Fields§
§base_config: CandidateBaseConfig
§tcp_type: TcpType
Implementations§
source§impl CandidateHostConfig
impl CandidateHostConfig
sourcepub fn new_candidate_host(self) -> Result<CandidateBase, Error>
pub fn new_candidate_host(self) -> Result<CandidateBase, Error>
Creates a new host candidate.
Trait Implementations§
source§impl Default for CandidateHostConfig
impl Default for CandidateHostConfig
source§fn default() -> CandidateHostConfig
fn default() -> CandidateHostConfig
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CandidateHostConfig
impl !RefUnwindSafe for CandidateHostConfig
impl Send for CandidateHostConfig
impl Sync for CandidateHostConfig
impl Unpin for CandidateHostConfig
impl !UnwindSafe for CandidateHostConfig
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