pub enum WorkflowExecutionError {
EmptyNodeId {
kind: &'static str,
},
EmptyLeafPrompt {
leaf: String,
},
InvalidLeafProfile {
leaf: String,
profile: String,
},
InvalidLeafRole {
leaf: String,
role: String,
},
DuplicateNodeId {
node: String,
},
UnknownNodeReference {
node: String,
field: &'static str,
reference: String,
},
}Variants§
EmptyNodeId
EmptyLeafPrompt
InvalidLeafProfile
InvalidLeafRole
DuplicateNodeId
UnknownNodeReference
Trait Implementations§
Source§impl Clone for WorkflowExecutionError
impl Clone for WorkflowExecutionError
Source§fn clone(&self) -> WorkflowExecutionError
fn clone(&self) -> WorkflowExecutionError
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 WorkflowExecutionError
impl Debug for WorkflowExecutionError
Source§impl Display for WorkflowExecutionError
impl Display for WorkflowExecutionError
impl Eq for WorkflowExecutionError
Source§impl Error for WorkflowExecutionError
impl Error for WorkflowExecutionError
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<WorkflowExecutionError> for WorkflowReplayError
impl From<WorkflowExecutionError> for WorkflowReplayError
Source§fn from(source: WorkflowExecutionError) -> Self
fn from(source: WorkflowExecutionError) -> Self
Converts to this type from the input type.
Source§impl From<WorkflowExecutionError> for WorkflowFleetLimitError
impl From<WorkflowExecutionError> for WorkflowFleetLimitError
Source§fn from(source: WorkflowExecutionError) -> Self
fn from(source: WorkflowExecutionError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for WorkflowExecutionError
impl PartialEq for WorkflowExecutionError
impl StructuralPartialEq for WorkflowExecutionError
Auto Trait Implementations§
impl Freeze for WorkflowExecutionError
impl RefUnwindSafe for WorkflowExecutionError
impl Send for WorkflowExecutionError
impl Sync for WorkflowExecutionError
impl Unpin for WorkflowExecutionError
impl UnsafeUnpin for WorkflowExecutionError
impl UnwindSafe for WorkflowExecutionError
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