1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
//! //! The Binance WebSocket adapter. //! use failure::Fail; /// /// The Binance WebSocket error. /// #[derive(Debug, Fail)] pub enum Error { /// The connection error. #[fail(display = "connection: {}", _0)] Connection(websocket::WebSocketError), }