use ;
/// Result of invoking a callable through a protected boundary.
///
/// Protected calls turn ordinary kernel call failures into language-neutral
/// raised values supplied by the caller's error mapper.
/// Calls `function` and maps kernel errors into a returned protected outcome.
///
/// The kernel callable surface returns one value per call. The protected result
/// stores successful values in a vector so language layers with multi-value
/// returns can reuse the same outcome type at their boundary.