Enum webrtc_ice::url::SchemeType
source · pub enum SchemeType {
Stun,
Stuns,
Turn,
Turns,
Unknown,
}
Expand description
The type of server used in the ice.URL structure.
Variants§
Stun
The URL represents a STUN server.
Stuns
The URL represents a STUNS (secure) server.
Turn
The URL represents a TURN server.
Turns
The URL represents a TURNS (secure) server.
Unknown
Default public constant to use for “enum” like struct comparisons when no value was defined.
Trait Implementations§
source§impl Clone for SchemeType
impl Clone for SchemeType
source§fn clone(&self) -> SchemeType
fn clone(&self) -> SchemeType
Returns a copy 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 SchemeType
impl Debug for SchemeType
source§impl Default for SchemeType
impl Default for SchemeType
source§impl Display for SchemeType
impl Display for SchemeType
source§impl From<&str> for SchemeType
impl From<&str> for SchemeType
source§impl PartialEq for SchemeType
impl PartialEq for SchemeType
source§fn eq(&self, other: &SchemeType) -> bool
fn eq(&self, other: &SchemeType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for SchemeType
impl Eq for SchemeType
impl StructuralPartialEq for SchemeType
Auto Trait Implementations§
impl Freeze for SchemeType
impl RefUnwindSafe for SchemeType
impl Send for SchemeType
impl Sync for SchemeType
impl Unpin for SchemeType
impl UnwindSafe for SchemeType
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