Skip to main content

abort_narthex_write

Function abort_narthex_write 

Source
pub(crate) async fn abort_narthex_write(
    writer: Box<dyn FormatWriter>,
    error: Error,
) -> Error
Expand description

Complete cleanup before reporting a failed write. Drop cleanup remains a fallback for cancellation, but can race runtime shutdown after an ordinary returned error.