pub struct ActiveExtensions { /* private fields */ }Expand description
The dependency-first extensions active for one repository configuration.
Implementations§
Source§impl ActiveExtensions
impl ActiveExtensions
pub fn extensions(&self) -> &[Arc<dyn KnowledgeBaseExtension>]
Sourcepub fn validators(
&self,
bindings: &ResolvedBindings,
) -> Result<Vec<Arc<dyn KnowledgeBaseValidator>>, FrameworkError>
pub fn validators( &self, bindings: &ResolvedBindings, ) -> Result<Vec<Arc<dyn KnowledgeBaseValidator>>, FrameworkError>
Constructs every active extension validator in dependency-first order.
Sourcepub fn resolve_bindings(
&self,
declared: BTreeMap<BindingReference, BindingValue>,
) -> Result<ResolvedBindings, FrameworkError>
pub fn resolve_bindings( &self, declared: BTreeMap<BindingReference, BindingValue>, ) -> Result<ResolvedBindings, FrameworkError>
Verifies that every active declared binding has a value of its declared kind.
Auto Trait Implementations§
impl !RefUnwindSafe for ActiveExtensions
impl !UnwindSafe for ActiveExtensions
impl Freeze for ActiveExtensions
impl Send for ActiveExtensions
impl Sync for ActiveExtensions
impl Unpin for ActiveExtensions
impl UnsafeUnpin for ActiveExtensions
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