Skip to main content

connection_closed

Function connection_closed 

Source
pub fn connection_closed(
    services: &dyn ConnectionServices,
    connection: u64,
    reason: &str,
)
Expand description

Records the transport’s final stable cause. The caller supplies the cause

it actually observed; the Drop backstop uses transport_drop. No payload or credential is retained in a diagnostic if the durable write fails.