Skip to main content

is_connection_terminated

Function is_connection_terminated 

Source
pub fn is_connection_terminated(error: &Error) -> bool
Expand description

Return whether error reports that the connection terminated before a request received its response.

Requests failed by clean incoming EOF instead satisfy is_incoming_transport_closed.