pub fn erase_result<P: PluginPayload>(
result: PluginResult<P>,
) -> Box<dyn Any + Send + Sync>Expand description
Convert a typed PluginResult<P> into ErasedResultFields.
Called by TypedHandlerAdapter to bridge between the typed
result and the executor’s type-erased dispatch.