pub enum CreateProcessError {
}Expand description
Definition, startup, persistence, or signal admission failure.
Variants§
CompilationError
The definition could not be compiled.
ValidationError(Vec<String>)
Accumulated structural definition errors.
DbError(String)
Persistence failure with a diagnostic message.
ProcessDefNotFound
No usable definition or required startup declaration was found.
ProcessKeyNotValid
The process key failed validation.
ProcessVersionNotValid
The stored version is malformed.
StatusNotValid
The lifecycle status failed validation.
MetadataNotValid
Definition metadata failed validation.
FullDefinitionNotValid
The complete stored definition could not be decoded.
RunProcessError
The process instance could not be created.
ProcessIdNonUnique
The business process ID is already in use.
CreateSignalError(String)
Signal admission or queue insertion failed.
SignalNotExists
The signal is neither declared nor referenced by a compatible wait node.
Trait Implementations§
Source§impl Debug for CreateProcessError
impl Debug for CreateProcessError
Source§impl Display for CreateProcessError
impl Display for CreateProcessError
Source§impl From<Error> for CreateProcessError
Available on crate feature db only.
impl From<Error> for CreateProcessError
Available on crate feature
db only.Auto Trait Implementations§
impl Forget for CreateProcessError
impl Freeze for CreateProcessError
impl Move for CreateProcessError
impl RefUnwindSafe for CreateProcessError
impl Send for CreateProcessError
impl Sync for CreateProcessError
impl Unpin for CreateProcessError
impl UnsafeUnpin for CreateProcessError
impl UnwindSafe for CreateProcessError
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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> ⓘ
Converts
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> ⓘ
Converts
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 moreimpl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<T> SerializableKey for T
impl<T> SerializableKey for T
Source§impl<T> StorageAccess<T> for T
impl<T> StorageAccess<T> for T
Source§fn as_borrowed(&self) -> &T
fn as_borrowed(&self) -> &T
Borrows the value.
Source§fn into_taken(self) -> T
fn into_taken(self) -> T
Takes the value.