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
A timer-wheel operation was refused: arming, disarming, or — since the wheel gained a stand-down latch — the durable append that a fire or a cancellation would otherwise have made after this engine’s wheel was torn down.
That third case is not an arm or a disarm and is the reason this doc no
longer says it is. Callers that need to tell an orderly stand-down from a
genuine wheel fault classify on this variant
(crate::runtime::nif_timer_fire::is_wheel_teardown); the reason
string says which of the three happened, in words that are true of that
one — a refused cancel does not claim anything fired.
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
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
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)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
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
Source§impl From<EngineSeamError> for QueryError
impl From<EngineSeamError> for QueryError
Source§fn from(source: EngineSeamError) -> Self
fn from(source: EngineSeamError) -> Self
Source§impl From<EngineSeamError> for TimerServiceError
impl From<EngineSeamError> for TimerServiceError
Source§fn from(source: EngineSeamError) -> Self
fn from(source: EngineSeamError) -> Self
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
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
key and return true if they are equal.