pub struct BootstrapInput<'a> {
pub target: &'a str,
pub inputs: &'a [(&'a str, &'a [u8])],
}Expand description
Host-supplied bootstrap input staging request — borrowed shape.
The host hands the engine a target name plus an ordered
(input_name, value_bytes) slice; the engine validates against the
target’s declared formal input ports and runs the Principle 1a copy
(cap-check → try_reserve_exact → extend_from_slice) so the
caller’s borrowed buffers can drop the moment
crate::node::Node::run_bootstrap returns.
Fields§
§target: &'a strTarget function name. Must match an entry in the engine’s
install_order queue (i.e. a Module whose bootstrap
FunctionProto landed via install_function_library).
inputs: &'a [(&'a str, &'a [u8])]Ordered (input_name, value_bytes) pairs. Validated against
the target’s declared input formals; missing required inputs
surface as BootstrapError::MissingInput and unknown ones as
BootstrapError::UnknownInput before any staging happens.