Enum tungstenite::stream::Mode [−][src]
pub enum Mode {
Plain,
Tls,
}Stream mode, either plain TCP or TLS.
Variants
Plain mode (ws:// URL).
TLS mode (wss:// URL).
pub enum Mode {
Plain,
Tls,
}Stream mode, either plain TCP or TLS.
Plain mode (ws:// URL).
TLS mode (wss:// URL).
impl RefUnwindSafe for Modeimpl Send for Modeimpl Sync for Modeimpl Unpin for Modeimpl UnwindSafe for Mode