pub fn connection_read(
connection: &mut NativeConnection,
buffer: &mut [u8],
) -> i32Expand description
Reads at most one caller-provided buffer from the attached transport.
§Parameters
connection: Input consumed bycrate::connection::connection_read.buffer: Input consumed bycrate::connection::connection_read.
§Returns
Returns the computed value produced by crate::connection::connection_read.
§Examples
ⓘ
let _result = pharos_runtime_core::connection::connection_read(todo!(), &mut []);§Related
crate::connectionfor adjacent helpers that share the same runtime surface.