Home
last modified time | relevance | path

Searched refs:ThreadPoolBuildError (Results 1 – 6 of 6) sorted by relevance

/external/rust/crates/rayon-core/src/
Dlib.rs90 pub struct ThreadPoolBuildError { struct
201 pub fn build(self) -> Result<ThreadPool, ThreadPoolBuildError> { in build() argument
222 pub fn build_global(self) -> Result<(), ThreadPoolBuildError> { in build_global() argument
267 pub fn build_scoped<W, F, R>(self, wrapper: W, with_pool: F) -> Result<R, ThreadPoolBuildError> in build_scoped()
636 impl ThreadPoolBuildError { impl
637 fn new(kind: ErrorKind) -> ThreadPoolBuildError { in new() argument
638 ThreadPoolBuildError { kind } in new()
645 impl Error for ThreadPoolBuildError { implementation
662 impl fmt::Display for ThreadPoolBuildError { implementation
Dtest.rs5 use crate::{ThreadPoolBuildError, ThreadPoolBuilder};
135 _send_sync::<ThreadPoolBuildError>(); in check_error_send_sync()
168 fn cleared_current_thread() -> Result<(), ThreadPoolBuildError> { in cleared_current_thread()
Dregistry.rs9 ErrorKind, ExitHandler, PanicHandler, StartHandler, ThreadPoolBuildError, ThreadPoolBuilder,
178 ) -> Result<&'static Arc<Registry>, ThreadPoolBuildError> in init_global_registry()
187 fn set_global_registry<F>(registry: F) -> Result<&'static Arc<Registry>, ThreadPoolBuildError> in set_global_registry() argument
189 F: FnOnce() -> Result<Arc<Registry>, ThreadPoolBuildError>, in set_global_registry()
191 let mut result = Err(ThreadPoolBuildError::new( in set_global_registry()
217 ) -> Result<Arc<Self>, ThreadPoolBuildError> in new()
261 return Err(ThreadPoolBuildError::new(ErrorKind::IOError(e))); in new()
/external/rust/crates/rayon-core/src/thread_pool/
Dmod.rs13 use crate::{ThreadPoolBuildError, ThreadPoolBuilder};
65 ) -> Result<ThreadPool, ThreadPoolBuildError> in build()
/external/rust/crates/rayon/src/
Dlib.rs114 pub use rayon_core::ThreadPoolBuildError;
/external/rust/crates/rayon/
DRELEASES.md284 - Errors from initialization now have the concrete `ThreadPoolBuildError`