pub struct KernelRegistry { /* private fields */ }Implementations§
Source§impl KernelRegistry
impl KernelRegistry
Sourcepub fn descriptor(&self, node_type: &NodeTypeRef) -> Option<&NodeDescriptor>
pub fn descriptor(&self, node_type: &NodeTypeRef) -> Option<&NodeDescriptor>
Return exact normalized semantic contract trusted by this registry.
Product runtimes use this after compilation to ensure live policy grants are required by the semantic node they authorize.
pub fn register_descriptor( &mut self, descriptor: NodeDescriptor, ) -> Result<(), CompileError>
pub fn register_subgraph( &mut self, schema: SubgraphSchema, ) -> Result<(), CompileError>
pub fn register_kernel( &mut self, kernel: KernelDescriptor, ) -> Result<(), CompileError>
Sourcepub fn materialize_subgraph(
&self,
instance: &NodeInstance,
) -> Result<MaterializedSubgraph, CompileError>
pub fn materialize_subgraph( &self, instance: &NodeInstance, ) -> Result<MaterializedSubgraph, CompileError>
Apply one outer node instance’s canonical configuration to its declared inner DAG. This is an explicit reference graph, not physical inlining: callers compile it normally with fusion enabled or disabled.
Decode an untrusted physical plan, bind it to a trusted realm/PlanId, and verify every executable step against this registry before use.
Trait Implementations§
Source§impl Clone for KernelRegistry
impl Clone for KernelRegistry
Source§fn clone(&self) -> KernelRegistry
fn clone(&self) -> KernelRegistry
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 Debug for KernelRegistry
impl Debug for KernelRegistry
Source§impl Default for KernelRegistry
impl Default for KernelRegistry
Source§fn default() -> KernelRegistry
fn default() -> KernelRegistry
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for KernelRegistry
impl RefUnwindSafe for KernelRegistry
impl Send for KernelRegistry
impl Sync for KernelRegistry
impl Unpin for KernelRegistry
impl UnsafeUnpin for KernelRegistry
impl UnwindSafe for KernelRegistry
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