Trait tungstenite::protocol::CheckConnectionReset
source · trait CheckConnectionReset {
// Required method
fn check_connection_reset(self, state: WebSocketState) -> Self;
}
Expand description
Translate “Connection reset by peer” into ConnectionClosed
if appropriate.