pub struct ThreadSpawnError { /* private fields */ }Expand description
Failure to create one of the background threads owned by this crate.
The operation that requested the thread returns this error before claiming
that it started successfully. The thread field identifies the worker so
callers can distinguish pipeline, queue, and standalone-driver failures.
Implementations§
Trait Implementations§
Source§impl Debug for ThreadSpawnError
impl Debug for ThreadSpawnError
Source§impl Display for ThreadSpawnError
impl Display for ThreadSpawnError
Source§impl Error for ThreadSpawnError
impl Error for ThreadSpawnError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<ThreadSpawnError> for QueueError
impl From<ThreadSpawnError> for QueueError
Source§fn from(source: ThreadSpawnError) -> Self
fn from(source: ThreadSpawnError) -> Self
Converts to this type from the input type.
Source§impl From<ThreadSpawnError> for Error
impl From<ThreadSpawnError> for Error
Source§fn from(source: ThreadSpawnError) -> Self
fn from(source: ThreadSpawnError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for ThreadSpawnError
impl !UnwindSafe for ThreadSpawnError
impl Freeze for ThreadSpawnError
impl Send for ThreadSpawnError
impl Sync for ThreadSpawnError
impl Unpin for ThreadSpawnError
impl UnsafeUnpin for ThreadSpawnError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more