Enum tungstenite::stream::Mode [−][src]
pub enum Mode {
Plain,
Tls,
}
Expand description
Stream mode, either plain TCP or TLS.
Variants
Plain
Plain mode (ws://
URL).
Tls
TLS mode (wss://
URL).
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Mode
impl UnwindSafe for Mode
Blanket Implementations
Mutably borrows from an owned value. Read more