pub struct CompositeSkillRegistry { /* private fields */ }Implementations§
Source§impl CompositeSkillRegistry
impl CompositeSkillRegistry
pub fn try_new( regs: impl IntoIterator<Item = Arc<dyn SkillRegistry>>, ) -> Result<CompositeSkillRegistry, SkillRegistryError>
Trait Implementations§
Source§impl Clone for CompositeSkillRegistry
impl Clone for CompositeSkillRegistry
Source§fn clone(&self) -> CompositeSkillRegistry
fn clone(&self) -> CompositeSkillRegistry
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 CompositeSkillRegistry
impl Debug for CompositeSkillRegistry
Source§impl Default for CompositeSkillRegistry
impl Default for CompositeSkillRegistry
Source§fn default() -> CompositeSkillRegistry
fn default() -> CompositeSkillRegistry
Returns the “default value” for a type. Read more
Source§impl SkillRegistry for CompositeSkillRegistry
impl SkillRegistry for CompositeSkillRegistry
fn len(&self) -> usize
fn get(&self, id: &str) -> Option<Arc<dyn Skill>>
fn ids(&self) -> Vec<String>
fn snapshot(&self) -> HashMap<String, Arc<dyn Skill>>
fn start_periodic_refresh( &self, interval: Duration, ) -> Result<(), SkillRegistryManagerError>
fn stop_periodic_refresh(&self) -> bool
fn periodic_refresh_running(&self) -> bool
fn is_empty(&self) -> bool
Auto Trait Implementations§
impl Freeze for CompositeSkillRegistry
impl !RefUnwindSafe for CompositeSkillRegistry
impl Send for CompositeSkillRegistry
impl Sync for CompositeSkillRegistry
impl Unpin for CompositeSkillRegistry
impl !UnwindSafe for CompositeSkillRegistry
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