pub struct ManifestModuleModule { /* private fields */ }Expand description
system.manifest.module — Full manifest for a single registered module.
Implementations§
Trait Implementations§
Source§impl Module for ManifestModuleModule
impl Module for ManifestModuleModule
Source§fn description(&self) -> &str
fn description(&self) -> &str
Returns a human-readable description of this module.
Source§fn input_schema(&self) -> Value
fn input_schema(&self) -> Value
Returns the JSON Schema describing this module’s input.
Source§fn output_schema(&self) -> Value
fn output_schema(&self) -> Value
Returns the JSON Schema describing this module’s output.
Source§fn execute<'life0, 'life1, 'async_trait>(
&'life0 self,
inputs: Value,
_ctx: &'life1 Context<Value>,
) -> Pin<Box<dyn Future<Output = Result<Value, ModuleError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn execute<'life0, 'life1, 'async_trait>(
&'life0 self,
inputs: Value,
_ctx: &'life1 Context<Value>,
) -> Pin<Box<dyn Future<Output = Result<Value, ModuleError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Execute the module with the given inputs and context.
Source§fn preflight(&self) -> PreflightResult
fn preflight(&self) -> PreflightResult
Run preflight checks before execution.
Source§fn on_suspend(&self) -> Option<Value>
fn on_suspend(&self) -> Option<Value>
Called before hot-reload to capture state. Returns state dict for on_resume().
Default: returns None (no state to preserve).
Auto Trait Implementations§
impl Freeze for ManifestModuleModule
impl !RefUnwindSafe for ManifestModuleModule
impl Send for ManifestModuleModule
impl Sync for ManifestModuleModule
impl Unpin for ManifestModuleModule
impl UnsafeUnpin for ManifestModuleModule
impl !UnwindSafe for ManifestModuleModule
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