pub fn connection_accept_next(
listener: &TcpListener,
) -> Result<NativeConnection, i32>Expand description
Accepts the next TCP connection from a native listener.
§Parameters
listener: Input consumed bycrate::connection::connection_accept_next.
§Returns
Returns the successful value produced by crate::connection::connection_accept_next or an error when the operation fails.
§Errors
Returns an error value when crate::connection::connection_accept_next cannot complete successfully.
§Examples
ⓘ
let _result = pharos_runtime_core::connection::connection_accept_next(todo!());§Related
crate::connectionfor adjacent helpers that share the same runtime surface.