Searched refs:JoinError (Results 1 – 5 of 5) sorted by relevance
/external/rust/crates/tokio/src/runtime/task/ |
D | error.rs | 8 pub struct JoinError { 18 impl JoinError { impl 19 pub(crate) fn cancelled() -> JoinError { in cancelled() 20 JoinError { in cancelled() 25 pub(crate) fn panic(err: Box<dyn Any + Send + 'static>) -> JoinError { in panic() argument 26 JoinError { in panic() 107 pub fn try_into_panic(self) -> Result<Box<dyn Any + Send + 'static>, JoinError> { in try_into_panic() argument 115 impl fmt::Display for JoinError { implementation 124 impl fmt::Debug for JoinError { implementation 133 impl std::error::Error for JoinError {} implementation [all …]
|
D | harness.rs | 4 use crate::runtime::task::{JoinError, Notified, Schedule, Task}; 378 Complete(Result<T, JoinError>, bool), 384 fn cancel_task<T: Future>(stage: &CoreStage<T>) -> JoinError { in cancel_task() argument 394 JoinError::panic(err) in cancel_task() 396 JoinError::cancelled() in cancel_task() 407 PollFuture::Complete(Err(JoinError::cancelled()), snapshot.is_join_interested()) in poll_future() 442 PollFuture::Complete(Err(JoinError::panic(err)), snapshot.is_join_interested()) in poll_future()
|
D | mod.rs | 7 pub use self::error::JoinError; 54 pub(crate) type Result<T> = std::result::Result<T, JoinError>;
|
/external/rust/crates/tokio/src/task/ |
D | mod.rs | 274 pub use crate::runtime::task::{JoinError, JoinHandle};
|
/external/rust/crates/tokio/ |
D | CHANGELOG.md | 867 - task: methods for inspecting the `JoinError` cause ([#2051]). 1067 - `task::JoinError` is now `Sync` ([#1888]).
|