Relative Content

Tag Archive for rustnetwork-programmingrust-tokiotungstenite

Trait bound not satisfied for MaybeTlsStream in tokio-tungstenite

I’m trying to build a struct that handles async websocket communication. I’m working on getting the connection set up and, as part of that, I’m using tokio_tungstenite::connect::connect_async(). I want to store its returned value as a field in the struct I’m working on.

Trait bound not satisfied for MaybeTlsStream in tokio-tungstenite

I’m trying to build a struct that handles async websocket communication. I’m working on getting the connection set up and, as part of that, I’m using tokio_tungstenite::connect::connect_async(). I want to store its returned value as a field in the struct I’m working on.