pub type ares_sock_state_cb = Option<unsafe extern "C" fn(data: *mut c_void, socket_fd: ares_socket_t, readable: c_int, writable: c_int)>;

Aliased Type§

enum ares_sock_state_cb {
    None,
    Some(unsafe extern "C" fn(_: *mut c_void, _: i32, _: i32, _: i32)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *mut c_void, _: i32, _: i32, _: i32))

Some value of type T.