Lines Matching refs:type
4 :c:type:`uv_req_t` --- Base request
7 `uv_req_t` is the base type for all libuv request types.
10 All API functions defined here work with any request type.
16 .. c:type:: uv_req_t
20 .. c:type:: uv_any_req
52 .. c:member:: uv_req_type uv_req_t.type
54 The :c:enum:`uv_req_type`, indicating the type of the request. Readonly.
65 prefix, and the name of the corresponding structure type without the
75 Only cancellation of :c:type:`uv_fs_t`, :c:type:`uv_getaddrinfo_t`,
76 :c:type:`uv_getnameinfo_t`, :c:type:`uv_random_t` and :c:type:`uv_work_t`
85 * A :c:type:`uv_fs_t` request has its req->result field set to `UV_ECANCELED`.
87 * A :c:type:`uv_work_t`, :c:type:`uv_getaddrinfo_t`,
88 :c:type:`uv_getnameinfo_t` or :c:type:`uv_random_t` request has its
91 .. c:function:: size_t uv_req_size(uv_req_type type)
93 Returns the size of the given request type. Useful for FFI binding writers
110 Returns `req->type`.
114 .. c:function:: const char* uv_req_type_name(uv_req_type type)
116 Returns the name for the equivalent struct for a given request type,
117 e.g. `"connect"` (as in :c:type:`uv_connect_t`) for `UV_CONNECT`.
119 If no such request type exists, this returns `NULL`.