You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, perhaps I'm using the library incorrectly, but I cannot figure out how to use Client::recv_message properly. I'm getting the following error message:
error[E0277]: the trait bound `websocket::Message<'_>: websocket::ws::Message<'_, websocket::DataFrame>` is not satisfied
--> tests/send.rs:21:35
|
21 | let message: Message = client.recv_message().unwrap();
| ^^^^^^^^^^^^ the trait `websocket::ws::Message<'_, websocket::DataFrame>` is not implemented for `websocket::Message<'_>`
|
= help: the following implementations were found:
<websocket::Message<'a> as websocket::ws::Message<'b, &'b websocket::Message<'a>>>
I can't find an example of this method being used in the codebase.