fn is_too_large(e: &Error) -> bool
Whether a read failed for a message larger than the server takes. The WebSocket cannot be read anymore then, the rest of the message did not get read, but the server can still close it, see close, and has to drain it then.
close
drain