pub enum EmbeddedEngineStartError {
Registry(ChasmError),
UnregisteredArchetype {
archetype_id: u32,
executions: u64,
},
SearchAttributeType {
namespace: NamespaceId,
key: String,
declared: SearchAttrType,
existing: SearchAttrType,
},
UnserviceableOutbox {
archetype_id: u32,
cause: RebuildFailure,
executions: usize,
},
InvalidConfiguration(EmbeddedConfigError),
Phase {
phase: EmbeddedStartupPhase,
},
DeadlineExceeded {
phase: EmbeddedStartupPhase,
},
}Expand description
Redacted failure from explicit embedded startup.
Variants§
Registry(ChasmError)
A library or executor conflicts with the immutable registry.
UnregisteredArchetype
Persisted executions require a library absent from this deployment.
Fields
SearchAttributeType
A declared search attribute conflicts with the namespace’s registered type.
Fields
namespace: NamespaceIdNamespace whose registry conflicts.
declared: SearchAttrTypeType required by the library.
existing: SearchAttrTypeType already registered in projection storage.
UnserviceableOutbox
Startup rebuild isolated executions this deployment cannot serve.
Fields
cause: RebuildFailureMissing data, handler or undecodable payload encountered first.
InvalidConfiguration(EmbeddedConfigError)
Configuration failed before any external resource was touched.
Phase
One startup phase failed; the nested cause is deliberately discarded.
Fields
phase: EmbeddedStartupPhasePhase that did not complete.
DeadlineExceeded
The one host-configured startup budget elapsed in the named phase.
Fields
phase: EmbeddedStartupPhasePhase active when the shared deadline elapsed.
Trait Implementations§
Source§impl Debug for EmbeddedEngineStartError
impl Debug for EmbeddedEngineStartError
Source§impl Display for EmbeddedEngineStartError
impl Display for EmbeddedEngineStartError
Source§impl Error for EmbeddedEngineStartError
impl Error for EmbeddedEngineStartError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
Source§impl From<EmbeddedConfigError> for EmbeddedEngineStartError
impl From<EmbeddedConfigError> for EmbeddedEngineStartError
Source§fn from(error: EmbeddedConfigError) -> EmbeddedEngineStartError
fn from(error: EmbeddedConfigError) -> EmbeddedEngineStartError
Auto Trait Implementations§
impl !RefUnwindSafe for EmbeddedEngineStartError
impl !UnwindSafe for EmbeddedEngineStartError
impl Freeze for EmbeddedEngineStartError
impl Send for EmbeddedEngineStartError
impl Sync for EmbeddedEngineStartError
impl Unpin for EmbeddedEngineStartError
impl UnsafeUnpin for EmbeddedEngineStartError
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
Source§fn with_current_context(self) -> WithContext<Self> ⓘ
fn with_current_context(self) -> WithContext<Self> ⓘ
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request