pub enum CandidateType {
Host,
ServerReflexive,
PeerReflexive,
Relay,
}Expand description
Candidate types
Variants§
Trait Implementations§
Source§impl Clone for CandidateType
impl Clone for CandidateType
Source§fn clone(&self) -> CandidateType
fn clone(&self) -> CandidateType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CandidateType
impl Debug for CandidateType
Source§impl<'de> Deserialize<'de> for CandidateType
impl<'de> Deserialize<'de> for CandidateType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for CandidateType
impl RefUnwindSafe for CandidateType
impl Send for CandidateType
impl Sync for CandidateType
impl Unpin for CandidateType
impl UnwindSafe for CandidateType
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