Enum tungstenite::stream::Mode
[−]
[src]
pub enum Mode { Plain, Tls, }
Stream mode, either plain TCP or TLS.
Variants
Plain
Tls
Trait Implementations
impl Clone for Mode
[src]
fn clone(&self) -> Mode
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more