Skip to content

Instantly share code, notes, and snippets.

View ivoribeiro's full-sized avatar
🎯
Focusing

Ivo Ribeiro ivoribeiro

🎯
Focusing
View GitHub Profile
✘ ilr@gilfoyle  ~/Code/ivoribeiro/webpirates/rust-libp2p   master ●  cargo build
Compiling libp2p-websocket v0.1.0 (/home/ilr/Code/ivoribeiro/webpirates/rust-libp2p/transports/websocket)
error[E0277]: `dyn futures::Future<Item=websocket::server::upgrade::WsUpgrade<<T as swarm::Transport>::Output, bytes::bytes::BytesMut>, Error=(<T as swarm::Transport>::Output, std::option::Option<hyper::http::h1::Incoming<(hyper::method::Method, hyper::uri::RequestUri)>>, bytes::bytes::BytesMut, websocket::server::upgrade::HyperIntoWsError)>` cannot be sent between threads safely
--> transports/websocket/src/desktop.rs:155:13
|