pub fn set_timeout(conn: i64, millis: i64) -> Result<(), String>Expand description
Set the connection’s read+write timeout in milliseconds (0 clears it) —
Python settimeout style: it applies to every subsequent recv/send, whose
expiry is the shared tcp: operation timed out error.