pub trait VibeNamespaceProvider: Sync {
// Required methods
fn descriptor(&self) -> &'static ProviderDescriptor;
fn static_ontology_nquins(&self) -> &'static [NQuin48];
fn call(
&self,
stable_id: StableFuncId,
inputs: &[BorrowedSliceView<'_>],
output: &mut CallerOutputSlice<'_>,
) -> Result<u64, VibeTrap>;
}Expand description
Trait implemented by zero-heap VibeScript extension providers (crates/vibe, etalon, qualia-core-db).
Required Methods§
Sourcefn descriptor(&self) -> &'static ProviderDescriptor
fn descriptor(&self) -> &'static ProviderDescriptor
Returns the provider’s static metadata and function catalog.
Sourcefn static_ontology_nquins(&self) -> &'static [NQuin48]
fn static_ontology_nquins(&self) -> &'static [NQuin48]
Returns the provider’s static, compile-time sealed NQuin48 ontology triples.
Sourcefn call(
&self,
stable_id: StableFuncId,
inputs: &[BorrowedSliceView<'_>],
output: &mut CallerOutputSlice<'_>,
) -> Result<u64, VibeTrap>
fn call( &self, stable_id: StableFuncId, inputs: &[BorrowedSliceView<'_>], output: &mut CallerOutputSlice<'_>, ) -> Result<u64, VibeTrap>
Executes the function identified by stable_id using caller-supplied input/output slices.
Returns the number of logical ticks consumed on success, or a deterministic VibeTrap.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".