A callback is a function passed to another operation so it can be invoked when an event or computation completes. In NGINX request handling, Rust supplies read_body_handler to run after the request body is read. section 4.4
Passing a request-body callback
The handler starts asynchronous body reading by passing Some(read_body_handler) to ngx_http_read_client_request_body. The callback receives the request pointer, checks for null, converts the body, and reports parsing errors.
A callback crossing the Rust–C FFI boundary requires:
- An extern "C" function signature for C calling conventions. section 4.4

















