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 Mode
impl Send for Mode
impl Sync for Mode
impl Unpin for Mode
impl UnwindSafe for Mode