Enum webrtc_ice::candidate::CandidateType [−][src]
pub enum CandidateType {
Unspecified,
Host,
ServerReflexive,
PeerReflexive,
Relay,
}Expand description
Represents the type of candidate CandidateType enum.
Variants
Implementations
Returns the preference weight of a CandidateType.
4.1.2.2. Guidelines for Choosing Type and Local Preferences The RECOMMENDED values are 126 for host candidates, 100 for server reflexive candidates, 110 for peer reflexive candidates, and 0 for relayed candidates.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for CandidateTypeimpl Send for CandidateTypeimpl Sync for CandidateTypeimpl Unpin for CandidateTypeimpl UnwindSafe for CandidateTypeBlanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = TShould always be Self
pub fn vzip(self) -> V