pub enum ActionError {
ActionNotFound(String),
InvalidState(String),
ExecutionFailed(String),
ParameterOutOfRange(ParamRangeError),
}Expand description
Action execution error
Variants§
ActionNotFound(String)
Action ID not found in registry
InvalidState(String)
Invalid state for action execution
ExecutionFailed(String)
Action execution failed
ParameterOutOfRange(ParamRangeError)
Parameter value out of valid range
Trait Implementations§
Source§impl Clone for ActionError
impl Clone for ActionError
Source§fn clone(&self) -> ActionError
fn clone(&self) -> ActionError
Returns a duplicate of the value. Read more
1.0.0 · 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 ActionError
impl Debug for ActionError
Source§impl Display for ActionError
impl Display for ActionError
Source§impl Error for ActionError
impl Error for ActionError
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()
Auto Trait Implementations§
impl Freeze for ActionError
impl RefUnwindSafe for ActionError
impl Send for ActionError
impl Sync for ActionError
impl Unpin for ActionError
impl UnwindSafe for ActionError
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