pub type Result<T, E = Error> = Result<T, E>;
Result type of all Tungstenite library calls.
enum Result<T, E = Error> { // some variants omitted }