Home
last modified time | relevance | path

Searched refs:hyper_task (Results 1 – 3 of 3) sorted by relevance

/external/rust/android-crates-io/crates/hyper/src/ffi/
Dtask.rs58 pub struct hyper_task { struct
65 task: Option<Box<hyper_task>>, argument
114 fn spawn(&self, task: Box<hyper_task>) { in spawn() argument
121 fn poll_next(&self) -> Option<Box<hyper_task>> { in poll_next() argument
183 exec.spawn(hyper_task::boxed(fut)); in execute()
207 fn hyper_executor_push(exec: *const hyper_executor, task: *mut hyper_task) -> hyper_code {
222 fn hyper_executor_poll(exec: *const hyper_executor) -> *mut hyper_task {
233 impl hyper_task { impl
234 pub(crate) fn boxed<F>(fut: F) -> Box<hyper_task> in boxed()
239 Box::new(hyper_task { in boxed()
[all …]
Dclient.rs12 use super::task::{hyper_executor, hyper_task, hyper_task_return_type, AsTaskType, WeakExec};
40 …lientconn_handshake(io: *mut hyper_io, options: *mut hyper_clientconn_options) -> *mut hyper_task {
44 Box::into_raw(hyper_task::boxed(async move {
62 …fn hyper_clientconn_send(conn: *mut hyper_clientconn, req: *mut hyper_request) -> *mut hyper_task {
74 Box::into_raw(hyper_task::boxed(fut))
Dbody.rs9 use super::task::{hyper_context, hyper_task, hyper_task_return_type, AsTaskType};
58 fn hyper_body_data(body: *mut hyper_body) -> *mut hyper_task {
62 Box::into_raw(hyper_task::boxed(async move {
79 …dy: *mut hyper_body, func: hyper_body_foreach_callback, userdata: *mut c_void) -> *mut hyper_task {
83 Box::into_raw(hyper_task::boxed(async move {