pub struct AgentSkillError { /* private fields */ }Expand description
Error returned when rendering a single agent capability view fails.
Implementations§
Source§impl AgentSkillError
impl AgentSkillError
Sourcepub fn new(message: impl Into<String>) -> Self
pub fn new(message: impl Into<String>) -> Self
Create a new AgentSkillError.
Trait Implementations§
Source§impl Clone for AgentSkillError
impl Clone for AgentSkillError
Source§fn clone(&self) -> AgentSkillError
fn clone(&self) -> AgentSkillError
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 AgentSkillError
impl Debug for AgentSkillError
Source§impl Display for AgentSkillError
impl Display for AgentSkillError
Source§impl Error for AgentSkillError
impl Error for AgentSkillError
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 AgentSkillError
impl PartialEq for AgentSkillError
impl Eq for AgentSkillError
impl StructuralPartialEq for AgentSkillError
Auto Trait Implementations§
impl Freeze for AgentSkillError
impl RefUnwindSafe for AgentSkillError
impl Send for AgentSkillError
impl Sync for AgentSkillError
impl Unpin for AgentSkillError
impl UnsafeUnpin for AgentSkillError
impl UnwindSafe for AgentSkillError
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