pub struct SkillExecutionError {
pub kind: SkillFailureKind,
pub message: String,
}Fields§
§kind: SkillFailureKind§message: StringImplementations§
Source§impl SkillExecutionError
impl SkillExecutionError
pub fn new(kind: SkillFailureKind, message: impl Into<String>) -> Self
Trait Implementations§
Source§impl Clone for SkillExecutionError
impl Clone for SkillExecutionError
Source§fn clone(&self) -> SkillExecutionError
fn clone(&self) -> SkillExecutionError
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 SkillExecutionError
impl Debug for SkillExecutionError
Source§impl Display for SkillExecutionError
impl Display for SkillExecutionError
Source§impl Error for SkillExecutionError
impl Error for SkillExecutionError
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 PartialEq for SkillExecutionError
impl PartialEq for SkillExecutionError
Source§fn eq(&self, other: &SkillExecutionError) -> bool
fn eq(&self, other: &SkillExecutionError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SkillExecutionError
Auto Trait Implementations§
impl Freeze for SkillExecutionError
impl RefUnwindSafe for SkillExecutionError
impl Send for SkillExecutionError
impl Sync for SkillExecutionError
impl Unpin for SkillExecutionError
impl UnsafeUnpin for SkillExecutionError
impl UnwindSafe for SkillExecutionError
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