pub trait SkillSource:
Send
+ Sync
+ Debug {
// Required method
fn attach<'a>(
&'a self,
names: &'a [String],
) -> BoxFuture<'a, Result<AttachedSkills, SkillError>>;
}Expand description
A source of installed skills.
Required Methods§
Sourcefn attach<'a>(
&'a self,
names: &'a [String],
) -> BoxFuture<'a, Result<AttachedSkills, SkillError>>
fn attach<'a>( &'a self, names: &'a [String], ) -> BoxFuture<'a, Result<AttachedSkills, SkillError>>
Resolve names for one run.
A disabled skill is left out without an error. A name that is not installed is an error, so a typo never runs an agent without the skill its author expected.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".