Home
last modified time | relevance | path

Searched refs:context (Results 1 - 5 of 5) sorted by relevance

/commonlibrary/rust/ylong_http/ylong_http_client/src/async_impl/ssl_stream/
H A Dwrapper.rs25 pub(crate) context: *mut (),
32 /// Must be called with `context` set to a valid pointer to a live `Context`
35 debug_assert!(!self.context.is_null()); in inner()
37 let context = &mut *(self.context as *mut _);
38 (stream, context)
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/executor/
H A Ddriver_handle.rs54 let context = get_current_handle()
56 Ok(context._handle.clone())
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/task/
H A Dtask_handle.rs187 let mut context = Context::from_waker(&waker); variables
190 self.inner().poll(&mut context).map(Ok)
289 let mut context = Context::from_waker(&waker); variables
292 self.inner().poll(&mut context).map(Ok)
H A Draw.rs247 pub(crate) fn poll(&self, context: &mut Context) -> Poll<T::Output> {
255 let res = future.poll(context);
/commonlibrary/rust/ylong_http/ylong_http_client/tests/common/
H A Dmod.rs200 let ssl = openssl::ssl::Ssl::new(acceptor.context()).expect("Ssl Error");

Completed in 3 milliseconds