pub enum EngineSeamError {
NonResident {
workflow_id: WorkflowId,
},
Terminal {
workflow_id: WorkflowId,
},
UnknownWorkflow {
workflow_id: WorkflowId,
},
Delivery {
reason: String,
},
ChildSpawn {
reason: String,
},
TimerWheel {
reason: String,
},
ChildTermination {
reason: String,
},
Recorder {
reason: String,
},
}Expand description
Errors returned by the engine seam.
Variants§
NonResident
The target workflow has no current live process.
Fields
§
workflow_id: WorkflowIdWorkflow that had no current live process.
Terminal
The target workflow is terminal.
Fields
§
workflow_id: WorkflowIdTerminal workflow identifier.
UnknownWorkflow
The target workflow is unknown to AE.
Fields
§
workflow_id: WorkflowIdUnknown workflow identifier.
Delivery
AE could not deliver a mailbox message.
ChildSpawn
AE could not spawn a linked child workflow.
TimerWheel
AE could not arm or disarm the timer wheel.
ChildTermination
AE could not terminate a linked child process.
Recorder
AD’s single Recorder path could not record the event.
Trait Implementations§
Source§impl Clone for EngineSeamError
impl Clone for EngineSeamError
Source§fn clone(&self) -> EngineSeamError
fn clone(&self) -> EngineSeamError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EngineSeamError
impl Debug for EngineSeamError
Source§impl Display for EngineSeamError
impl Display for EngineSeamError
impl Eq for EngineSeamError
Source§impl Error for EngineSeamError
impl Error for EngineSeamError
1.30.0 · 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<EngineSeamError> for ChildWorkflowError
impl From<EngineSeamError> for ChildWorkflowError
Source§fn from(source: EngineSeamError) -> Self
fn from(source: EngineSeamError) -> Self
Converts to this type from the input type.
Source§impl From<EngineSeamError> for QueryError
impl From<EngineSeamError> for QueryError
Source§fn from(source: EngineSeamError) -> Self
fn from(source: EngineSeamError) -> Self
Converts to this type from the input type.
Source§impl From<EngineSeamError> for TimerServiceError
impl From<EngineSeamError> for TimerServiceError
Source§fn from(source: EngineSeamError) -> Self
fn from(source: EngineSeamError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for EngineSeamError
impl PartialEq for EngineSeamError
impl StructuralPartialEq for EngineSeamError
Auto Trait Implementations§
impl Freeze for EngineSeamError
impl RefUnwindSafe for EngineSeamError
impl Send for EngineSeamError
impl Sync for EngineSeamError
impl Unpin for EngineSeamError
impl UnsafeUnpin for EngineSeamError
impl UnwindSafe for EngineSeamError
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.