pub struct EmbeddedSkillSource;Expand description
Source that reads skills embedded into the binary at build time.
Implementations§
Trait Implementations§
Source§impl Clone for EmbeddedSkillSource
impl Clone for EmbeddedSkillSource
Source§fn clone(&self) -> EmbeddedSkillSource
fn clone(&self) -> EmbeddedSkillSource
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 Default for EmbeddedSkillSource
impl Default for EmbeddedSkillSource
Source§fn default() -> EmbeddedSkillSource
fn default() -> EmbeddedSkillSource
Returns the “default value” for a type. Read more
Source§impl SkillSource for EmbeddedSkillSource
impl SkillSource for EmbeddedSkillSource
Source§fn name(&self) -> &'static str
fn name(&self) -> &'static str
Short identifier for this source (“embedded”, “marketplace”, …).
Used in error messages and in
devboy skills list --source ….Source§fn list<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Vec<SkillSummary>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn list<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Vec<SkillSummary>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
List all skills known to this source. Order is source-defined;
callers should sort if they need a deterministic display.
Auto Trait Implementations§
impl Freeze for EmbeddedSkillSource
impl RefUnwindSafe for EmbeddedSkillSource
impl Send for EmbeddedSkillSource
impl Sync for EmbeddedSkillSource
impl Unpin for EmbeddedSkillSource
impl UnsafeUnpin for EmbeddedSkillSource
impl UnwindSafe for EmbeddedSkillSource
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