A function pointer type describes a callable function passed by its memory location instead of by name. In Rust FFI, an NGINX body-reading API accepts a callback that runs after the request body loads. section 4.4
Passing an NGINX callback
Rust declares the C-compatible callback type as `Option<unsafe extern "C" fn(r: *mut ngx_http_request_t)>`. The handler passes `Some(read_body_handler)` to `ngx_http_read_client_request_body`; the callback does not need to be exported by name because C receives its location. The equivalent C declaration is `typedef void (*ngx_http_client_body_handler_pt)(ngx_http_request_t *r);`.



