Enum tungstenite::stream::Mode [−][src]
pub enum Mode { Plain, Tls, }
Expand description
Stream mode, either plain TCP or TLS.
Variants
Plain mode (ws://
URL).
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
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V