Enum paxakos::error::SpawnError
source · #[non_exhaustive]
pub enum SpawnError<E> {
ExecutorError(E),
Decoration(Box<dyn Error + Send + Sync + 'static>),
}
Expand description
Reason spawning a node failed.
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.
ExecutorError(E)
Failed to start task to maintain State
.
Decoration(Box<dyn Error + Send + Sync + 'static>)
A decoration’s wrap
method
failed.
Trait Implementations
sourceimpl<E: Debug> Debug for SpawnError<E>
impl<E: Debug> Debug for SpawnError<E>
sourceimpl<E> Display for SpawnError<E>
impl<E> Display for SpawnError<E>
sourceimpl<E> Error for SpawnError<E>where
Self: Debug + Display,
impl<E> Error for SpawnError<E>where
Self: Debug + Display,
sourcefn 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 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations
impl<E> !RefUnwindSafe for SpawnError<E>
impl<E> Send for SpawnError<E>where
E: Send,
impl<E> Sync for SpawnError<E>where
E: Sync,
impl<E> Unpin for SpawnError<E>where
E: Unpin,
impl<E> !UnwindSafe for SpawnError<E>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more