pub fn nested_scan<T, E>( execute_subplan: impl FnOnce() -> Result<Vec<T>, E>, ) -> Result<Vec<T>, E>
Execute a nested subplan scan.
This is a thin wrapper around the provided executor closure.