pub fn connection_apply_timeouts(
connection: &mut NativeConnection,
read_ms: Option<u64>,
write_ms: Option<u64>,
) -> i32Expand description
Applies bounded read and write timeouts to a native connection.
§Parameters
connection: Input consumed bycrate::connection::connection_apply_timeouts.read_ms: Input consumed bycrate::connection::connection_apply_timeouts.write_ms: Input consumed bycrate::connection::connection_apply_timeouts.
§Returns
Returns the computed value produced by crate::connection::connection_apply_timeouts.
§Examples
ⓘ
let _result = pharos_runtime_core::connection::connection_apply_timeouts(todo!(), todo!(), todo!());§Related
crate::connectionfor adjacent helpers that share the same runtime surface.