#[no_mangle]
pub extern "C" fn hyper_task_set_userdata(
task: *mut hyper_task,
userdata: *mut c_void,
)
Available on crate feature
ffi
and hyper_unstable_ffi
only.Expand description
Set a user data pointer to be associated with this task.
This value will be passed to task callbacks, and can be checked later
with hyper_task_userdata
.
This is useful for telling apart tasks for different requests that are running on the same executor.