trait CheckConnectionReset {
// Required method
fn check_connection_reset(self, state: WebSocketState) -> Self;
}
Expand description
Translate “Connection reset by peer” into ConnectionClosed
if appropriate.
Required Methods§
fn check_connection_reset(self, state: WebSocketState) -> Self
Object Safety§
This trait is not object safe.