pub const CONNECTION_TERMINATED_REASON: &str = "connection_terminated";Expand description
Stable discriminator stored in the data.reason field of errors produced
when a connection terminates for a reason other than clean incoming EOF
before a request receives its response.
The data field is informational. Use is_connection_terminated to
detect these errors: a peer can send this value in its own error data.