Skip to content

Instantly share code, notes, and snippets.

@durka
Created August 9, 2017 05:56
Show Gist options
  • Save durka/f767edd14bdad73825474b8d252ace76 to your computer and use it in GitHub Desktop.
Save durka/f767edd14bdad73825474b8d252ace76 to your computer and use it in GitHub Desktop.
error[E0412]: cannot find type `Writer` in module `client`
--> crates/front/web/src/ws.rs:19:51
|
19 | pub static ref WS_SENDERS: Mutex<Vec<client::Writer<TcpStream>>> = Mutex::new(Vec::new());
| ^^^^^^ not found in `client`
|
help: possible candidates are found in other modules, you can import them into scope
| inline ( always ) ] unsafe fn __stability ( ) -> & 'static $ T use websocket::client::sync::Writer;
| inline ( always ) ] unsafe fn __stability ( ) -> & 'static $ T use websocket::sender::Writer;
| inline ( always ) ] unsafe fn __stability ( ) -> & 'static $ T use websocket::sync::Writer;
| inline ( always ) ] unsafe fn __stability ( ) -> & 'static $ T use websocket::sync::client::Writer;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment