#[non_exhaustive]
pub enum ThreadedStateInitializationError {
ThreadingError(ThreadError),
StateInitializationError(StateInitializationError),
}
Expand description
Error while initializing a state using multiple thread or threaded function.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
ThreadingError(ThreadError)
multithreading error, see ThreadError
.
StateInitializationError(StateInitializationError)
Other Error cause in non threaded section
Trait Implementations§
source§impl Clone for ThreadedStateInitializationError
impl Clone for ThreadedStateInitializationError
source§fn clone(&self) -> ThreadedStateInitializationError
fn clone(&self) -> ThreadedStateInitializationError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Error for ThreadedStateInitializationError
impl Error for ThreadedStateInitializationError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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<StateInitializationError> for ThreadedStateInitializationError
impl From<StateInitializationError> for ThreadedStateInitializationError
source§fn from(err: StateInitializationError) -> Self
fn from(err: StateInitializationError) -> Self
Converts to this type from the input type.
source§impl From<ThreadError> for ThreadedStateInitializationError
impl From<ThreadError> for ThreadedStateInitializationError
source§fn from(err: ThreadError) -> Self
fn from(err: ThreadError) -> Self
Converts to this type from the input type.
source§impl PartialEq<ThreadedStateInitializationError> for ThreadedStateInitializationError
impl PartialEq<ThreadedStateInitializationError> for ThreadedStateInitializationError
source§fn eq(&self, other: &ThreadedStateInitializationError) -> bool
fn eq(&self, other: &ThreadedStateInitializationError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ThreadedStateInitializationError
impl StructuralEq for ThreadedStateInitializationError
impl StructuralPartialEq for ThreadedStateInitializationError
Auto Trait Implementations§
impl RefUnwindSafe for ThreadedStateInitializationError
impl Send for ThreadedStateInitializationError
impl Sync for ThreadedStateInitializationError
impl Unpin for ThreadedStateInitializationError
impl UnwindSafe for ThreadedStateInitializationError
Blanket Implementations§
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self
from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self
is actually part of its subset T
(and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset
but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self
to the equivalent element of its superset.