Home
last modified time | relevance | path

Searched defs:Future (Results 1 – 7 of 7) sorted by relevance

/commonlibrary/rust/ylong_runtime/ylong_runtime/src/task/
Dwaker.rs33 unsafe fn clone<T>(ptr: *const ()) -> RawWaker in clone()
60 fn raw_waker<T>(header: *const Header) -> RawWaker in raw_waker()
75 pub(crate) fn new<T>(header: &Header) -> WakerRefHeader<'_> in new()
Draw.rs289 unsafe fn get_result<T, S>(ptr: NonNull<Header>, res: *mut ()) in get_result()
299 unsafe fn drop_ref<T, S>(ptr: NonNull<Header>) in drop_ref()
308 unsafe fn set_waker<T, S>(ptr: NonNull<Header>, cur_state: usize, waker: *const ()) -> bool in set_waker()
318 unsafe fn drop_join_handle<T, S>(ptr: NonNull<Header>) in drop_join_handle()
Dmod.rs121 T: Future, in create_raw_task()
161 pub fn block_on<T>(task: T) -> T::Output in block_on()
/commonlibrary/rust/ylong_http/ylong_http_client/src/async_impl/connector/
Dmod.rs42 type Future: Future<Output = Result<Self::Stream, HttpClientError>> typedef
49 fn connect(&self, uri: &Uri, http_version: HttpVersion) -> Self::Future; in connect()
171 type Future = typedef
174 fn connect(&self, uri: &Uri, _http_version: HttpVersion) -> Self::Future { in connect()
245 type Future = typedef
248 fn connect(&self, uri: &Uri, _http_version: HttpVersion) -> Self::Future { in connect()
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/time/
Dtimeout.rs44 pub fn timeout<F>(duration: Duration, future: F) -> Timeout<F> in timeout()
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/executor/
Dblock_on.rs94 pub(crate) fn block_on<T>(mut task: T) -> T::Output in block_on()
Dcurrent_thread.rs270 pub(crate) fn block_on<T>(&self, future: T) -> T::Output in block_on()