Skip to main content

with_outbound_write_timeout

Function with_outbound_write_timeout 

Source
async fn with_outbound_write_timeout<T>(
    operation: impl Future<Output = Result<T, WebSocketCloseCode>>,
) -> Result<T, WebSocketCloseCode>