Searched refs:ThreadPoolBuildError (Results 1 – 6 of 6) sorted by relevance
| /external/rust/crates/rayon-core/src/ |
| D | lib.rs | 144 pub struct ThreadPoolBuildError { struct 256 pub fn build(self) -> Result<ThreadPool, ThreadPoolBuildError> { in build() argument 277 pub fn build_global(self) -> Result<(), ThreadPoolBuildError> { in build_global() argument 322 pub fn build_scoped<W, F, R>(self, wrapper: W, with_pool: F) -> Result<R, ThreadPoolBuildError> in build_scoped() 724 impl ThreadPoolBuildError { impl 725 fn new(kind: ErrorKind) -> ThreadPoolBuildError { in new() argument 726 ThreadPoolBuildError { kind } in new() 737 impl Error for ThreadPoolBuildError { implementation 754 impl fmt::Display for ThreadPoolBuildError { implementation
|
| D | test.rs | 3 use crate::{ThreadPoolBuildError, ThreadPoolBuilder}; 137 _send_sync::<ThreadPoolBuildError>(); in check_error_send_sync() 173 fn cleared_current_thread() -> Result<(), ThreadPoolBuildError> { in cleared_current_thread()
|
| D | registry.rs | 8 ErrorKind, ExitHandler, PanicHandler, StartHandler, ThreadPoolBuildError, ThreadPoolBuilder, 177 ) -> Result<&'static Arc<Registry>, ThreadPoolBuildError> in init_global_registry() 186 fn set_global_registry<F>(registry: F) -> Result<&'static Arc<Registry>, ThreadPoolBuildError> in set_global_registry() argument 188 F: FnOnce() -> Result<Arc<Registry>, ThreadPoolBuildError>, in set_global_registry() 190 let mut result = Err(ThreadPoolBuildError::new( in set_global_registry() 202 fn default_global_registry() -> Result<Arc<Registry>, ThreadPoolBuildError> { in default_global_registry() 253 ) -> Result<Arc<Self>, ThreadPoolBuildError> in new() 309 return Err(ThreadPoolBuildError::new(ErrorKind::IOError(e))); in new()
|
| /external/rust/crates/rayon-core/src/thread_pool/ |
| D | mod.rs | 13 use crate::{ThreadPoolBuildError, ThreadPoolBuilder}; 65 ) -> Result<ThreadPool, ThreadPoolBuildError> in build()
|
| /external/rust/crates/rayon/src/ |
| D | lib.rs | 119 pub use rayon_core::ThreadPoolBuildError;
|
| /external/rust/crates/rayon/ |
| D | RELEASES.md | 414 - Errors from initialization now have the concrete `ThreadPoolBuildError`
|