Files
greptimedb/query/promql/planner/struct.PromPlanner.html
T

704 lines
200 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `PromPlanner` struct in crate `query`."><title>PromPlanner in query::promql::planner - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-MediumItalic-ccf7e434.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2"href="../../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../../../static.files/rustdoc-17e0aaed.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="query" data-themes="" data-resource-suffix="" data-rustdoc-version="1.96.1 (31fca3adb 2026-06-26)" data-channel="1.96.1" data-search-js="search-b5634cc7.js" data-stringdex-js="stringdex-2da4960a.js" data-settings-js="settings-170eb4bf.js" ><script src="../../../static.files/storage-41dd4d93.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../static.files/main-5013f961.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-f7c3ffd8.css"></noscript><link rel="alternate icon" type="image/png" href="../../../static.files/favicon-32x32-eab170b8.png"><link rel="icon" type="image/svg+xml" href="../../../static.files/favicon-044be391.svg"></head><body class="rustdoc struct"><a class="skip-main-content" href="#main-content">Skip to main content</a><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><rustdoc-topbar><h2><a href="#">PromPlanner</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../query/index.html">query</a><span class="version">1.3.0-alpha.1</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Prom<wbr>Planner</a></h2><h3><a href="#fields">Fields</a></h3><ul class="block structfield"><li><a href="#structfield.ctx" title="ctx">ctx</a></li><li><a href="#structfield.promql_annotations" title="promql_annotations">promql_annotations</a></li><li><a href="#structfield.table_provider" title="table_provider">table_provider</a></li></ul><h3><a href="#implementations">Associated Functions</a></h3><ul class="block method"><li><a href="#method.stmt_to_plan" title="stmt_to_plan">stmt_to_plan</a></li><li><a href="#method.stmt_to_plan_with_annotations" title="stmt_to_plan_with_annotations">stmt_to_plan_with_annotations</a></li><li><a href="#method.binary_island_join_contexts_supported" title="binary_island_join_contexts_supported">binary_island_join_contexts_supported</a></li><li><a href="#method.build_binary_island_field_exprs" title="build_binary_island_field_exprs">build_binary_island_field_exprs</a></li><li><a href="#method.matchers_to_expr" title="matchers_to_expr">matchers_to_expr</a></li><li><a href="#method.find_case_sensitive_column" title="find_case_sensitive_column">find_case_sensitive_column</a></li><li><a href="#method.validate_label_name" title="validate_label_name">validate_label_name</a></li><li><a href="#method.build_concat_labels_expr" title="build_concat_labels_expr">build_concat_labels_expr</a></li><li><a href="#method.create_sort_exprs_by_tags" title="create_sort_exprs_by_tags">create_sort_exprs_by_tags</a></li><li><a href="#method.create_numeric_aggregate_expr" title="create_numeric_aggregate_expr">create_numeric_aggregate_expr</a></li><li><a href="#method.mixed_sample_count_column" title="mixed_sample_count_column">mixed_sample_count_column</a></li><li><a href="#method.mixed_sample_count_name" title="mixed_sample_count_name">mixed_sample_count_name</a></li><li><a href="#method.get_param_value_as_str" title="get_param_value_as_str">get_param_value_as_str</a></li><li><a href="#method.get_param_as_literal_expr" title="get_param_as_literal_expr">get_param_as_literal_expr</a></li><li><a href="#method.try_build_literal_expr" title="try_build_literal_expr">try_build_literal_expr</a></li><li><a href="#method.native_histogram_binary_expr" title="native_histogram_binary_expr">native_histogram_binary_expr</a></li><li><a href="#method.prom_token_to_binary_expr_builder" title="prom_token_to_binary_expr_builder">prom_token_to_binary_expr_builder</a></li><li><a href="#method.is_token_a_comparison_op" title="is_token_a_comparison_op">is_token_a_comparison_op</a></li><li><a href="#method.is_token_a_set_op" title="is_token_a_set_op">is_token_a_set_op</a></li><li><a href="#method.align_binary_field_columns" title="align_binary_field_columns">align_binary_field_columns</a></li><li><a href="#method.binary_result_is_histogram" title="binary_result_is_histogram">binary_result_is_histogram</a></li><li><a href="#method.plan_has_tsid_column" title="plan_has_tsid_column">plan_has_tsid_column</a></li><li><a href="#method.is_empty_metric" title="is_empty_metric">is_empty_metric</a></li><li><a href="#method.native_histogram_arrow_type" title="native_histogram_arrow_type">native_histogram_arrow_type</a></li><li><a href="#method.field_column_type" title="field_column_type">field_column_type</a></li><li><a href="#method.field_column_is_native_histogram" title="field_column_is_native_histogram">field_column_is_native_histogram</a></li><li><a href="#method.field_columns_contain_native_histogram" title="field_columns_contain_native_histogram">field_columns_contain_native_histogram</a></li><li><a href="#method.field_column_is_float_range" title="field_column_is_float_range">field_column_is_float_range</a></li><li><a href="#method.field_columns_are_alternative_samples" title="field_columns_are_alternative_samples">field_columns_are_alternative_samples</a></li><li><a href="#method.alternative_sample_columns" title="alternative_sample_columns">alternative_sample_columns</a></li><li><a href="#method.alternative_sample_range_columns" title="alternative_sample_range_columns">alternative_sample_range_columns</a></li><li><a href="#method.field_column_is_native_histogram_range" title="field_column_is_native_histogram_range">field_column_is_native_histogram_range</a></li><li><a href="#method.optional_tsid_projection" title="optional_tsid_projection">optional_tsid_projection</a></li><li><a href="#method.binary_result_labels" title="binary_result_labels">binary_result_labels</a></li><li><a href="#method.binary_result_label_projection" title="binary_result_label_projection">binary_result_label_projection</a></li><li><a href="#method.binary_result_labels_may_repeat" title="binary_result_labels_may_repeat">binary_result_labels_may_repeat</a></li><li><a href="#method.assert_unique_match_group" title="assert_unique_match_group">assert_unique_match_group</a></li><li><a href="#method.assert_unique_one_side" title="assert_unique_one_side">assert_unique_one_side</a></li><li><a href="#method.selected_binary_match_labels" title="selected_binary_match_labels">selected_binary_match_labels</a></li><li><a href="#method.only_temporality_match_label_mismatches" title="only_temporality_match_label_mismatches">only_temporality_match_label_mismatches</a></li><li><a href="#method.align_temporality_match_column" title="align_temporality_match_column">align_temporality_match_column</a></li><li><a href="#method.normalized_match_key_expr" title="normalized_match_key_expr">normalized_match_key_expr</a></li><li><a href="#method.is_zero_row_empty_relation" title="is_zero_row_empty_relation">is_zero_row_empty_relation</a></li><li><a href="#method.string_value_data_type" title="string_value_data_type">string_value_data_type</a></li><li><a href="#method.string_scalar_value" title="string_scalar_value">string_scalar_value</a></li><li><a href="#method.common_label_data_type" title="common_label_data_type">common_label_data_type</a></li></ul><h3><a href="#implementations">Methods</a></h3><ul class="block method"><li><a href="#method.agg_modifier_to_col" title="agg_modifier_to_col">agg_modifier_to_col</a></li><li><a href="#method.all_field_columns_are_native_histogram_ranges" title="all_field_columns_are_native_histogram_ranges">all_field_columns_are_native_histogram_ranges</a></li><li><a href="#method.all_field_columns_are_native_histograms" title="all_field_columns_are_native_histograms">all_field_columns_are_native_histograms</a></li><li><a href="#method.apply_alias" title="apply_alias">apply_alias</a></li><li><a href="#method.binary_join_key_columns" title="binary_join_key_columns">binary_join_key_columns</a></li><li><a href="#method.binary_modifier_preserves_tsid_join_key" title="binary_modifier_preserves_tsid_join_key">binary_modifier_preserves_tsid_join_key</a></li><li><a href="#method.build_regexp_replace_label_expr" title="build_regexp_replace_label_expr">build_regexp_replace_label_expr</a></li><li><a href="#method.build_time_index_filter" title="build_time_index_filter">build_time_index_filter</a></li><li><a href="#method.collect_row_key_tag_columns_from_plan" title="collect_row_key_tag_columns_from_plan">collect_row_key_tag_columns_from_plan</a></li><li><a href="#method.create_absent_plan" title="create_absent_plan">create_absent_plan</a></li><li><a href="#method.create_aggregate_exprs" title="create_aggregate_exprs">create_aggregate_exprs</a></li><li><a href="#method.create_empty_values_filter_expr" title="create_empty_values_filter_expr">create_empty_values_filter_expr</a></li><li><a href="#method.create_field_column_exprs" title="create_field_column_exprs">create_field_column_exprs</a></li><li><a href="#method.create_field_columns_sort_exprs" title="create_field_columns_sort_exprs">create_field_columns_sort_exprs</a></li><li><a href="#method.create_function_args" title="create_function_args">create_function_args</a></li><li><a href="#method.create_function_expr" title="create_function_expr">create_function_expr</a></li><li><a href="#method.create_histogram_plan" title="create_histogram_plan">create_histogram_plan</a></li><li><a href="#method.create_mixed_aggregate_exprs" title="create_mixed_aggregate_exprs">create_mixed_aggregate_exprs</a></li><li><a href="#method.create_mixed_histogram_plan" title="create_mixed_histogram_plan">create_mixed_histogram_plan</a></li><li><a href="#method.create_mixed_range_function_exprs" title="create_mixed_range_function_exprs">create_mixed_range_function_exprs</a></li><li><a href="#method.create_native_histogram_aggregate_expr" title="create_native_histogram_aggregate_expr">create_native_histogram_aggregate_expr</a></li><li><a href="#method.create_native_histogram_aggregate_exprs" title="create_native_histogram_aggregate_exprs">create_native_histogram_aggregate_exprs</a></li><li><a href="#method.create_native_histogram_expr" title="create_native_histogram_expr">create_native_histogram_expr</a></li><li><a href="#method.create_native_histogram_plan" title="create_native_histogram_plan">create_native_histogram_plan</a></li><li><a href="#method.create_scalar_plan" title="create_scalar_plan">create_scalar_plan</a></li><li><a href="#method.create_table_scan_plan" title="create_table_scan_plan">create_table_scan_plan</a></li><li><a href="#method.create_tag_and_time_index_column_sort_exprs" title="create_tag_and_time_index_column_sort_exprs">create_tag_and_time_index_column_sort_exprs</a></li><li><a href="#method.create_tag_column_exprs" title="create_tag_column_exprs">create_tag_column_exprs</a></li><li><a href="#method.create_time_index_column_expr" title="create_time_index_column_expr">create_time_index_column_expr</a></li><li><a href="#method.create_timestamp_func_plan" title="create_timestamp_func_plan">create_timestamp_func_plan</a></li><li><a href="#method.create_vector_plan" title="create_vector_plan">create_vector_plan</a></li><li><a href="#method.create_window_exprs" title="create_window_exprs">create_window_exprs</a></li><li><a href="#method.date_part_on_time_index" title="date_part_on_time_index">date_part_on_time_index</a></li><li><a href="#method.filter_binary_projection" title="filter_binary_projection">filter_binary_projection</a></li><li><a href="#method.filter_on_field_column" title="filter_on_field_column">filter_on_field_column</a></li><li><a href="#method.join_binary_island_leaf" title="join_binary_island_leaf">join_binary_island_leaf</a></li><li><a href="#method.join_on_non_field_columns" title="join_on_non_field_columns">join_on_non_field_columns</a></li><li><a href="#method.mixed_aggregate_filter_expr" title="mixed_aggregate_filter_expr">mixed_aggregate_filter_expr</a></li><li><a href="#method.mixed_ignored_histogram_filter_expr" title="mixed_ignored_histogram_filter_expr">mixed_ignored_histogram_filter_expr</a></li><li><a href="#method.negate_field_columns" title="negate_field_columns">negate_field_columns</a></li><li><a href="#method.or_operator" title="or_operator">or_operator</a></li><li><a href="#method.preprocess_label_matchers" title="preprocess_label_matchers">preprocess_label_matchers</a></li><li><a href="#method.project_binary_island" title="project_binary_island">project_binary_island</a></li><li><a href="#method.project_binary_join_side" title="project_binary_join_side">project_binary_join_side</a></li><li><a href="#method.projection_for_each_field_column" title="projection_for_each_field_column">projection_for_each_field_column</a></li><li><a href="#method.projection_for_each_field_column_with_labels" title="projection_for_each_field_column_with_labels">projection_for_each_field_column_with_labels</a></li><li><a href="#method.prom_aggr_expr_to_plan" title="prom_aggr_expr_to_plan">prom_aggr_expr_to_plan</a></li><li><a href="#method.prom_binary_expr_to_plan" title="prom_binary_expr_to_plan">prom_binary_expr_to_plan</a></li><li><a href="#method.prom_call_expr_to_plan" title="prom_call_expr_to_plan">prom_call_expr_to_plan</a></li><li><a href="#method.prom_expr_to_plan" title="prom_expr_to_plan">prom_expr_to_plan</a></li><li><a href="#method.prom_expr_to_plan_inner" title="prom_expr_to_plan_inner">prom_expr_to_plan_inner</a></li><li><a href="#method.prom_ext_expr_to_plan" title="prom_ext_expr_to_plan">prom_ext_expr_to_plan</a></li><li><a href="#method.prom_matrix_selector_to_plan" title="prom_matrix_selector_to_plan">prom_matrix_selector_to_plan</a></li><li><a href="#method.prom_number_lit_to_plan" title="prom_number_lit_to_plan">prom_number_lit_to_plan</a></li><li><a href="#method.prom_string_lit_to_plan" title="prom_string_lit_to_plan">prom_string_lit_to_plan</a></li><li><a href="#method.prom_subquery_expr_to_plan" title="prom_subquery_expr_to_plan">prom_subquery_expr_to_plan</a></li><li><a href="#method.prom_topk_bottomk_to_plan" title="prom_topk_bottomk_to_plan">prom_topk_bottomk_to_plan</a></li><li><a href="#method.prom_unary_expr_to_plan" title="prom_unary_expr_to_plan">prom_unary_expr_to_plan</a></li><li><a href="#method.prom_vector_selector_to_plan" title="prom_vector_selector_to_plan">prom_vector_selector_to_plan</a></li><li><a href="#method.select_delta_range_math" title="select_delta_range_math">select_delta_range_math</a></li><li><a href="#method.selector_to_series_normalize_plan" title="selector_to_series_normalize_plan">selector_to_series_normalize_plan</a></li><li><a href="#method.set_op_on_non_field_columns" title="set_op_on_non_field_columns">set_op_on_non_field_columns</a></li><li><a href="#method.setup_context" title="setup_context">setup_context</a></li><li><a href="#method.setup_context_for_empty_metric" title="setup_context_for_empty_metric">setup_context_for_empty_metric</a></li><li><a href="#method.strip_tsid_column" title="strip_tsid_column">strip_tsid_column</a></li><li><a href="#method.table_from_source" title="table_from_source">table_from_source</a></li><li><a href="#method.table_ref" title="table_ref">table_ref</a></li><li><a href="#method.try_build_special_time_expr_with_context" title="try_build_special_time_expr_with_context">try_build_special_time_expr_with_context</a></li><li><a href="#method.try_plan_binary_island" title="try_plan_binary_island">try_plan_binary_island</a></li></ul><h3><a href="#synthetic-implementations">Auto Trait Implementations</a></h3><ul class="block synthetic-implementation"><li><a href="#impl-RefUnwindSafe-for-PromPlanner" title="!RefUnwindSafe">!RefUnwindSafe</a></li><li><a href="#impl-UnwindSafe-for-PromPlanner" title="!UnwindSafe">!UnwindSafe</a></li><li><a href="#impl-Freeze-for-PromPlanner" title="Freeze">Freeze</a></li><li><a href="#impl-Send-for-PromPlanner" title="Send">Send</a></li><li><a href="#impl-Sync-for-PromPlanner" title="Sync">Sync</a></li><li><a href="#impl-Unpin-for-PromPlanner" title="Unpin">Unpin</a></li><li><a href="#impl-UnsafeUnpin-for-PromPlanner" title="UnsafeUnpin">UnsafeUnpin</a></li></ul><h3><a href="#blanket-implementations">Blanket Implementations</a></h3><ul class="block blanket-implementation"><li><a href="#impl-Any-for-T" title="Any">Any</a></li><li><a href="#impl-Any-for-T-1" title="Any">Any</a></li><li><a href="#impl-Borrow%3CT%3E-for-T" title="Borrow&#60;T&#62;">Borrow&#60;T&#62;</a></li><li><a href="#impl-BorrowMut%3CT%3E-for-T" title="BorrowMut&#60;T&#62;">BorrowMut&#60;T&#62;</a></li><li><a href="#impl-Conv-for-T" title="Conv">Conv</a></li><li><a href="#impl-ErasedDestructor-for-T" title="ErasedDestructor">ErasedDestructor</a></li><li><a href="#impl-FmtForward-for-T" title="FmtForward">FmtForward</a></li><li><a href="#impl-From%3CT%3E-for-T" title="From&#60;T&#62;">From&#60;T&#62;</a></li><li><a href="#impl-FutureExt-for-T" title="FutureExt">FutureExt</a></li><li><a href="#impl-Instrument-for-T" title="Instrument">Instrument</a></li><li><a href="#impl-Into%3CU%3E-for-T" title="Into&#60;U&#62;">Into&#60;U&#62;</a></li><li><a href="#impl-IntoEither-for-T" title="IntoEither">IntoEither</a></li><li><a href="#impl-IntoRequest%3CT%3E-for-T" title="IntoRequest&#60;T&#62;">IntoRequest&#60;T&#62;</a></li><li><a href="#impl-LayerExt%3CL%3E-for-L" title="LayerExt&#60;L&#62;">LayerExt&#60;L&#62;</a></li><li><a href="#impl-MaybeSend-for-T" title="MaybeSend">MaybeSend</a></li><li><a href="#impl-MaybeSend-for-T-1" title="MaybeSend">MaybeSend</a></li><li><a href="#impl-Pipe-for-T" title="Pipe">Pipe</a></li><li><a href="#impl-Pointable-for-T" title="Pointable">Pointable</a></li><li><a href="#impl-PolicyExt-for-T" title="PolicyExt">PolicyExt</a></li><li><a href="#impl-Same-for-T" title="Same">Same</a></li><li><a href="#impl-ServiceExt-for-T" title="ServiceExt">ServiceExt</a></li><li><a href="#impl-SupersetOf%3CSS%3E-for-SP" title="SupersetOf&#60;SS&#62;">SupersetOf&#60;SS&#62;</a></li><li><a href="#impl-Tap-for-T" title="Tap">Tap</a></li><li><a href="#impl-TryConv-for-T" title="TryConv">TryConv</a></li><li><a href="#impl-TryFrom%3CU%3E-for-T" title="TryFrom&#60;U&#62;">TryFrom&#60;U&#62;</a></li><li><a href="#impl-TryInto%3CU%3E-for-T" title="TryInto&#60;U&#62;">TryInto&#60;U&#62;</a></li><li><a href="#impl-VZip%3CV%3E-for-T" title="VZip&#60;V&#62;">VZip&#60;V&#62;</a></li><li><a href="#impl-WithSubscriber-for-T" title="WithSubscriber">WithSubscriber</a></li><li><a href="#impl-Within%3CG2%3E-for-G1" title="Within&#60;G2&#62;">Within&#60;G2&#62;</a></li></ul></section><div id="rustdoc-modnav"><h2><a href="index.html">In query::<wbr>promql::<wbr>planner</a></h2></div></div></nav><div class="sidebar-resizer" title="Drag to resize sidebar"></div><main><div class="width-limiter"><section id="main-content" class="content" tabindex="-1"><div class="main-heading"><div class="rustdoc-breadcrumbs"><a href="../../index.html">query</a>::<wbr><a href="../index.html">promql</a>::<wbr><a href="index.html">planner</a></div><h1>Struct <span class="struct">Prom<wbr>Planner</span>&nbsp;<button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../../../src/query/promql/planner.rs.html#439-444">Source</a> </span></div><pre class="rust item-decl"><code>pub struct PromPlanner {
table_provider: DfTableSourceProvider,
ctx: <a class="struct" href="struct.PromPlannerContext.html" title="struct query::promql::planner::PromPlannerContext">PromPlannerContext</a>,
promql_annotations: <a class="enum" href="https://doc.rust-lang.org/1.96.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;PromqlAnnotationCollector&gt;,
}</code></pre><h2 id="fields" class="fields section-header">Fields<a href="#fields" class="anchor">§</a></h2><span id="structfield.table_provider" class="structfield section-header"><a href="#structfield.table_provider" class="anchor field">§</a><code>table_provider: DfTableSourceProvider</code></span><span id="structfield.ctx" class="structfield section-header"><a href="#structfield.ctx" class="anchor field">§</a><code>ctx: <a class="struct" href="struct.PromPlannerContext.html" title="struct query::promql::planner::PromPlannerContext">PromPlannerContext</a></code></span><span id="structfield.promql_annotations" class="structfield section-header"><a href="#structfield.promql_annotations" class="anchor field">§</a><code>promql_annotations: <a class="enum" href="https://doc.rust-lang.org/1.96.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;PromqlAnnotationCollector&gt;</code></span><div class="docblock"><p>Optional collector passed to native histogram UDFs.</p>
</div><h2 id="implementations" class="section-header">Implementations<a href="#implementations" class="anchor">§</a></h2><div id="implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-PromPlanner" class="impl"><a class="src rightside" href="../../../src/query/promql/planner.rs.html#448-7666">Source</a><a href="#impl-PromPlanner" class="anchor">§</a><h3 class="code-header">impl <a class="struct" href="struct.PromPlanner.html" title="struct query::promql::planner::PromPlanner">PromPlanner</a></h3></section></summary><div class="impl-items"><section id="method.stmt_to_plan" class="method"><a class="src rightside" href="../../../src/query/promql/planner.rs.html#449-455">Source</a><h4 class="code-header">pub async fn <a href="#method.stmt_to_plan" class="fn">stmt_to_plan</a>(
table_provider: DfTableSourceProvider,
stmt: &amp;EvalStmt,
query_engine_state: &amp;<a class="struct" href="../../query_engine/struct.QueryEngineState.html" title="struct query::query_engine::QueryEngineState">QueryEngineState</a>,
) -&gt; <a class="type" href="../error/type.Result.html" title="type query::promql::error::Result">Result</a>&lt;LogicalPlan&gt;</h4></section><details class="toggle method-toggle" open><summary><section id="method.stmt_to_plan_with_annotations" class="method"><a class="src rightside" href="../../../src/query/promql/planner.rs.html#458-476">Source</a><h4 class="code-header">pub async fn <a href="#method.stmt_to_plan_with_annotations" class="fn">stmt_to_plan_with_annotations</a>(
table_provider: DfTableSourceProvider,
stmt: &amp;EvalStmt,
query_engine_state: &amp;<a class="struct" href="../../query_engine/struct.QueryEngineState.html" title="struct query::query_engine::QueryEngineState">QueryEngineState</a>,
promql_annotations: <a class="enum" href="https://doc.rust-lang.org/1.96.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;PromqlAnnotationCollector&gt;,
) -&gt; <a class="type" href="../error/type.Result.html" title="type query::promql::error::Result">Result</a>&lt;LogicalPlan&gt;</h4></section></summary><div class="docblock"><p>Plans a PromQL statement and passes the optional collector to histogram UDFs.</p>
</div></details><section id="method.prom_expr_to_plan" class="method"><a class="src rightside" href="../../../src/query/promql/planner.rs.html#478-485">Source</a><h4 class="code-header">pub async fn <a href="#method.prom_expr_to_plan" class="fn">prom_expr_to_plan</a>(
&amp;mut self,
prom_expr: &amp;PromExpr,
query_engine_state: &amp;<a class="struct" href="../../query_engine/struct.QueryEngineState.html" title="struct query::query_engine::QueryEngineState">QueryEngineState</a>,
) -&gt; <a class="type" href="../error/type.Result.html" title="type query::promql::error::Result">Result</a>&lt;LogicalPlan&gt;</h4></section><details class="toggle method-toggle" open><summary><section id="method.prom_expr_to_plan_inner" class="method"><a class="src rightside" href="../../../src/query/promql/planner.rs.html#497-543">Source</a><h4 class="code-header">fn <a href="#method.prom_expr_to_plan_inner" class="fn">prom_expr_to_plan_inner</a>&lt;'life0, 'life1, 'life_self, 'async_recursion&gt;(
&amp;'life_self mut self,
prom_expr: &amp;'life0 PromExpr,
timestamp_fn: <a class="primitive" href="https://doc.rust-lang.org/1.96.1/std/primitive.bool.html">bool</a>,
query_engine_state: &amp;'life1 <a class="struct" href="../../query_engine/struct.QueryEngineState.html" title="struct query::query_engine::QueryEngineState">QueryEngineState</a>,
) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.96.1/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.96.1/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.96.1/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="type" href="../error/type.Result.html" title="type query::promql::error::Result">Result</a>&lt;LogicalPlan&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/1.96.1/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_recursion&gt;&gt;<div class="where">where
'life0: 'async_recursion,
'life1: 'async_recursion,
'life_self: 'async_recursion,</div></h4></section></summary><div class="docblock"><p>Converts a PromQL expression to a logical plan.</p>
<p>NOTE:
The <code>timestamp_fn</code> indicates whether the PromQL <code>timestamp()</code> function is being evaluated in the current context.
If <code>true</code>, the planner generates a logical plan that projects the timestamp (time index) column
as the value column for each input row, implementing the PromQL <code>timestamp()</code> function semantics.
If <code>false</code>, the planner generates the standard logical plan for the given PromQL expression.</p>
</div></details><section id="method.prom_subquery_expr_to_plan" class="method"><a class="src rightside" href="../../../src/query/promql/planner.rs.html#545-640">Source</a><h4 class="code-header">async fn <a href="#method.prom_subquery_expr_to_plan" class="fn">prom_subquery_expr_to_plan</a>(
&amp;mut self,
query_engine_state: &amp;<a class="struct" href="../../query_engine/struct.QueryEngineState.html" title="struct query::query_engine::QueryEngineState">QueryEngineState</a>,
subquery_expr: &amp;SubqueryExpr,
) -&gt; <a class="type" href="../error/type.Result.html" title="type query::promql::error::Result">Result</a>&lt;LogicalPlan&gt;</h4></section><section id="method.prom_aggr_expr_to_plan" class="method"><a class="src rightside" href="../../../src/query/promql/planner.rs.html#642-875">Source</a><h4 class="code-header">async fn <a href="#method.prom_aggr_expr_to_plan" class="fn">prom_aggr_expr_to_plan</a>(
&amp;mut self,
query_engine_state: &amp;<a class="struct" href="../../query_engine/struct.QueryEngineState.html" title="struct query::query_engine::QueryEngineState">QueryEngineState</a>,
aggr_expr: &amp;AggregateExpr,
) -&gt; <a class="type" href="../error/type.Result.html" title="type query::promql::error::Result">Result</a>&lt;LogicalPlan&gt;</h4></section><details class="toggle method-toggle" open><summary><section id="method.prom_topk_bottomk_to_plan" class="method"><a class="src rightside" href="../../../src/query/promql/planner.rs.html#878-1015">Source</a><h4 class="code-header">async fn <a href="#method.prom_topk_bottomk_to_plan" class="fn">prom_topk_bottomk_to_plan</a>(
&amp;mut self,
aggr_expr: &amp;AggregateExpr,
input: LogicalPlan,
) -&gt; <a class="type" href="../error/type.Result.html" title="type query::promql::error::Result">Result</a>&lt;LogicalPlan&gt;</h4></section></summary><div class="docblock"><p>Create logical plan for PromQL topk and bottomk expr.</p>
</div></details><section id="method.prom_unary_expr_to_plan" class="method"><a class="src rightside" href="../../../src/query/promql/planner.rs.html#1017-1026">Source</a><h4 class="code-header">async fn <a href="#method.prom_unary_expr_to_plan" class="fn">prom_unary_expr_to_plan</a>(
&amp;mut self,
query_engine_state: &amp;<a class="struct" href="../../query_engine/struct.QueryEngineState.html" title="struct query::query_engine::QueryEngineState">QueryEngineState</a>,
unary_expr: &amp;UnaryExpr,
) -&gt; <a class="type" href="../error/type.Result.html" title="type query::promql::error::Result">Result</a>&lt;LogicalPlan&gt;</h4></section><section id="method.negate_field_columns" class="method"><a class="src rightside" href="../../../src/query/promql/planner.rs.html#1028-1040">Source</a><h4 class="code-header">fn <a href="#method.negate_field_columns" class="fn">negate_field_columns</a>(&amp;mut self, input: LogicalPlan) -&gt; <a class="type" href="../error/type.Result.html" title="type query::promql::error::Result">Result</a>&lt;LogicalPlan&gt;</h4></section><section id="method.try_plan_binary_island" class="method"><a class="src rightside" href="../../../src/query/promql/planner.rs.html#1042-1118">Source</a><h4 class="code-header">async fn <a href="#method.try_plan_binary_island" class="fn">try_plan_binary_island</a>(
&amp;mut self,
binary_expr: &amp;PromBinaryExpr,
) -&gt; <a class="type" href="../error/type.Result.html" title="type query::promql::error::Result">Result</a>&lt;<a class="enum" href="https://doc.rust-lang.org/1.96.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;LogicalPlan&gt;&gt;</h4></section><section id="method.binary_island_join_contexts_supported" class="method"><a class="src rightside" href="../../../src/query/promql/planner.rs.html#1120-1138">Source</a><h4 class="code-header">fn <a href="#method.binary_island_join_contexts_supported" class="fn">binary_island_join_contexts_supported</a>(leaves: &amp;[<a class="struct" href="struct.PlannedIslandLeaf.html" title="struct query::promql::planner::PlannedIslandLeaf">PlannedIslandLeaf</a>]) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.96.1/std/primitive.bool.html">bool</a></h4></section><section id="method.join_binary_island_leaf" class="method"><a class="src rightside" href="../../../src/query/promql/planner.rs.html#1140-1191">Source</a><h4 class="code-header">fn <a href="#method.join_binary_island_leaf" class="fn">join_binary_island_leaf</a>(
&amp;self,
left: LogicalPlan,
first_leaf: &amp;<a class="struct" href="struct.PlannedIslandLeaf.html" title="struct query::promql::planner::PlannedIslandLeaf">PlannedIslandLeaf</a>,
right_leaf: &amp;<a class="struct" href="struct.PlannedIslandLeaf.html" title="struct query::promql::planner::PlannedIslandLeaf">PlannedIslandLeaf</a>,
) -&gt; <a class="type" href="../error/type.Result.html" title="type query::promql::error::Result">Result</a>&lt;LogicalPlan&gt;</h4></section><section id="method.build_binary_island_field_exprs" class="method"><a class="src rightside" href="../../../src/query/promql/planner.rs.html#1193-1316">Source</a><h4 class="code-header">fn <a href="#method.build_binary_island_field_exprs" class="fn">build_binary_island_field_exprs</a>(
expr: &amp;<a class="enum" href="enum.IslandExpr.html" title="enum query::promql::planner::IslandExpr">IslandExpr</a>,
leaves: &amp;[<a class="struct" href="struct.PlannedIslandLeaf.html" title="struct query::promql::planner::PlannedIslandLeaf">PlannedIslandLeaf</a>],
schema: &amp;DFSchemaRef,
) -&gt; <a class="type" href="../error/type.Result.html" title="type query::promql::error::Result">Result</a>&lt;<a class="struct" href="struct.IslandFieldExprs.html" title="struct query::promql::planner::IslandFieldExprs">IslandFieldExprs</a>&gt;</h4></section><section id="method.project_binary_island" class="method"><a class="src rightside" href="../../../src/query/promql/planner.rs.html#1318-1364">Source</a><h4 class="code-header">fn <a href="#method.project_binary_island" class="fn">project_binary_island</a>(
&amp;mut self,
input: LogicalPlan,
base_alias: &amp;TableReference,
base_ctx: &amp;<a class="struct" href="struct.PromPlannerContext.html" title="struct query::promql::planner::PromPlannerContext">PromPlannerContext</a>,
field_exprs: <a class="struct" href="struct.IslandFieldExprs.html" title="struct query::promql::planner::IslandFieldExprs">IslandFieldExprs</a>,
) -&gt; <a class="type" href="../error/type.Result.html" title="type query::promql::error::Result">Result</a>&lt;LogicalPlan&gt;</h4></section><section id="method.prom_binary_expr_to_plan" class="method"><a class="src rightside" href="../../../src/query/promql/planner.rs.html#1366-1895">Source</a><h4 class="code-header">async fn <a href="#method.prom_binary_expr_to_plan" class="fn">prom_binary_expr_to_plan</a>(
&amp;mut self,
query_engine_state: &amp;<a class="struct" href="../../query_engine/struct.QueryEngineState.html" title="struct query::query_engine::QueryEngineState">QueryEngineState</a>,
binary_expr: &amp;PromBinaryExpr,
) -&gt; <a class="type" href="../error/type.Result.html" title="type query::promql::error::Result">Result</a>&lt;LogicalPlan&gt;</h4></section><section id="method.filter_binary_projection" class="method"><a class="src rightside" href="../../../src/query/promql/planner.rs.html#1897-1961">Source</a><h4 class="code-header">fn <a href="#method.filter_binary_projection" class="fn">filter_binary_projection</a>(
&amp;mut self,
input: LogicalPlan,
has_native_histogram: <a class="primitive" href="https://doc.rust-lang.org/1.96.1/std/primitive.bool.html">bool</a>,
preserve_any_value: <a class="primitive" href="https://doc.rust-lang.org/1.96.1/std/primitive.bool.html">bool</a>,
retain_field_columns: <a class="struct" href="https://doc.rust-lang.org/1.96.1/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.96.1/std/primitive.bool.html">bool</a>&gt;,
) -&gt; <a class="type" href="../error/type.Result.html" title="type query::promql::error::Result">Result</a>&lt;LogicalPlan&gt;</h4></section><section id="method.project_binary_join_side" class="method"><a class="src rightside" href="../../../src/query/promql/planner.rs.html#1963-2033">Source</a><h4 class="code-header">fn <a href="#method.project_binary_join_side" class="fn">project_binary_join_side</a>(
&amp;mut self,
input: LogicalPlan,
table_ref: &amp;TableReference,
context: &amp;<a class="struct" href="struct.PromPlannerContext.html" title="struct query::promql::planner::PromPlannerContext">PromPlannerContext</a>,
result_labels: <a class="enum" href="https://doc.rust-lang.org/1.96.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;<a class="struct" href="struct.BinaryResultLabels.html" title="struct query::promql::planner::BinaryResultLabels">BinaryResultLabels</a>&gt;,
) -&gt; <a class="type" href="../error/type.Result.html" title="type query::promql::error::Result">Result</a>&lt;LogicalPlan&gt;</h4></section><section id="method.prom_number_lit_to_plan" class="method"><a class="src rightside" href="../../../src/query/promql/planner.rs.html#2035-2056">Source</a><h4 class="code-header">fn <a href="#method.prom_number_lit_to_plan" class="fn">prom_number_lit_to_plan</a>(
&amp;mut self,
number_literal: &amp;NumberLiteral,
) -&gt; <a class="type" href="../error/type.Result.html" title="type query::promql::error::Result">Result</a>&lt;LogicalPlan&gt;</h4></section><section id="method.prom_string_lit_to_plan" class="method"><a class="src rightside" href="../../../src/query/promql/planner.rs.html#2058-2079">Source</a><h4 class="code-header">fn <a href="#method.prom_string_lit_to_plan" class="fn">prom_string_lit_to_plan</a>(
&amp;mut self,
string_literal: &amp;StringLiteral,
) -&gt; <a class="type" href="../error/type.Result.html" title="type query::promql::error::Result">Result</a>&lt;LogicalPlan&gt;</h4></section><section id="method.prom_vector_selector_to_plan" class="method"><a class="src rightside" href="../../../src/query/promql/planner.rs.html#2081-2208">Source</a><h4 class="code-header">async fn <a href="#method.prom_vector_selector_to_plan" class="fn">prom_vector_selector_to_plan</a>(
&amp;mut self,
vector_selector: &amp;VectorSelector,
timestamp_fn: <a class="primitive" href="https://doc.rust-lang.org/1.96.1/std/primitive.bool.html">bool</a>,
) -&gt; <a class="type" href="../error/type.Result.html" title="type query::promql::error::Result">Result</a>&lt;LogicalPlan&gt;</h4></section><details class="toggle method-toggle" open><summary><section id="method.create_timestamp_func_plan" class="method"><a class="src rightside" href="../../../src/query/promql/planner.rs.html#2232-2249">Source</a><h4 class="code-header">fn <a href="#method.create_timestamp_func_plan" class="fn">create_timestamp_func_plan</a>(
&amp;mut self,
input: LogicalPlan,
timestamp_value_column: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.96.1/std/primitive.str.html">str</a>,
) -&gt; <a class="type" href="../error/type.Result.html" title="type query::promql::error::Result">Result</a>&lt;LogicalPlan&gt;</h4></section></summary><div class="docblock"><p>Builds a projection plan for the PromQL <code>timestamp()</code> function.
Projects the time index column as the value column for each row.</p>
<h5 id="arguments"><a class="doc-anchor" href="#arguments">§</a>Arguments</h5>
<ul>
<li><code>input</code> - Input [<code>LogicalPlan</code>] after instant-vector selection.</li>
<li><code>timestamp_value_column</code> - Private column containing each selected sample’s timestamp.</li>
</ul>
<h5 id="returns"><a class="doc-anchor" href="#returns">§</a>Returns</h5>
<p>Returns a <a href="../error/type.Result.html" title="type query::promql::error::Result"><code>Result&lt;LogicalPlan&gt;</code></a> where the resulting logical plan projects the timestamp
column as the value column, along with the original tag and time index columns.</p>
<h5 id="timestamp-vs-time-function"><a class="doc-anchor" href="#timestamp-vs-time-function">§</a>Timestamp vs. Time Function</h5>
<ul>
<li>
<p><strong>Timestamp Function (<code>timestamp()</code>)</strong>: In PromQL, the <code>timestamp()</code> function returns the
timestamp (time index) of each sample as the value column.</p>
</li>
<li>
<p><strong>Time Function (<code>time()</code>)</strong>: The <code>time()</code> function returns the evaluation time of the query
as a scalar value.</p>
</li>
</ul>
<h5 id="side-effects"><a class="doc-anchor" href="#side-effects">§</a>Side Effects</h5>
<p>Updates the planner context’s field columns to the timestamp column name.</p>
</div></details><section id="method.prom_matrix_selector_to_plan" class="method"><a class="src rightside" href="../../../src/query/promql/planner.rs.html#2251-2300">Source</a><h4 class="code-header">async fn <a href="#method.prom_matrix_selector_to_plan" class="fn">prom_matrix_selector_to_plan</a>(
&amp;mut self,
matrix_selector: &amp;MatrixSelector,
) -&gt; <a class="type" href="../error/type.Result.html" title="type query::promql::error::Result">Result</a>&lt;LogicalPlan&gt;</h4></section><section id="method.prom_call_expr_to_plan" class="method"><a class="src rightside" href="../../../src/query/promql/planner.rs.html#2302-2408">Source</a><h4 class="code-header">async fn <a href="#method.prom_call_expr_to_plan" class="fn">prom_call_expr_to_plan</a>(
&amp;mut self,
query_engine_state: &amp;<a class="struct" href="../../query_engine/struct.QueryEngineState.html" title="struct query::query_engine::QueryEngineState">QueryEngineState</a>,
call_expr: &amp;Call,
) -&gt; <a class="type" href="../error/type.Result.html" title="type query::promql::error::Result">Result</a>&lt;LogicalPlan&gt;</h4></section><section id="method.prom_ext_expr_to_plan" class="method"><a class="src rightside" href="../../../src/query/promql/planner.rs.html#2410-2462">Source</a><h4 class="code-header">async fn <a href="#method.prom_ext_expr_to_plan" class="fn">prom_ext_expr_to_plan</a>(
&amp;mut self,
query_engine_state: &amp;<a class="struct" href="../../query_engine/struct.QueryEngineState.html" title="struct query::query_engine::QueryEngineState">QueryEngineState</a>,
ext_expr: &amp;Extension,
) -&gt; <a class="type" href="../error/type.Result.html" title="type query::promql::error::Result">Result</a>&lt;LogicalPlan&gt;</h4></section><details class="toggle method-toggle" open><summary><section id="method.preprocess_label_matchers" class="method"><a class="src rightside" href="../../../src/query/promql/planner.rs.html#2474-2532">Source</a><h4 class="code-header">fn <a href="#method.preprocess_label_matchers" class="fn">preprocess_label_matchers</a>(
&amp;mut self,
label_matchers: &amp;Matchers,
name: &amp;<a class="enum" href="https://doc.rust-lang.org/1.96.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.96.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>&gt;,
) -&gt; <a class="type" href="../error/type.Result.html" title="type query::promql::error::Result">Result</a>&lt;Matchers&gt;</h4></section></summary><div class="docblock"><p>Extract metric name from <code>__name__</code> matcher and set it into <a href="struct.PromPlannerContext.html" title="struct query::promql::planner::PromPlannerContext">PromPlannerContext</a>.
Returns a new [Matchers] that doesn’t contain metric name matcher.</p>
<p>Each call to this function means new selector is started. Thus, the context will be reset
at first.</p>
<p>Name rule:</p>
<ul>
<li>if <code>name</code> is some, then the matchers MUST NOT contain <code>__name__</code> matcher.</li>
<li>if <code>name</code> is none, then the matchers MAY contain NONE OR MULTIPLE <code>__name__</code> matchers.</li>
</ul>
</div></details><section id="method.selector_to_series_normalize_plan" class="method"><a class="src rightside" href="../../../src/query/promql/planner.rs.html#2534-2707">Source</a><h4 class="code-header">async fn <a href="#method.selector_to_series_normalize_plan" class="fn">selector_to_series_normalize_plan</a>(
&amp;mut self,
offset: &amp;<a class="enum" href="https://doc.rust-lang.org/1.96.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Offset&gt;,
label_matchers: Matchers,
is_range_selector: <a class="primitive" href="https://doc.rust-lang.org/1.96.1/std/primitive.bool.html">bool</a>,
) -&gt; <a class="type" href="../error/type.Result.html" title="type query::promql::error::Result">Result</a>&lt;LogicalPlan&gt;</h4></section><details class="toggle method-toggle" open><summary><section id="method.agg_modifier_to_col" class="method"><a class="src rightside" href="../../../src/query/promql/planner.rs.html#2715-2817">Source</a><h4 class="code-header">fn <a href="#method.agg_modifier_to_col" class="fn">agg_modifier_to_col</a>(
&amp;mut self,
input_schema: &amp;DFSchemaRef,
modifier: &amp;<a class="enum" href="https://doc.rust-lang.org/1.96.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;LabelModifier&gt;,
update_ctx: <a class="primitive" href="https://doc.rust-lang.org/1.96.1/std/primitive.bool.html">bool</a>,
) -&gt; <a class="type" href="../error/type.Result.html" title="type query::promql::error::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.96.1/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;DfExpr&gt;&gt;</h4></section></summary><div class="docblock"><p>Convert [LabelModifier] to [Column] exprs for aggregation.
Timestamp column and tag columns will be included.</p>
<h5 id="side-effect"><a class="doc-anchor" href="#side-effect">§</a>Side effect</h5>
<p>This method will also change the tag columns in ctx if <code>update_ctx</code> is true.</p>
</div></details><section id="method.matchers_to_expr" class="method"><a class="src rightside" href="../../../src/query/promql/planner.rs.html#2820-2918">Source</a><h4 class="code-header">pub fn <a href="#method.matchers_to_expr" class="fn">matchers_to_expr</a>(
label_matchers: Matchers,
table_schema: &amp;DFSchemaRef,
) -&gt; <a class="type" href="../error/type.Result.html" title="type query::promql::error::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.96.1/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;DfExpr&gt;&gt;</h4></section><section id="method.find_case_sensitive_column" class="method"><a class="src rightside" href="../../../src/query/promql/planner.rs.html#2920-2929">Source</a><h4 class="code-header">fn <a href="#method.find_case_sensitive_column" class="fn">find_case_sensitive_column</a>(
schema: &amp;DFSchemaRef,
column: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.96.1/std/primitive.str.html">str</a>,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.96.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.96.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>&gt;</h4></section><section id="method.table_from_source" class="method"><a class="src rightside" href="../../../src/query/promql/planner.rs.html#2931-2939">Source</a><h4 class="code-header">fn <a href="#method.table_from_source" class="fn">table_from_source</a>(&amp;self, source: &amp;<a class="struct" href="https://doc.rust-lang.org/1.96.1/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a>&lt;dyn TableSource&gt;) -&gt; <a class="type" href="../error/type.Result.html" title="type query::promql::error::Result">Result</a>&lt;TableRef&gt;</h4></section><section id="method.table_ref" class="method"><a class="src rightside" href="../../../src/query/promql/planner.rs.html#2941-2956">Source</a><h4 class="code-header">fn <a href="#method.table_ref" class="fn">table_ref</a>(&amp;self) -&gt; <a class="type" href="../error/type.Result.html" title="type query::promql::error::Result">Result</a>&lt;TableReference&gt;</h4></section><section id="method.build_time_index_filter" class="method"><a class="src rightside" href="../../../src/query/promql/planner.rs.html#2958-3052">Source</a><h4 class="code-header">fn <a href="#method.build_time_index_filter" class="fn">build_time_index_filter</a>(
&amp;self,
offset_duration: <a class="primitive" href="https://doc.rust-lang.org/1.96.1/std/primitive.i64.html">i64</a>,
schema: &amp;DFSchemaRef,
) -&gt; <a class="type" href="../error/type.Result.html" title="type query::promql::error::Result">Result</a>&lt;<a class="enum" href="https://doc.rust-lang.org/1.96.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;DfExpr&gt;&gt;</h4></section><details class="toggle method-toggle" open><summary><section id="method.create_table_scan_plan" class="method"><a class="src rightside" href="../../../src/query/promql/planner.rs.html#3058-3290">Source</a><h4 class="code-header">async fn <a href="#method.create_table_scan_plan" class="fn">create_table_scan_plan</a>(
&amp;mut self,
table_ref: TableReference,
) -&gt; <a class="type" href="../error/type.Result.html" title="type query::promql::error::Result">Result</a>&lt;LogicalPlan&gt;</h4></section></summary><div class="docblock"><p>Create a table scan plan and a filter plan with given filter.</p>
<h5 id="panic"><a class="doc-anchor" href="#panic">§</a>Panic</h5>
<p>If the filter is empty</p>
</div></details><section id="method.collect_row_key_tag_columns_from_plan" class="method"><a class="src rightside" href="../../../src/query/promql/planner.rs.html#3292-3324">Source</a><h4 class="code-header">fn <a href="#method.collect_row_key_tag_columns_from_plan" class="fn">collect_row_key_tag_columns_from_plan</a>(
&amp;self,
plan: &amp;LogicalPlan,
) -&gt; <a class="type" href="../error/type.Result.html" title="type query::promql::error::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.96.1/alloc/collections/btree/set/struct.BTreeSet.html" title="struct alloc::collections::btree::set::BTreeSet">BTreeSet</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.96.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>&gt;&gt;</h4></section><details class="toggle method-toggle" open><summary><section id="method.setup_context" class="method"><a class="src rightside" href="../../../src/query/promql/planner.rs.html#3329-3378">Source</a><h4 class="code-header">async fn <a href="#method.setup_context" class="fn">setup_context</a>(&amp;mut self) -&gt; <a class="type" href="../error/type.Result.html" title="type query::promql::error::Result">Result</a>&lt;<a class="enum" href="https://doc.rust-lang.org/1.96.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;LogicalPlan&gt;&gt;</h4></section></summary><div class="docblock"><p>Setup <a href="struct.PromPlannerContext.html" title="struct query::promql::planner::PromPlannerContext">PromPlannerContext</a>’s state fields.</p>
<p>Returns a logical plan for an empty metric.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.setup_context_for_empty_metric" class="method"><a class="src rightside" href="../../../src/query/promql/planner.rs.html#3382-3405">Source</a><h4 class="code-header">fn <a href="#method.setup_context_for_empty_metric" class="fn">setup_context_for_empty_metric</a>(&amp;mut self) -&gt; <a class="type" href="../error/type.Result.html" title="type query::promql::error::Result">Result</a>&lt;LogicalPlan&gt;</h4></section></summary><div class="docblock"><p>Setup <a href="struct.PromPlannerContext.html" title="struct query::promql::planner::PromPlannerContext">PromPlannerContext</a>’s state fields for a non existent table
without any rows.</p>
</div></details><section id="method.create_function_args" class="method"><a class="src rightside" href="../../../src/query/promql/planner.rs.html#3408-3441">Source</a><h4 class="code-header">fn <a href="#method.create_function_args" class="fn">create_function_args</a>(&amp;self, args: &amp;[<a class="struct" href="https://doc.rust-lang.org/1.96.1/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;PromExpr&gt;]) -&gt; <a class="type" href="../error/type.Result.html" title="type query::promql::error::Result">Result</a>&lt;<a class="struct" href="struct.FunctionArgs.html" title="struct query::promql::planner::FunctionArgs">FunctionArgs</a>&gt;</h4></section><section id="method.create_mixed_range_function_exprs" class="method"><a class="src rightside" href="../../../src/query/promql/planner.rs.html#3443-3552">Source</a><h4 class="code-header">fn <a href="#method.create_mixed_range_function_exprs" class="fn">create_mixed_range_function_exprs</a>(
&amp;mut self,
func: &amp;Function,
other_input_exprs: <a class="struct" href="https://doc.rust-lang.org/1.96.1/alloc/collections/vec_deque/struct.VecDeque.html" title="struct alloc::collections::vec_deque::VecDeque">VecDeque</a>&lt;DfExpr&gt;,
float_field: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.96.1/std/primitive.str.html">str</a>,
histogram_field: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.96.1/std/primitive.str.html">str</a>,
input_schema: &amp;DFSchemaRef,
) -&gt; <a class="type" href="../error/type.Result.html" title="type query::promql::error::Result">Result</a>&lt;<a class="enum" href="https://doc.rust-lang.org/1.96.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.96.1/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;DfExpr&gt;&gt;&gt;</h4></section><details class="toggle method-toggle" open><summary><section id="method.create_function_expr" class="method"><a class="src rightside" href="../../../src/query/promql/planner.rs.html#3559-4161">Source</a><h4 class="code-header">fn <a href="#method.create_function_expr" class="fn">create_function_expr</a>(
&amp;mut self,
func: &amp;Function,
other_input_exprs: <a class="struct" href="https://doc.rust-lang.org/1.96.1/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;DfExpr&gt;,
input_schema: &amp;DFSchemaRef,
query_engine_state: &amp;<a class="struct" href="../../query_engine/struct.QueryEngineState.html" title="struct query::query_engine::QueryEngineState">QueryEngineState</a>,
) -&gt; <a class="type" href="../error/type.Result.html" title="type query::promql::error::Result">Result</a>&lt;(<a class="struct" href="https://doc.rust-lang.org/1.96.1/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;DfExpr&gt;, <a class="struct" href="https://doc.rust-lang.org/1.96.1/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.96.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>&gt;)&gt;</h4></section></summary><div class="docblock"><p>Creates function expressions for projection and returns the expressions and new tags.</p>
<h5 id="side-effects-1"><a class="doc-anchor" href="#side-effects-1">§</a>Side Effects</h5>
<p>This method will update <a href="struct.PromPlannerContext.html" title="struct query::promql::planner::PromPlannerContext">PromPlannerContext</a>’s fields and tags if needed.</p>
</div></details><section id="method.select_delta_range_math" class="method"><a class="src rightside" href="../../../src/query/promql/planner.rs.html#4163-4204">Source</a><h4 class="code-header">fn <a href="#method.select_delta_range_math" class="fn">select_delta_range_math</a>(
&amp;self,
function: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.96.1/std/primitive.str.html">str</a>,
input_schema: &amp;DFSchemaRef,
range_length: Millisecond,
delta_sum: DfExpr,
cumulative: DfExpr,
) -&gt; <a class="type" href="../error/type.Result.html" title="type query::promql::error::Result">Result</a>&lt;DfExpr&gt;</h4></section><details class="toggle method-toggle" open><summary><section id="method.validate_label_name" class="method"><a class="src rightside" href="../../../src/query/promql/planner.rs.html#4209-4220">Source</a><h4 class="code-header">fn <a href="#method.validate_label_name" class="fn">validate_label_name</a>(label_name: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.96.1/std/primitive.str.html">str</a>) -&gt; <a class="type" href="../error/type.Result.html" title="type query::promql::error::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.96.1/std/primitive.unit.html">()</a>&gt;</h4></section></summary><div class="docblock"><p>Validate label name according to Prometheus specification.
Label names must match the regex: [a-zA-Z_][a-zA-Z0-9_]*
Additionally, label names starting with double underscores are reserved for internal use.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.build_regexp_replace_label_expr" class="method"><a class="src rightside" href="../../../src/query/promql/planner.rs.html#4223-4322">Source</a><h4 class="code-header">fn <a href="#method.build_regexp_replace_label_expr" class="fn">build_regexp_replace_label_expr</a>(
&amp;self,
other_input_exprs: &amp;mut <a class="struct" href="https://doc.rust-lang.org/1.96.1/alloc/collections/vec_deque/struct.VecDeque.html" title="struct alloc::collections::vec_deque::VecDeque">VecDeque</a>&lt;DfExpr&gt;,
query_engine_state: &amp;<a class="struct" href="../../query_engine/struct.QueryEngineState.html" title="struct query::query_engine::QueryEngineState">QueryEngineState</a>,
) -&gt; <a class="type" href="../error/type.Result.html" title="type query::promql::error::Result">Result</a>&lt;<a class="enum" href="https://doc.rust-lang.org/1.96.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;(DfExpr, <a class="struct" href="https://doc.rust-lang.org/1.96.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>)&gt;&gt;</h4></section></summary><div class="docblock"><p>Build expr for <code>label_replace</code> function</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.build_concat_labels_expr" class="method"><a class="src rightside" href="../../../src/query/promql/planner.rs.html#4325-4408">Source</a><h4 class="code-header">fn <a href="#method.build_concat_labels_expr" class="fn">build_concat_labels_expr</a>(
other_input_exprs: &amp;mut <a class="struct" href="https://doc.rust-lang.org/1.96.1/alloc/collections/vec_deque/struct.VecDeque.html" title="struct alloc::collections::vec_deque::VecDeque">VecDeque</a>&lt;DfExpr&gt;,
ctx: &amp;<a class="struct" href="struct.PromPlannerContext.html" title="struct query::promql::planner::PromPlannerContext">PromPlannerContext</a>,
query_engine_state: &amp;<a class="struct" href="../../query_engine/struct.QueryEngineState.html" title="struct query::query_engine::QueryEngineState">QueryEngineState</a>,
) -&gt; <a class="type" href="../error/type.Result.html" title="type query::promql::error::Result">Result</a>&lt;(DfExpr, <a class="struct" href="https://doc.rust-lang.org/1.96.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>)&gt;</h4></section></summary><div class="docblock"><p>Build expr for <code>label_join</code> function</p>
</div></details><section id="method.create_time_index_column_expr" class="method"><a class="src rightside" href="../../../src/query/promql/planner.rs.html#4410-4417">Source</a><h4 class="code-header">fn <a href="#method.create_time_index_column_expr" class="fn">create_time_index_column_expr</a>(&amp;self) -&gt; <a class="type" href="../error/type.Result.html" title="type query::promql::error::Result">Result</a>&lt;DfExpr&gt;</h4></section><section id="method.create_tag_column_exprs" class="method"><a class="src rightside" href="../../../src/query/promql/planner.rs.html#4419-4426">Source</a><h4 class="code-header">fn <a href="#method.create_tag_column_exprs" class="fn">create_tag_column_exprs</a>(&amp;self) -&gt; <a class="type" href="../error/type.Result.html" title="type query::promql::error::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.96.1/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;DfExpr&gt;&gt;</h4></section><section id="method.create_field_column_exprs" class="method"><a class="src rightside" href="../../../src/query/promql/planner.rs.html#4428-4435">Source</a><h4 class="code-header">fn <a href="#method.create_field_column_exprs" class="fn">create_field_column_exprs</a>(&amp;self) -&gt; <a class="type" href="../error/type.Result.html" title="type query::promql::error::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.96.1/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;DfExpr&gt;&gt;</h4></section><section id="method.create_tag_and_time_index_column_sort_exprs" class="method"><a class="src rightside" href="../../../src/query/promql/planner.rs.html#4437-4446">Source</a><h4 class="code-header">fn <a href="#method.create_tag_and_time_index_column_sort_exprs" class="fn">create_tag_and_time_index_column_sort_exprs</a>(&amp;self) -&gt; <a class="type" href="../error/type.Result.html" title="type query::promql::error::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.96.1/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;SortExpr&gt;&gt;</h4></section><section id="method.create_field_columns_sort_exprs" class="method"><a class="src rightside" href="../../../src/query/promql/planner.rs.html#4448-4454">Source</a><h4 class="code-header">fn <a href="#method.create_field_columns_sort_exprs" class="fn">create_field_columns_sort_exprs</a>(&amp;self, asc: <a class="primitive" href="https://doc.rust-lang.org/1.96.1/std/primitive.bool.html">bool</a>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.96.1/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;SortExpr&gt;</h4></section><section id="method.create_sort_exprs_by_tags" class="method"><a class="src rightside" href="../../../src/query/promql/planner.rs.html#4456-4477">Source</a><h4 class="code-header">fn <a href="#method.create_sort_exprs_by_tags" class="fn">create_sort_exprs_by_tags</a>(
func: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.96.1/std/primitive.str.html">str</a>,
tags: <a class="struct" href="https://doc.rust-lang.org/1.96.1/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;DfExpr&gt;,
asc: <a class="primitive" href="https://doc.rust-lang.org/1.96.1/std/primitive.bool.html">bool</a>,
) -&gt; <a class="type" href="../error/type.Result.html" title="type query::promql::error::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.96.1/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;SortExpr&gt;&gt;</h4></section><section id="method.create_empty_values_filter_expr" class="method"><a class="src rightside" href="../../../src/query/promql/planner.rs.html#4479-4501">Source</a><h4 class="code-header">fn <a href="#method.create_empty_values_filter_expr" class="fn">create_empty_values_filter_expr</a>(
&amp;self,
preserve_any_value: <a class="primitive" href="https://doc.rust-lang.org/1.96.1/std/primitive.bool.html">bool</a>,
) -&gt; <a class="type" href="../error/type.Result.html" title="type query::promql::error::Result">Result</a>&lt;DfExpr&gt;</h4></section><details class="toggle method-toggle" open><summary><section id="method.create_aggregate_exprs" class="method"><a class="src rightside" href="../../../src/query/promql/planner.rs.html#4519-4612">Source</a><h4 class="code-header">fn <a href="#method.create_aggregate_exprs" class="fn">create_aggregate_exprs</a>(
&amp;mut self,
op: TokenType,
param: &amp;<a class="enum" href="https://doc.rust-lang.org/1.96.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.96.1/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;PromExpr&gt;&gt;,
input_plan: &amp;LogicalPlan,
) -&gt; <a class="type" href="../error/type.Result.html" title="type query::promql::error::Result">Result</a>&lt;(<a class="struct" href="https://doc.rust-lang.org/1.96.1/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;DfExpr&gt;, <a class="struct" href="https://doc.rust-lang.org/1.96.1/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;DfExpr&gt;)&gt;</h4></section></summary><div class="docblock"><p>Creates a set of DataFusion <code>DfExpr::AggregateFunction</code> expressions for each value column using the specified aggregate function.</p>
<h5 id="side-effects-2"><a class="doc-anchor" href="#side-effects-2">§</a>Side Effects</h5>
<p>This method modifies the value columns in the context by replacing them with the new columns
created by the aggregate function application.</p>
<h5 id="returns-1"><a class="doc-anchor" href="#returns-1">§</a>Returns</h5>
<p>Returns a tuple of <code>(aggregate_expressions, previous_field_expressions)</code> where:</p>
<ul>
<li><code>aggregate_expressions</code>: Expressions that apply the aggregate function to the original fields</li>
<li><code>previous_field_expressions</code>: Field expressions naming the pre-aggregation values. This is
non-empty only when the operation is <code>count_values</code>, which groups by the sample value and
projects it as the generated label, so these expressions are passed through the same
formatting as that label (<code>prom_float_to_string</code>).</li>
</ul>
</div></details><section id="method.create_numeric_aggregate_expr" class="method"><a class="src rightside" href="../../../src/query/promql/planner.rs.html#4614-4647">Source</a><h4 class="code-header">fn <a href="#method.create_numeric_aggregate_expr" class="fn">create_numeric_aggregate_expr</a>(
op: TokenType,
param: &amp;<a class="enum" href="https://doc.rust-lang.org/1.96.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.96.1/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;PromExpr&gt;&gt;,
input: DfExpr,
) -&gt; <a class="type" href="../error/type.Result.html" title="type query::promql::error::Result">Result</a>&lt;DfExpr&gt;</h4></section><section id="method.create_mixed_aggregate_exprs" class="method"><a class="src rightside" href="../../../src/query/promql/planner.rs.html#4649-4739">Source</a><h4 class="code-header">fn <a href="#method.create_mixed_aggregate_exprs" class="fn">create_mixed_aggregate_exprs</a>(
&amp;mut self,
op: TokenType,
param: &amp;<a class="enum" href="https://doc.rust-lang.org/1.96.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.96.1/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;PromExpr&gt;&gt;,
float_column: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.96.1/std/primitive.str.html">str</a>,
histogram_column: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.96.1/std/primitive.str.html">str</a>,
) -&gt; <a class="type" href="../error/type.Result.html" title="type query::promql::error::Result">Result</a>&lt;(<a class="struct" href="https://doc.rust-lang.org/1.96.1/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;DfExpr&gt;, <a class="struct" href="https://doc.rust-lang.org/1.96.1/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;DfExpr&gt;)&gt;</h4></section><section id="method.mixed_sample_count_column" class="method"><a class="src rightside" href="../../../src/query/promql/planner.rs.html#4741-4743">Source</a><h4 class="code-header">fn <a href="#method.mixed_sample_count_column" class="fn">mixed_sample_count_column</a>(column: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.96.1/std/primitive.str.html">str</a>) -&gt; DfExpr</h4></section><section id="method.mixed_sample_count_name" class="method"><a class="src rightside" href="../../../src/query/promql/planner.rs.html#4745-4747">Source</a><h4 class="code-header">fn <a href="#method.mixed_sample_count_name" class="fn">mixed_sample_count_name</a>(column: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.96.1/std/primitive.str.html">str</a>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.96.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a></h4></section><section id="method.mixed_aggregate_filter_expr" class="method"><a class="src rightside" href="../../../src/query/promql/planner.rs.html#4749-4774">Source</a><h4 class="code-header">fn <a href="#method.mixed_aggregate_filter_expr" class="fn">mixed_aggregate_filter_expr</a>(
&amp;self,
op: TokenType,
float_column: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.96.1/std/primitive.str.html">str</a>,
histogram_column: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.96.1/std/primitive.str.html">str</a>,
) -&gt; <a class="type" href="../error/type.Result.html" title="type query::promql::error::Result">Result</a>&lt;DfExpr&gt;</h4></section><section id="method.mixed_ignored_histogram_filter_expr" class="method"><a class="src rightside" href="../../../src/query/promql/planner.rs.html#4776-4796">Source</a><h4 class="code-header">fn <a href="#method.mixed_ignored_histogram_filter_expr" class="fn">mixed_ignored_histogram_filter_expr</a>(
&amp;self,
op: TokenType,
histogram_column: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.96.1/std/primitive.str.html">str</a>,
) -&gt; <a class="type" href="../error/type.Result.html" title="type query::promql::error::Result">Result</a>&lt;DfExpr&gt;</h4></section><section id="method.create_native_histogram_aggregate_expr" class="method"><a class="src rightside" href="../../../src/query/promql/planner.rs.html#4798-4839">Source</a><h4 class="code-header">fn <a href="#method.create_native_histogram_aggregate_expr" class="fn">create_native_histogram_aggregate_expr</a>(
&amp;self,
op: TokenType,
column: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.96.1/std/primitive.str.html">str</a>,
) -&gt; <a class="type" href="../error/type.Result.html" title="type query::promql::error::Result">Result</a>&lt;DfExpr&gt;</h4></section><section id="method.create_native_histogram_aggregate_exprs" class="method"><a class="src rightside" href="../../../src/query/promql/planner.rs.html#4841-4882">Source</a><h4 class="code-header">fn <a href="#method.create_native_histogram_aggregate_exprs" class="fn">create_native_histogram_aggregate_exprs</a>(
&amp;mut self,
op: TokenType,
input_plan: &amp;LogicalPlan,
) -&gt; <a class="type" href="../error/type.Result.html" title="type query::promql::error::Result">Result</a>&lt;(<a class="struct" href="https://doc.rust-lang.org/1.96.1/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;DfExpr&gt;, <a class="struct" href="https://doc.rust-lang.org/1.96.1/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;DfExpr&gt;)&gt;</h4></section><section id="method.get_param_value_as_str" class="method"><a class="src rightside" href="../../../src/query/promql/planner.rs.html#4884-4898">Source</a><h4 class="code-header">fn <a href="#method.get_param_value_as_str" class="fn">get_param_value_as_str</a>(
op: TokenType,
param: &amp;<a class="enum" href="https://doc.rust-lang.org/1.96.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.96.1/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;PromExpr&gt;&gt;,
) -&gt; <a class="type" href="../error/type.Result.html" title="type query::promql::error::Result">Result</a>&lt;&amp;<a class="primitive" href="https://doc.rust-lang.org/1.96.1/std/primitive.str.html">str</a>&gt;</h4></section><section id="method.get_param_as_literal_expr" class="method"><a class="src rightside" href="../../../src/query/promql/planner.rs.html#4900-4944">Source</a><h4 class="code-header">fn <a href="#method.get_param_as_literal_expr" class="fn">get_param_as_literal_expr</a>(
param: <a class="enum" href="https://doc.rust-lang.org/1.96.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;PromExpr&gt;,
op: <a class="enum" href="https://doc.rust-lang.org/1.96.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;TokenType&gt;,
expected_type: <a class="enum" href="https://doc.rust-lang.org/1.96.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;ArrowDataType&gt;,
) -&gt; <a class="type" href="../error/type.Result.html" title="type query::promql::error::Result">Result</a>&lt;DfExpr&gt;</h4></section><details class="toggle method-toggle" open><summary><section id="method.create_window_exprs" class="method"><a class="src rightside" href="../../../src/query/promql/planner.rs.html#4948-5001">Source</a><h4 class="code-header">fn <a href="#method.create_window_exprs" class="fn">create_window_exprs</a>(
&amp;mut self,
op: TokenType,
group_exprs: <a class="struct" href="https://doc.rust-lang.org/1.96.1/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;DfExpr&gt;,
input_plan: &amp;LogicalPlan,
) -&gt; <a class="type" href="../error/type.Result.html" title="type query::promql::error::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.96.1/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;DfExpr&gt;&gt;</h4></section></summary><div class="docblock"><p>Create [DfExpr::WindowFunction] expr for each value column with given window function.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.create_histogram_plan" class="method"><a class="src rightside" href="../../../src/query/promql/planner.rs.html#5004-5120">Source</a><h4 class="code-header">async fn <a href="#method.create_histogram_plan" class="fn">create_histogram_plan</a>(
&amp;mut self,
function_name: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.96.1/std/primitive.str.html">str</a>,
args: &amp;PromFunctionArgs,
query_engine_state: &amp;<a class="struct" href="../../query_engine/struct.QueryEngineState.html" title="struct query::query_engine::QueryEngineState">QueryEngineState</a>,
) -&gt; <a class="type" href="../error/type.Result.html" title="type query::promql::error::Result">Result</a>&lt;LogicalPlan&gt;</h4></section></summary><div class="docblock"><p>Create a classic, native, or mixed histogram helper plan.</p>
</div></details><section id="method.create_native_histogram_expr" class="method"><a class="src rightside" href="../../../src/query/promql/planner.rs.html#5122-5143">Source</a><h4 class="code-header">fn <a href="#method.create_native_histogram_expr" class="fn">create_native_histogram_expr</a>(
&amp;self,
function: HistogramFoldOperation,
field_column: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.96.1/std/primitive.str.html">str</a>,
) -&gt; DfExpr</h4></section><section id="method.create_native_histogram_plan" class="method"><a class="src rightside" href="../../../src/query/promql/planner.rs.html#5145-5174">Source</a><h4 class="code-header">fn <a href="#method.create_native_histogram_plan" class="fn">create_native_histogram_plan</a>(
&amp;mut self,
function: HistogramFoldOperation,
input_plan: LogicalPlan,
) -&gt; <a class="type" href="../error/type.Result.html" title="type query::promql::error::Result">Result</a>&lt;LogicalPlan&gt;</h4></section><section id="method.create_mixed_histogram_plan" class="method"><a class="src rightside" href="../../../src/query/promql/planner.rs.html#5176-5236">Source</a><h4 class="code-header">fn <a href="#method.create_mixed_histogram_plan" class="fn">create_mixed_histogram_plan</a>(
&amp;mut self,
function: HistogramFoldOperation,
input_plan: LogicalPlan,
float_field: <a class="struct" href="https://doc.rust-lang.org/1.96.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>,
histogram_field: <a class="struct" href="https://doc.rust-lang.org/1.96.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>,
) -&gt; <a class="type" href="../error/type.Result.html" title="type query::promql::error::Result">Result</a>&lt;LogicalPlan&gt;</h4></section><details class="toggle method-toggle" open><summary><section id="method.create_vector_plan" class="method"><a class="src rightside" href="../../../src/query/promql/planner.rs.html#5239-5267">Source</a><h4 class="code-header">async fn <a href="#method.create_vector_plan" class="fn">create_vector_plan</a>(
&amp;mut self,
args: &amp;PromFunctionArgs,
) -&gt; <a class="type" href="../error/type.Result.html" title="type query::promql::error::Result">Result</a>&lt;LogicalPlan&gt;</h4></section></summary><div class="docblock"><p>Create a <a href="constant.SPECIAL_VECTOR_FUNCTION.html" title="constant query::promql::planner::SPECIAL_VECTOR_FUNCTION">SPECIAL_VECTOR_FUNCTION</a> plan</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.create_scalar_plan" class="method"><a class="src rightside" href="../../../src/query/promql/planner.rs.html#5270-5350">Source</a><h4 class="code-header">async fn <a href="#method.create_scalar_plan" class="fn">create_scalar_plan</a>(
&amp;mut self,
args: &amp;PromFunctionArgs,
query_engine_state: &amp;<a class="struct" href="../../query_engine/struct.QueryEngineState.html" title="struct query::query_engine::QueryEngineState">QueryEngineState</a>,
) -&gt; <a class="type" href="../error/type.Result.html" title="type query::promql::error::Result">Result</a>&lt;LogicalPlan&gt;</h4></section></summary><div class="docblock"><p>Create a <a href="constant.SCALAR_FUNCTION.html" title="constant query::promql::planner::SCALAR_FUNCTION">SCALAR_FUNCTION</a> plan</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.create_absent_plan" class="method"><a class="src rightside" href="../../../src/query/promql/planner.rs.html#5353-5418">Source</a><h4 class="code-header">async fn <a href="#method.create_absent_plan" class="fn">create_absent_plan</a>(
&amp;mut self,
args: &amp;PromFunctionArgs,
query_engine_state: &amp;<a class="struct" href="../../query_engine/struct.QueryEngineState.html" title="struct query::query_engine::QueryEngineState">QueryEngineState</a>,
) -&gt; <a class="type" href="../error/type.Result.html" title="type query::promql::error::Result">Result</a>&lt;LogicalPlan&gt;</h4></section></summary><div class="docblock"><p>Create a <a href="constant.SPECIAL_ABSENT_FUNCTION.html" title="constant query::promql::planner::SPECIAL_ABSENT_FUNCTION">SPECIAL_ABSENT_FUNCTION</a> plan</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.try_build_literal_expr" class="method"><a class="src rightside" href="../../../src/query/promql/planner.rs.html#5422-5471">Source</a><h4 class="code-header">fn <a href="#method.try_build_literal_expr" class="fn">try_build_literal_expr</a>(expr: &amp;PromExpr) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.96.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;DfExpr&gt;</h4></section></summary><div class="docblock"><p>Try to build a DataFusion Literal Expression from PromQL Expr, return
<code>None</code> if the input is not a literal expression.</p>
</div></details><section id="method.try_build_special_time_expr_with_context" class="method"><a class="src rightside" href="../../../src/query/promql/planner.rs.html#5473-5486">Source</a><h4 class="code-header">fn <a href="#method.try_build_special_time_expr_with_context" class="fn">try_build_special_time_expr_with_context</a>(
&amp;self,
expr: &amp;PromExpr,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.96.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;DfExpr&gt;</h4></section><section id="method.native_histogram_binary_expr" class="method"><a class="src rightside" href="../../../src/query/promql/planner.rs.html#5488-5549">Source</a><h4 class="code-header">fn <a href="#method.native_histogram_binary_expr" class="fn">native_histogram_binary_expr</a>(
token: TokenType,
lhs: DfExpr,
lhs_is_histogram: <a class="primitive" href="https://doc.rust-lang.org/1.96.1/std/primitive.bool.html">bool</a>,
rhs: DfExpr,
rhs_is_histogram: <a class="primitive" href="https://doc.rust-lang.org/1.96.1/std/primitive.bool.html">bool</a>,
filter_context: <a class="primitive" href="https://doc.rust-lang.org/1.96.1/std/primitive.bool.html">bool</a>,
promql_annotations: <a class="enum" href="https://doc.rust-lang.org/1.96.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;PromqlAnnotationCollector&gt;,
) -&gt; <a class="type" href="../error/type.Result.html" title="type query::promql::error::Result">Result</a>&lt;<a class="enum" href="https://doc.rust-lang.org/1.96.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;DfExpr&gt;&gt;</h4></section><details class="toggle method-toggle" open><summary><section id="method.prom_token_to_binary_expr_builder" class="method"><a class="src rightside" href="../../../src/query/promql/planner.rs.html#5554-5604">Source</a><h4 class="code-header">fn <a href="#method.prom_token_to_binary_expr_builder" class="fn">prom_token_to_binary_expr_builder</a>(
token: TokenType,
) -&gt; <a class="type" href="../error/type.Result.html" title="type query::promql::error::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.96.1/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.96.1/core/ops/function/trait.Fn.html" title="trait core::ops::function::Fn">Fn</a>(DfExpr, DfExpr) -&gt; <a class="type" href="../error/type.Result.html" title="type query::promql::error::Result">Result</a>&lt;DfExpr&gt;&gt;&gt;</h4></section></summary><div class="docblock"><p>Return a lambda to build binary expression from token.
Because some binary operator are function in DataFusion like <code>atan2</code> or <code>^</code>.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.is_token_a_comparison_op" class="method"><a class="src rightside" href="../../../src/query/promql/planner.rs.html#5607-5617">Source</a><h4 class="code-header">fn <a href="#method.is_token_a_comparison_op" class="fn">is_token_a_comparison_op</a>(token: TokenType) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.96.1/std/primitive.bool.html">bool</a></h4></section></summary><div class="docblock"><p>Check if the given op is a <a href="https://prometheus.io/docs/prometheus/latest/querying/operators/#comparison-binary-operators">comparison operator</a>.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.is_token_a_set_op" class="method"><a class="src rightside" href="../../../src/query/promql/planner.rs.html#5620-5627">Source</a><h4 class="code-header">fn <a href="#method.is_token_a_set_op" class="fn">is_token_a_set_op</a>(token: TokenType) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.96.1/std/primitive.bool.html">bool</a></h4></section></summary><div class="docblock"><p>Check if the given op is a set operator (UNION, INTERSECT and EXCEPT in SQL).</p>
</div></details><section id="method.align_binary_field_columns" class="method"><a class="src rightside" href="../../../src/query/promql/planner.rs.html#5629-5725">Source</a><h4 class="code-header">fn <a href="#method.align_binary_field_columns" class="fn">align_binary_field_columns</a>&lt;'a&gt;(
left_schema: &amp;DFSchemaRef,
right_schema: &amp;DFSchemaRef,
left_field_columns: &amp;'a [<a class="struct" href="https://doc.rust-lang.org/1.96.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>],
right_field_columns: &amp;'a [<a class="struct" href="https://doc.rust-lang.org/1.96.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>],
op: TokenType,
left_is_scalar: <a class="primitive" href="https://doc.rust-lang.org/1.96.1/std/primitive.bool.html">bool</a>,
right_is_scalar: <a class="primitive" href="https://doc.rust-lang.org/1.96.1/std/primitive.bool.html">bool</a>,
) -&gt; (<a class="struct" href="https://doc.rust-lang.org/1.96.1/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;(<a class="struct" href="https://doc.rust-lang.org/1.96.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>, <a class="struct" href="https://doc.rust-lang.org/1.96.1/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;(&amp;'a <a class="struct" href="https://doc.rust-lang.org/1.96.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>, &amp;'a <a class="struct" href="https://doc.rust-lang.org/1.96.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>)&gt;)&gt;, <a class="struct" href="https://doc.rust-lang.org/1.96.1/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;(&amp;'a <a class="struct" href="https://doc.rust-lang.org/1.96.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>, &amp;'a <a class="struct" href="https://doc.rust-lang.org/1.96.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>)&gt;)</h4></section><section id="method.binary_result_is_histogram" class="method"><a class="src rightside" href="../../../src/query/promql/planner.rs.html#5727-5741">Source</a><h4 class="code-header">fn <a href="#method.binary_result_is_histogram" class="fn">binary_result_is_histogram</a>(
token: TokenType,
lhs_is_histogram: <a class="primitive" href="https://doc.rust-lang.org/1.96.1/std/primitive.bool.html">bool</a>,
rhs_is_histogram: <a class="primitive" href="https://doc.rust-lang.org/1.96.1/std/primitive.bool.html">bool</a>,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.96.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.96.1/std/primitive.bool.html">bool</a>&gt;</h4></section><section id="method.plan_has_tsid_column" class="method"><a class="src rightside" href="../../../src/query/promql/planner.rs.html#5743-5748">Source</a><h4 class="code-header">fn <a href="#method.plan_has_tsid_column" class="fn">plan_has_tsid_column</a>(plan: &amp;LogicalPlan) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.96.1/std/primitive.bool.html">bool</a></h4></section><section id="method.is_empty_metric" class="method"><a class="src rightside" href="../../../src/query/promql/planner.rs.html#5750-5752">Source</a><h4 class="code-header">fn <a href="#method.is_empty_metric" class="fn">is_empty_metric</a>(plan: &amp;LogicalPlan) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.96.1/std/primitive.bool.html">bool</a></h4></section><section id="method.native_histogram_arrow_type" class="method"><a class="src rightside" href="../../../src/query/promql/planner.rs.html#5754-5756">Source</a><h4 class="code-header">fn <a href="#method.native_histogram_arrow_type" class="fn">native_histogram_arrow_type</a>() -&gt; ArrowDataType</h4></section><section id="method.field_column_type" class="method"><a class="src rightside" href="../../../src/query/promql/planner.rs.html#5758-5765">Source</a><h4 class="code-header">fn <a href="#method.field_column_type" class="fn">field_column_type</a>&lt;'a&gt;(
schema: &amp;'a DFSchemaRef,
field_column: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.96.1/std/primitive.str.html">str</a>,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.96.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;'a ArrowDataType&gt;</h4></section><section id="method.field_column_is_native_histogram" class="method"><a class="src rightside" href="../../../src/query/promql/planner.rs.html#5767-5770">Source</a><h4 class="code-header">fn <a href="#method.field_column_is_native_histogram" class="fn">field_column_is_native_histogram</a>(
schema: &amp;DFSchemaRef,
field_column: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.96.1/std/primitive.str.html">str</a>,
) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.96.1/std/primitive.bool.html">bool</a></h4></section><section id="method.field_columns_contain_native_histogram" class="method"><a class="src rightside" href="../../../src/query/promql/planner.rs.html#5772-5779">Source</a><h4 class="code-header">fn <a href="#method.field_columns_contain_native_histogram" class="fn">field_columns_contain_native_histogram</a>(
schema: &amp;DFSchemaRef,
field_columns: &amp;[<a class="struct" href="https://doc.rust-lang.org/1.96.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>],
) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.96.1/std/primitive.bool.html">bool</a></h4></section><section id="method.field_column_is_float_range" class="method"><a class="src rightside" href="../../../src/query/promql/planner.rs.html#5781-5790">Source</a><h4 class="code-header">fn <a href="#method.field_column_is_float_range" class="fn">field_column_is_float_range</a>(schema: &amp;DFSchemaRef, field_column: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.96.1/std/primitive.str.html">str</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.96.1/std/primitive.bool.html">bool</a></h4></section><section id="method.field_columns_are_alternative_samples" class="method"><a class="src rightside" href="../../../src/query/promql/planner.rs.html#5792-5797">Source</a><h4 class="code-header">fn <a href="#method.field_columns_are_alternative_samples" class="fn">field_columns_are_alternative_samples</a>(
schema: &amp;DFSchemaRef,
field_columns: &amp;[<a class="struct" href="https://doc.rust-lang.org/1.96.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>],
) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.96.1/std/primitive.bool.html">bool</a></h4></section><section id="method.alternative_sample_columns" class="method"><a class="src rightside" href="../../../src/query/promql/planner.rs.html#5799-5832">Source</a><h4 class="code-header">fn <a href="#method.alternative_sample_columns" class="fn">alternative_sample_columns</a>&lt;'a&gt;(
schema: &amp;DFSchemaRef,
field_columns: &amp;'a [<a class="struct" href="https://doc.rust-lang.org/1.96.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>],
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.96.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;(&amp;'a <a class="primitive" href="https://doc.rust-lang.org/1.96.1/std/primitive.str.html">str</a>, &amp;'a <a class="primitive" href="https://doc.rust-lang.org/1.96.1/std/primitive.str.html">str</a>)&gt;</h4></section><section id="method.alternative_sample_range_columns" class="method"><a class="src rightside" href="../../../src/query/promql/planner.rs.html#5834-5842">Source</a><h4 class="code-header">fn <a href="#method.alternative_sample_range_columns" class="fn">alternative_sample_range_columns</a>&lt;'a&gt;(
schema: &amp;DFSchemaRef,
field_columns: &amp;'a [<a class="struct" href="https://doc.rust-lang.org/1.96.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>],
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.96.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;(&amp;'a <a class="primitive" href="https://doc.rust-lang.org/1.96.1/std/primitive.str.html">str</a>, &amp;'a <a class="primitive" href="https://doc.rust-lang.org/1.96.1/std/primitive.str.html">str</a>)&gt;</h4></section><section id="method.field_column_is_native_histogram_range" class="method"><a class="src rightside" href="../../../src/query/promql/planner.rs.html#5844-5853">Source</a><h4 class="code-header">fn <a href="#method.field_column_is_native_histogram_range" class="fn">field_column_is_native_histogram_range</a>(
schema: &amp;DFSchemaRef,
field_column: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.96.1/std/primitive.str.html">str</a>,
) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.96.1/std/primitive.bool.html">bool</a></h4></section><section id="method.all_field_columns_are_native_histograms" class="method"><a class="src rightside" href="../../../src/query/promql/planner.rs.html#5855-5862">Source</a><h4 class="code-header">fn <a href="#method.all_field_columns_are_native_histograms" class="fn">all_field_columns_are_native_histograms</a>(&amp;self, schema: &amp;DFSchemaRef) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.96.1/std/primitive.bool.html">bool</a></h4></section><section id="method.all_field_columns_are_native_histogram_ranges" class="method"><a class="src rightside" href="../../../src/query/promql/planner.rs.html#5864-5871">Source</a><h4 class="code-header">fn <a href="#method.all_field_columns_are_native_histogram_ranges" class="fn">all_field_columns_are_native_histogram_ranges</a>(
&amp;self,
schema: &amp;DFSchemaRef,
) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.96.1/std/primitive.bool.html">bool</a></h4></section><section id="method.optional_tsid_projection" class="method"><a class="src rightside" href="../../../src/query/promql/planner.rs.html#5873-5884">Source</a><h4 class="code-header">fn <a href="#method.optional_tsid_projection" class="fn">optional_tsid_projection</a>(
schema: &amp;DFSchemaRef,
table_ref: <a class="enum" href="https://doc.rust-lang.org/1.96.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;TableReference&gt;,
keep_tsid: <a class="primitive" href="https://doc.rust-lang.org/1.96.1/std/primitive.bool.html">bool</a>,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.96.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;DfExpr&gt;</h4></section><section id="method.binary_join_key_columns" class="method"><a class="src rightside" href="../../../src/query/promql/planner.rs.html#5886-5963">Source</a><h4 class="code-header">fn <a href="#method.binary_join_key_columns" class="fn">binary_join_key_columns</a>(
&amp;self,
left_schema: &amp;DFSchemaRef,
right_schema: &amp;DFSchemaRef,
left_context: &amp;<a class="struct" href="struct.PromPlannerContext.html" title="struct query::promql::planner::PromPlannerContext">PromPlannerContext</a>,
right_context: &amp;<a class="struct" href="struct.PromPlannerContext.html" title="struct query::promql::planner::PromPlannerContext">PromPlannerContext</a>,
only_join_time_index: <a class="primitive" href="https://doc.rust-lang.org/1.96.1/std/primitive.bool.html">bool</a>,
modifier: &amp;<a class="enum" href="https://doc.rust-lang.org/1.96.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;BinModifier&gt;,
) -&gt; <a class="type" href="../error/type.Result.html" title="type query::promql::error::Result">Result</a>&lt;(<a class="struct" href="https://doc.rust-lang.org/1.96.1/alloc/collections/btree/set/struct.BTreeSet.html" title="struct alloc::collections::btree::set::BTreeSet">BTreeSet</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.96.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>&gt;, <a class="struct" href="https://doc.rust-lang.org/1.96.1/alloc/collections/btree/set/struct.BTreeSet.html" title="struct alloc::collections::btree::set::BTreeSet">BTreeSet</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.96.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>&gt;, <a class="primitive" href="https://doc.rust-lang.org/1.96.1/std/primitive.bool.html">bool</a>)&gt;</h4></section><details class="toggle method-toggle" open><summary><section id="method.binary_result_labels" class="method"><a class="src rightside" href="../../../src/query/promql/planner.rs.html#5971-6024">Source</a><h4 class="code-header">fn <a href="#method.binary_result_labels" class="fn">binary_result_labels</a>(
left_context: &amp;<a class="struct" href="struct.PromPlannerContext.html" title="struct query::promql::planner::PromPlannerContext">PromPlannerContext</a>,
right_context: &amp;<a class="struct" href="struct.PromPlannerContext.html" title="struct query::promql::planner::PromPlannerContext">PromPlannerContext</a>,
modifier: &amp;<a class="enum" href="https://doc.rust-lang.org/1.96.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;BinModifier&gt;,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.96.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.96.1/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;(<a class="primitive" href="https://doc.rust-lang.org/1.96.1/std/primitive.bool.html">bool</a>, <a class="struct" href="https://doc.rust-lang.org/1.96.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>)&gt;&gt;</h4></section></summary><div class="docblock"><p>Result labels of a vector-vector binary operation, following Prometheus <code>resultMetric</code>:
<code>on(...)</code> keeps only the matching labels, <code>ignoring(...)</code> drops them, and a group modifier
keeps the “many” side’s labels plus the <code>group_x(...)</code> labels taken from the “one” side.</p>
<p>The flag of each entry tells which operand the label is projected from. <code>None</code> means the
operation keeps a whole operand tag set, which the default projection already does.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.binary_result_label_projection" class="method"><a class="src rightside" href="../../../src/query/promql/planner.rs.html#6027-6080">Source</a><h4 class="code-header">fn <a href="#method.binary_result_label_projection" class="fn">binary_result_label_projection</a>(
schema: &amp;DFSchemaRef,
left_table_ref: &amp;TableReference,
right_table_ref: &amp;TableReference,
left_context: &amp;<a class="struct" href="struct.PromPlannerContext.html" title="struct query::promql::planner::PromPlannerContext">PromPlannerContext</a>,
right_context: &amp;<a class="struct" href="struct.PromPlannerContext.html" title="struct query::promql::planner::PromPlannerContext">PromPlannerContext</a>,
labels: <a class="struct" href="https://doc.rust-lang.org/1.96.1/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;(<a class="primitive" href="https://doc.rust-lang.org/1.96.1/std/primitive.bool.html">bool</a>, <a class="struct" href="https://doc.rust-lang.org/1.96.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>)&gt;,
) -&gt; <a class="type" href="../error/type.Result.html" title="type query::promql::error::Result">Result</a>&lt;<a class="struct" href="struct.BinaryResultLabels.html" title="struct query::promql::planner::BinaryResultLabels">BinaryResultLabels</a>&gt;</h4></section></summary><div class="docblock"><p>Resolve <a href="struct.PromPlanner.html#method.binary_result_labels" title="associated function query::promql::planner::PromPlanner::binary_result_labels"><code>Self::binary_result_labels</code></a> against the join output.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.binary_result_labels_may_repeat" class="method"><a class="src rightside" href="../../../src/query/promql/planner.rs.html#6085-6115">Source</a><h4 class="code-header">fn <a href="#method.binary_result_labels_may_repeat" class="fn">binary_result_labels_may_repeat</a>(
left_context: &amp;<a class="struct" href="struct.PromPlannerContext.html" title="struct query::promql::planner::PromPlannerContext">PromPlannerContext</a>,
right_context: &amp;<a class="struct" href="struct.PromPlannerContext.html" title="struct query::promql::planner::PromPlannerContext">PromPlannerContext</a>,
modifier: &amp;<a class="enum" href="https://doc.rust-lang.org/1.96.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;BinModifier&gt;,
) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.96.1/std/primitive.bool.html">bool</a></h4></section></summary><div class="docblock"><p>Whether the result of a binary operation can hold two series with the same labels, which
only <a href="struct.PromPlanner.html#method.binary_result_labels" title="associated function query::promql::planner::PromPlanner::binary_result_labels"><code>Self::binary_result_labels</code></a> can introduce: one-to-one matching on a subset of the
tags, or a group modifier that overwrites a label of the “many” side.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.assert_unique_match_group" class="method"><a class="src rightside" href="../../../src/query/promql/planner.rs.html#6119-6182">Source</a><h4 class="code-header">fn <a href="#method.assert_unique_match_group" class="fn">assert_unique_match_group</a>(
plan: LogicalPlan,
group_exprs: <a class="struct" href="https://doc.rust-lang.org/1.96.1/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;DfExpr&gt;,
group_labels: <a class="struct" href="https://doc.rust-lang.org/1.96.1/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.96.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>&gt;,
time_index_expr: DfExpr,
violation: MatchGroupViolation,
) -&gt; <a class="type" href="../error/type.Result.html" title="type query::promql::error::Result">Result</a>&lt;LogicalPlan&gt;</h4></section></summary><div class="docblock"><p>Wrap <code>plan</code> in a check that fails the query when a match group holds more than one row at
a timestamp. <code>group_exprs</code> are the label columns of the group, resolved against <code>plan</code>.</p>
</div></details><section id="method.binary_modifier_preserves_tsid_join_key" class="method"><a class="src rightside" href="../../../src/query/promql/planner.rs.html#6184-6220">Source</a><h4 class="code-header">fn <a href="#method.binary_modifier_preserves_tsid_join_key" class="fn">binary_modifier_preserves_tsid_join_key</a>(
&amp;self,
left_context: &amp;<a class="struct" href="struct.PromPlannerContext.html" title="struct query::promql::planner::PromPlannerContext">PromPlannerContext</a>,
right_context: &amp;<a class="struct" href="struct.PromPlannerContext.html" title="struct query::promql::planner::PromPlannerContext">PromPlannerContext</a>,
modifier: &amp;<a class="enum" href="https://doc.rust-lang.org/1.96.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;BinModifier&gt;,
) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.96.1/std/primitive.bool.html">bool</a></h4></section><details class="toggle method-toggle" open><summary><section id="method.join_on_non_field_columns" class="method"><a class="src rightside" href="../../../src/query/promql/planner.rs.html#6225-6419">Source</a><h4 class="code-header">fn <a href="#method.join_on_non_field_columns" class="fn">join_on_non_field_columns</a>(
&amp;self,
left: LogicalPlan,
right: LogicalPlan,
left_table_ref: TableReference,
right_table_ref: TableReference,
left_time_index_column: <a class="enum" href="https://doc.rust-lang.org/1.96.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.96.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>&gt;,
right_time_index_column: <a class="enum" href="https://doc.rust-lang.org/1.96.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.96.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>&gt;,
only_join_time_index: <a class="primitive" href="https://doc.rust-lang.org/1.96.1/std/primitive.bool.html">bool</a>,
modifier: &amp;<a class="enum" href="https://doc.rust-lang.org/1.96.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;BinModifier&gt;,
left_context: &amp;<a class="struct" href="struct.PromPlannerContext.html" title="struct query::promql::planner::PromPlannerContext">PromPlannerContext</a>,
right_context: &amp;<a class="struct" href="struct.PromPlannerContext.html" title="struct query::promql::planner::PromPlannerContext">PromPlannerContext</a>,
) -&gt; <a class="type" href="../error/type.Result.html" title="type query::promql::error::Result">Result</a>&lt;LogicalPlan&gt;</h4></section></summary><div class="docblock"><p>Build a inner join on time index column and tag columns to concat two logical plans.
When <code>only_join_time_index == true</code> we only join on the time index, because these two plan may not have the same tag columns</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.assert_unique_one_side" class="method"><a class="src rightside" href="../../../src/query/promql/planner.rs.html#6422-6448">Source</a><h4 class="code-header">fn <a href="#method.assert_unique_one_side" class="fn">assert_unique_one_side</a>(
plan: LogicalPlan,
join_keys: &amp;<a class="struct" href="https://doc.rust-lang.org/1.96.1/alloc/collections/btree/set/struct.BTreeSet.html" title="struct alloc::collections::btree::set::BTreeSet">BTreeSet</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.96.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>&gt;,
tag_columns: &amp;[<a class="struct" href="https://doc.rust-lang.org/1.96.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>],
time_index_column: <a class="enum" href="https://doc.rust-lang.org/1.96.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;<a class="primitive" href="https://doc.rust-lang.org/1.96.1/std/primitive.str.html">str</a>&gt;,
one_side_is_left: <a class="primitive" href="https://doc.rust-lang.org/1.96.1/std/primitive.bool.html">bool</a>,
) -&gt; <a class="type" href="../error/type.Result.html" title="type query::promql::error::Result">Result</a>&lt;LogicalPlan&gt;</h4></section></summary><div class="docblock"><p>Guard the side of a vector matching that must hold one series per match group.</p>
</div></details><section id="method.selected_binary_match_labels" class="method"><a class="src rightside" href="../../../src/query/promql/planner.rs.html#6450-6485">Source</a><h4 class="code-header">fn <a href="#method.selected_binary_match_labels" class="fn">selected_binary_match_labels</a>(
left_context: &amp;<a class="struct" href="struct.PromPlannerContext.html" title="struct query::promql::planner::PromPlannerContext">PromPlannerContext</a>,
right_context: &amp;<a class="struct" href="struct.PromPlannerContext.html" title="struct query::promql::planner::PromPlannerContext">PromPlannerContext</a>,
modifier: &amp;<a class="enum" href="https://doc.rust-lang.org/1.96.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;BinModifier&gt;,
) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.96.1/alloc/collections/btree/set/struct.BTreeSet.html" title="struct alloc::collections::btree::set::BTreeSet">BTreeSet</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.96.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>&gt;</h4></section><section id="method.only_temporality_match_label_mismatches" class="method"><a class="src rightside" href="../../../src/query/promql/planner.rs.html#6487-6503">Source</a><h4 class="code-header">fn <a href="#method.only_temporality_match_label_mismatches" class="fn">only_temporality_match_label_mismatches</a>(
left_context: &amp;<a class="struct" href="struct.PromPlannerContext.html" title="struct query::promql::planner::PromPlannerContext">PromPlannerContext</a>,
right_context: &amp;<a class="struct" href="struct.PromPlannerContext.html" title="struct query::promql::planner::PromPlannerContext">PromPlannerContext</a>,
modifier: &amp;<a class="enum" href="https://doc.rust-lang.org/1.96.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;BinModifier&gt;,
) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.96.1/std/primitive.bool.html">bool</a></h4></section><section id="method.align_temporality_match_column" class="method"><a class="src rightside" href="../../../src/query/promql/planner.rs.html#6505-6588">Source</a><h4 class="code-header">fn <a href="#method.align_temporality_match_column" class="fn">align_temporality_match_column</a>(
left: LogicalPlan,
right: LogicalPlan,
left_context: &amp;mut <a class="struct" href="struct.PromPlannerContext.html" title="struct query::promql::planner::PromPlannerContext">PromPlannerContext</a>,
right_context: &amp;mut <a class="struct" href="struct.PromPlannerContext.html" title="struct query::promql::planner::PromPlannerContext">PromPlannerContext</a>,
) -&gt; <a class="type" href="../error/type.Result.html" title="type query::promql::error::Result">Result</a>&lt;(LogicalPlan, LogicalPlan, <a class="primitive" href="https://doc.rust-lang.org/1.96.1/std/primitive.bool.html">bool</a>)&gt;</h4></section><section id="method.normalized_match_key_expr" class="method"><a class="src rightside" href="../../../src/query/promql/planner.rs.html#6590-6613">Source</a><h4 class="code-header">fn <a href="#method.normalized_match_key_expr" class="fn">normalized_match_key_expr</a>(
label: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.96.1/std/primitive.str.html">str</a>,
field: <a class="enum" href="https://doc.rust-lang.org/1.96.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;(<a class="enum" href="https://doc.rust-lang.org/1.96.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;TableReference&gt;, ArrowDataType)&gt;,
value_type: &amp;ArrowDataType,
internal_name: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.96.1/std/primitive.str.html">str</a>,
) -&gt; DfExpr</h4></section><section id="method.is_zero_row_empty_relation" class="method"><a class="src rightside" href="../../../src/query/promql/planner.rs.html#6615-6619">Source</a><h4 class="code-header">fn <a href="#method.is_zero_row_empty_relation" class="fn">is_zero_row_empty_relation</a>(plan: &amp;LogicalPlan) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.96.1/std/primitive.bool.html">bool</a></h4></section><details class="toggle method-toggle" open><summary><section id="method.set_op_on_non_field_columns" class="method"><a class="src rightside" href="../../../src/query/promql/planner.rs.html#6622-6816">Source</a><h4 class="code-header">fn <a href="#method.set_op_on_non_field_columns" class="fn">set_op_on_non_field_columns</a>(
&amp;mut self,
left: LogicalPlan,
right: LogicalPlan,
left_context: <a class="struct" href="struct.PromPlannerContext.html" title="struct query::promql::planner::PromPlannerContext">PromPlannerContext</a>,
right_context: <a class="struct" href="struct.PromPlannerContext.html" title="struct query::promql::planner::PromPlannerContext">PromPlannerContext</a>,
op: TokenType,
modifier: &amp;<a class="enum" href="https://doc.rust-lang.org/1.96.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;BinModifier&gt;,
) -&gt; <a class="type" href="../error/type.Result.html" title="type query::promql::error::Result">Result</a>&lt;LogicalPlan&gt;</h4></section></summary><div class="docblock"><p>Build a set operator (AND/OR/UNLESS)</p>
</div></details><section id="method.string_value_data_type" class="method"><a class="src rightside" href="../../../src/query/promql/planner.rs.html#6818-6824">Source</a><h4 class="code-header">fn <a href="#method.string_value_data_type" class="fn">string_value_data_type</a>(data_type: &amp;ArrowDataType) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.96.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;ArrowDataType&gt;</h4></section><section id="method.string_scalar_value" class="method"><a class="src rightside" href="../../../src/query/promql/planner.rs.html#6826-6840">Source</a><h4 class="code-header">fn <a href="#method.string_scalar_value" class="fn">string_scalar_value</a>(
data_type: &amp;ArrowDataType,
value: <a class="enum" href="https://doc.rust-lang.org/1.96.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.96.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>&gt;,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.96.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;ScalarValue&gt;</h4></section><section id="method.common_label_data_type" class="method"><a class="src rightside" href="../../../src/query/promql/planner.rs.html#6842-6871">Source</a><h4 class="code-header">fn <a href="#method.common_label_data_type" class="fn">common_label_data_type</a>(
left: <a class="enum" href="https://doc.rust-lang.org/1.96.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;ArrowDataType&gt;,
right: <a class="enum" href="https://doc.rust-lang.org/1.96.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;ArrowDataType&gt;,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.96.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;ArrowDataType&gt;</h4></section><section id="method.or_operator" class="method"><a class="src rightside" href="../../../src/query/promql/planner.rs.html#6875-7466">Source</a><h4 class="code-header">fn <a href="#method.or_operator" class="fn">or_operator</a>(
&amp;mut self,
left: LogicalPlan,
right: LogicalPlan,
left_tag_cols_set: <a class="struct" href="https://doc.rust-lang.org/1.96.1/std/collections/hash/set/struct.HashSet.html" title="struct std::collections::hash::set::HashSet">HashSet</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.96.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>&gt;,
right_tag_cols_set: <a class="struct" href="https://doc.rust-lang.org/1.96.1/std/collections/hash/set/struct.HashSet.html" title="struct std::collections::hash::set::HashSet">HashSet</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.96.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>&gt;,
left_context: <a class="struct" href="struct.PromPlannerContext.html" title="struct query::promql::planner::PromPlannerContext">PromPlannerContext</a>,
right_context: <a class="struct" href="struct.PromPlannerContext.html" title="struct query::promql::planner::PromPlannerContext">PromPlannerContext</a>,
modifier: &amp;<a class="enum" href="https://doc.rust-lang.org/1.96.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;BinModifier&gt;,
) -&gt; <a class="type" href="../error/type.Result.html" title="type query::promql::error::Result">Result</a>&lt;LogicalPlan&gt;</h4></section><details class="toggle method-toggle" open><summary><section id="method.projection_for_each_field_column" class="method"><a class="src rightside" href="../../../src/query/promql/planner.rs.html#7475-7484">Source</a><h4 class="code-header">fn <a href="#method.projection_for_each_field_column" class="fn">projection_for_each_field_column</a>&lt;F&gt;(
&amp;mut self,
input: LogicalPlan,
name_to_expr: F,
) -&gt; <a class="type" href="../error/type.Result.html" title="type query::promql::error::Result">Result</a>&lt;LogicalPlan&gt;<div class="where">where
F: <a class="trait" href="https://doc.rust-lang.org/1.96.1/core/ops/function/trait.FnMut.html" title="trait core::ops::function::FnMut">FnMut</a>(&amp;<a class="struct" href="https://doc.rust-lang.org/1.96.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>) -&gt; <a class="type" href="../error/type.Result.html" title="type query::promql::error::Result">Result</a>&lt;DfExpr&gt;,</div></h4></section></summary><div class="docblock"><p>Build a projection that project and perform operation expr for every value columns.
Non-value columns (tag and timestamp) will be preserved in the projection.</p>
<h5 id="side-effect-1"><a class="doc-anchor" href="#side-effect-1">§</a>Side effect</h5>
<p>This function will update the value columns in the context. Those new column names
don’t contains qualifier.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.projection_for_each_field_column_with_labels" class="method"><a class="src rightside" href="../../../src/query/promql/planner.rs.html#7488-7560">Source</a><h4 class="code-header">fn <a href="#method.projection_for_each_field_column_with_labels" class="fn">projection_for_each_field_column_with_labels</a>&lt;F&gt;(
&amp;mut self,
input: LogicalPlan,
result_labels: <a class="enum" href="https://doc.rust-lang.org/1.96.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;<a class="struct" href="struct.BinaryResultLabels.html" title="struct query::promql::planner::BinaryResultLabels">BinaryResultLabels</a>&gt;,
name_to_expr: F,
) -&gt; <a class="type" href="../error/type.Result.html" title="type query::promql::error::Result">Result</a>&lt;LogicalPlan&gt;<div class="where">where
F: <a class="trait" href="https://doc.rust-lang.org/1.96.1/core/ops/function/trait.FnMut.html" title="trait core::ops::function::FnMut">FnMut</a>(&amp;<a class="struct" href="https://doc.rust-lang.org/1.96.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>) -&gt; <a class="type" href="../error/type.Result.html" title="type query::promql::error::Result">Result</a>&lt;DfExpr&gt;,</div></h4></section></summary><div class="docblock"><p>Like <a href="struct.PromPlanner.html#method.projection_for_each_field_column" title="method query::promql::planner::PromPlanner::projection_for_each_field_column"><code>Self::projection_for_each_field_column</code></a>, but projects <code>result_labels</code> instead of
the context tag columns when a binary operation derived its own result label set.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.filter_on_field_column" class="method"><a class="src rightside" href="../../../src/query/promql/planner.rs.html#7563-7594">Source</a><h4 class="code-header">fn <a href="#method.filter_on_field_column" class="fn">filter_on_field_column</a>&lt;F&gt;(
&amp;self,
input: LogicalPlan,
name_to_expr: F,
) -&gt; <a class="type" href="../error/type.Result.html" title="type query::promql::error::Result">Result</a>&lt;LogicalPlan&gt;<div class="where">where
F: <a class="trait" href="https://doc.rust-lang.org/1.96.1/core/ops/function/trait.FnMut.html" title="trait core::ops::function::FnMut">FnMut</a>(&amp;<a class="struct" href="https://doc.rust-lang.org/1.96.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>) -&gt; <a class="type" href="../error/type.Result.html" title="type query::promql::error::Result">Result</a>&lt;DfExpr&gt;,</div></h4></section></summary><div class="docblock"><p>Build a filter plan on one value column or a float/histogram alternative pair.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.date_part_on_time_index" class="method"><a class="src rightside" href="../../../src/query/promql/planner.rs.html#7598-7613">Source</a><h4 class="code-header">fn <a href="#method.date_part_on_time_index" class="fn">date_part_on_time_index</a>(&amp;self, date_part: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.96.1/std/primitive.str.html">str</a>) -&gt; <a class="type" href="../error/type.Result.html" title="type query::promql::error::Result">Result</a>&lt;DfExpr&gt;</h4></section></summary><div class="docblock"><p>Generate an expr like <code>date_part("hour", &lt;TIME_INDEX&gt;)</code>. Caller should ensure the
time index column in context is set</p>
</div></details><section id="method.strip_tsid_column" class="method"><a class="src rightside" href="../../../src/query/promql/planner.rs.html#7615-7640">Source</a><h4 class="code-header">fn <a href="#method.strip_tsid_column" class="fn">strip_tsid_column</a>(&amp;self, plan: LogicalPlan) -&gt; <a class="type" href="../error/type.Result.html" title="type query::promql::error::Result">Result</a>&lt;LogicalPlan&gt;</h4></section><details class="toggle method-toggle" open><summary><section id="method.apply_alias" class="method"><a class="src rightside" href="../../../src/query/promql/planner.rs.html#7643-7665">Source</a><h4 class="code-header">fn <a href="#method.apply_alias" class="fn">apply_alias</a>(
&amp;mut self,
plan: LogicalPlan,
alias_name: <a class="struct" href="https://doc.rust-lang.org/1.96.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>,
) -&gt; <a class="type" href="../error/type.Result.html" title="type query::promql::error::Result">Result</a>&lt;LogicalPlan&gt;</h4></section></summary><div class="docblock"><p>Apply an alias to the query result by adding a projection with the alias name</p>
</div></details></div></details></div><h2 id="synthetic-implementations" class="section-header">Auto Trait Implementations<a href="#synthetic-implementations" class="anchor">§</a></h2><div id="synthetic-implementations-list"><section id="impl-Freeze-for-PromPlanner" class="impl"><a href="#impl-Freeze-for-PromPlanner" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.96.1/core/marker/trait.Freeze.html" title="trait core::marker::Freeze">Freeze</a> for <a class="struct" href="struct.PromPlanner.html" title="struct query::promql::planner::PromPlanner">PromPlanner</a></h3></section><section id="impl-RefUnwindSafe-for-PromPlanner" class="impl"><a href="#impl-RefUnwindSafe-for-PromPlanner" class="anchor">§</a><h3 class="code-header">impl !<a class="trait" href="https://doc.rust-lang.org/1.96.1/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="struct.PromPlanner.html" title="struct query::promql::planner::PromPlanner">PromPlanner</a></h3></section><section id="impl-Send-for-PromPlanner" class="impl"><a href="#impl-Send-for-PromPlanner" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.96.1/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="struct.PromPlanner.html" title="struct query::promql::planner::PromPlanner">PromPlanner</a></h3></section><section id="impl-Sync-for-PromPlanner" class="impl"><a href="#impl-Sync-for-PromPlanner" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.96.1/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="struct.PromPlanner.html" title="struct query::promql::planner::PromPlanner">PromPlanner</a></h3></section><section id="impl-Unpin-for-PromPlanner" class="impl"><a href="#impl-Unpin-for-PromPlanner" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.96.1/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="struct.PromPlanner.html" title="struct query::promql::planner::PromPlanner">PromPlanner</a></h3></section><section id="impl-UnsafeUnpin-for-PromPlanner" class="impl"><a href="#impl-UnsafeUnpin-for-PromPlanner" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.96.1/core/marker/trait.UnsafeUnpin.html" title="trait core::marker::UnsafeUnpin">UnsafeUnpin</a> for <a class="struct" href="struct.PromPlanner.html" title="struct query::promql::planner::PromPlanner">PromPlanner</a></h3></section><section id="impl-UnwindSafe-for-PromPlanner" class="impl"><a href="#impl-UnwindSafe-for-PromPlanner" class="anchor">§</a><h3 class="code-header">impl !<a class="trait" href="https://doc.rust-lang.org/1.96.1/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a> for <a class="struct" href="struct.PromPlanner.html" title="struct query::promql::planner::PromPlanner">PromPlanner</a></h3></section></div><h2 id="blanket-implementations" class="section-header">Blanket Implementations<a href="#blanket-implementations" class="anchor">§</a></h2><div id="blanket-implementations-list"><details class="toggle implementors-toggle"><summary><section id="impl-Any-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.96.1/src/core/any.rs.html#141">Source</a><a href="#impl-Any-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.96.1/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T<div class="where">where
T: 'static + ?<a class="trait" href="https://doc.rust-lang.org/1.96.1/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.type_id" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.96.1/src/core/any.rs.html#142">Source</a><a href="#method.type_id" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.96.1/core/any/trait.Any.html#tymethod.type_id" class="fn">type_id</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.96.1/core/any/struct.TypeId.html" title="struct core::any::TypeId">TypeId</a></h4></section></summary><div class='docblock'>Gets the <code>TypeId</code> of <code>self</code>. <a href="https://doc.rust-lang.org/1.96.1/core/any/trait.Any.html#tymethod.type_id">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Borrow%3CT%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.96.1/src/core/borrow.rs.html#212">Source</a><a href="#impl-Borrow%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.96.1/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a>&lt;T&gt; for T<div class="where">where
T: ?<a class="trait" href="https://doc.rust-lang.org/1.96.1/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.borrow" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.96.1/src/core/borrow.rs.html#214">Source</a><a href="#method.borrow" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.96.1/core/borrow/trait.Borrow.html#tymethod.borrow" class="fn">borrow</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.96.1/std/primitive.reference.html">&amp;T</a></h4></section></summary><div class='docblock'>Immutably borrows from an owned value. <a href="https://doc.rust-lang.org/1.96.1/core/borrow/trait.Borrow.html#tymethod.borrow">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-BorrowMut%3CT%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.96.1/src/core/borrow.rs.html#221">Source</a><a href="#impl-BorrowMut%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.96.1/core/borrow/trait.BorrowMut.html" title="trait core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt; for T<div class="where">where
T: ?<a class="trait" href="https://doc.rust-lang.org/1.96.1/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.borrow_mut" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.96.1/src/core/borrow.rs.html#222">Source</a><a href="#method.borrow_mut" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.96.1/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut" class="fn">borrow_mut</a>(&amp;mut self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.96.1/std/primitive.reference.html">&amp;mut T</a></h4></section></summary><div class='docblock'>Mutably borrows from an owned value. <a href="https://doc.rust-lang.org/1.96.1/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Conv-for-T" class="impl"><a href="#impl-Conv-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; Conv for T</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.conv" class="method trait-impl"><a href="#method.conv" class="anchor">§</a><h4 class="code-header">fn <a class="fn">conv</a>&lt;T&gt;(self) -&gt; T<div class="where">where
Self: <a class="trait" href="https://doc.rust-lang.org/1.96.1/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;T&gt;,</div></h4></section></summary><div class='docblock'>Converts <code>self</code> into <code>T</code> using <code>Into&lt;T&gt;</code>. <a>Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-FmtForward-for-T" class="impl"><a href="#impl-FmtForward-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; FmtForward for T</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.fmt_binary" class="method trait-impl"><a href="#method.fmt_binary" class="anchor">§</a><h4 class="code-header">fn <a class="fn">fmt_binary</a>(self) -&gt; FmtBinary&lt;Self&gt;<div class="where">where
Self: <a class="trait" href="https://doc.rust-lang.org/1.96.1/core/fmt/trait.Binary.html" title="trait core::fmt::Binary">Binary</a>,</div></h4></section></summary><div class='docblock'>Causes <code>self</code> to use its <code>Binary</code> implementation when <code>Debug</code>-formatted.</div></details><details class="toggle method-toggle" open><summary><section id="method.fmt_display" class="method trait-impl"><a href="#method.fmt_display" class="anchor">§</a><h4 class="code-header">fn <a class="fn">fmt_display</a>(self) -&gt; FmtDisplay&lt;Self&gt;<div class="where">where
Self: <a class="trait" href="https://doc.rust-lang.org/1.96.1/core/fmt/trait.Display.html" title="trait core::fmt::Display">Display</a>,</div></h4></section></summary><div class='docblock'>Causes <code>self</code> to use its <code>Display</code> implementation when
<code>Debug</code>-formatted.</div></details><details class="toggle method-toggle" open><summary><section id="method.fmt_lower_exp" class="method trait-impl"><a href="#method.fmt_lower_exp" class="anchor">§</a><h4 class="code-header">fn <a class="fn">fmt_lower_exp</a>(self) -&gt; FmtLowerExp&lt;Self&gt;<div class="where">where
Self: <a class="trait" href="https://doc.rust-lang.org/1.96.1/core/fmt/trait.LowerExp.html" title="trait core::fmt::LowerExp">LowerExp</a>,</div></h4></section></summary><div class='docblock'>Causes <code>self</code> to use its <code>LowerExp</code> implementation when
<code>Debug</code>-formatted.</div></details><details class="toggle method-toggle" open><summary><section id="method.fmt_lower_hex" class="method trait-impl"><a href="#method.fmt_lower_hex" class="anchor">§</a><h4 class="code-header">fn <a class="fn">fmt_lower_hex</a>(self) -&gt; FmtLowerHex&lt;Self&gt;<div class="where">where
Self: <a class="trait" href="https://doc.rust-lang.org/1.96.1/core/fmt/trait.LowerHex.html" title="trait core::fmt::LowerHex">LowerHex</a>,</div></h4></section></summary><div class='docblock'>Causes <code>self</code> to use its <code>LowerHex</code> implementation when
<code>Debug</code>-formatted.</div></details><details class="toggle method-toggle" open><summary><section id="method.fmt_octal" class="method trait-impl"><a href="#method.fmt_octal" class="anchor">§</a><h4 class="code-header">fn <a class="fn">fmt_octal</a>(self) -&gt; FmtOctal&lt;Self&gt;<div class="where">where
Self: <a class="trait" href="https://doc.rust-lang.org/1.96.1/core/fmt/trait.Octal.html" title="trait core::fmt::Octal">Octal</a>,</div></h4></section></summary><div class='docblock'>Causes <code>self</code> to use its <code>Octal</code> implementation when <code>Debug</code>-formatted.</div></details><details class="toggle method-toggle" open><summary><section id="method.fmt_pointer" class="method trait-impl"><a href="#method.fmt_pointer" class="anchor">§</a><h4 class="code-header">fn <a class="fn">fmt_pointer</a>(self) -&gt; FmtPointer&lt;Self&gt;<div class="where">where
Self: <a class="trait" href="https://doc.rust-lang.org/1.96.1/core/fmt/trait.Pointer.html" title="trait core::fmt::Pointer">Pointer</a>,</div></h4></section></summary><div class='docblock'>Causes <code>self</code> to use its <code>Pointer</code> implementation when
<code>Debug</code>-formatted.</div></details><details class="toggle method-toggle" open><summary><section id="method.fmt_upper_exp" class="method trait-impl"><a href="#method.fmt_upper_exp" class="anchor">§</a><h4 class="code-header">fn <a class="fn">fmt_upper_exp</a>(self) -&gt; FmtUpperExp&lt;Self&gt;<div class="where">where
Self: <a class="trait" href="https://doc.rust-lang.org/1.96.1/core/fmt/trait.UpperExp.html" title="trait core::fmt::UpperExp">UpperExp</a>,</div></h4></section></summary><div class='docblock'>Causes <code>self</code> to use its <code>UpperExp</code> implementation when
<code>Debug</code>-formatted.</div></details><details class="toggle method-toggle" open><summary><section id="method.fmt_upper_hex" class="method trait-impl"><a href="#method.fmt_upper_hex" class="anchor">§</a><h4 class="code-header">fn <a class="fn">fmt_upper_hex</a>(self) -&gt; FmtUpperHex&lt;Self&gt;<div class="where">where
Self: <a class="trait" href="https://doc.rust-lang.org/1.96.1/core/fmt/trait.UpperHex.html" title="trait core::fmt::UpperHex">UpperHex</a>,</div></h4></section></summary><div class='docblock'>Causes <code>self</code> to use its <code>UpperHex</code> implementation when
<code>Debug</code>-formatted.</div></details><details class="toggle method-toggle" open><summary><section id="method.fmt_list" class="method trait-impl"><a href="#method.fmt_list" class="anchor">§</a><h4 class="code-header">fn <a class="fn">fmt_list</a>(self) -&gt; FmtList&lt;Self&gt;<div class="where">where
&amp;'a Self: for&lt;'a&gt; <a class="trait" href="https://doc.rust-lang.org/1.96.1/core/iter/traits/collect/trait.IntoIterator.html" title="trait core::iter::traits::collect::IntoIterator">IntoIterator</a>,</div></h4></section></summary><div class='docblock'>Formats each item in a sequence. <a>Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-From%3CT%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.96.1/src/core/convert/mod.rs.html#785">Source</a><a href="#impl-From%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.96.1/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;T&gt; for T</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.96.1/src/core/convert/mod.rs.html#788">Source</a><a href="#method.from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.96.1/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(t: T) -&gt; T</h4></section></summary><div class="docblock"><p>Returns the argument unchanged.</p>
</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-FutureExt-for-T" class="impl"><a href="#impl-FutureExt-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; FutureExt for T</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.with_context" class="method trait-impl"><a href="#method.with_context" class="anchor">§</a><h4 class="code-header">fn <a class="fn">with_context</a>(self, otel_cx: Context) -&gt; WithContext&lt;Self&gt;</h4></section></summary><div class='docblock'>Attaches the provided <a href="Context"><code>Context</code></a> to this type, returning a <code>WithContext</code>
wrapper. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.with_current_context" class="method trait-impl"><a href="#method.with_current_context" class="anchor">§</a><h4 class="code-header">fn <a class="fn">with_current_context</a>(self) -&gt; WithContext&lt;Self&gt;</h4></section></summary><div class='docblock'>Attaches the current <a href="Context"><code>Context</code></a> to this type, returning a <code>WithContext</code>
wrapper. <a>Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Instrument-for-T" class="impl"><a href="#impl-Instrument-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; Instrument for T</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.instrument" class="method trait-impl"><a href="#method.instrument" class="anchor">§</a><h4 class="code-header">fn <a class="fn">instrument</a>(self, span: Span) -&gt; Instrumented&lt;Self&gt;</h4></section></summary><div class='docblock'>Instruments this type with the provided [<code>Span</code>], returning an
<code>Instrumented</code> wrapper. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.in_current_span" class="method trait-impl"><a href="#method.in_current_span" class="anchor">§</a><h4 class="code-header">fn <a class="fn">in_current_span</a>(self) -&gt; Instrumented&lt;Self&gt;</h4></section></summary><div class='docblock'>Instruments this type with the <a href="super::Span::current()">current</a> <a href="crate::Span"><code>Span</code></a>, returning an
<code>Instrumented</code> wrapper. <a>Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Into%3CU%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.96.1/src/core/convert/mod.rs.html#767-769">Source</a><a href="#impl-Into%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T, U&gt; <a class="trait" href="https://doc.rust-lang.org/1.96.1/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;U&gt; for T<div class="where">where
U: <a class="trait" href="https://doc.rust-lang.org/1.96.1/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;T&gt;,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.96.1/src/core/convert/mod.rs.html#777">Source</a><a href="#method.into" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.96.1/core/convert/trait.Into.html#tymethod.into" class="fn">into</a>(self) -&gt; U</h4></section></summary><div class="docblock"><p>Calls <code>U::from(self)</code>.</p>
<p>That is, this conversion is whatever the implementation of
<code><a href="https://doc.rust-lang.org/1.96.1/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;T&gt; for U</code> chooses to do.</p>
</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoEither-for-T" class="impl"><a class="src rightside" href="https://docs.rs/either/1/src/either/into_either.rs.html#64">Source</a><a href="#impl-IntoEither-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://docs.rs/either/1/either/into_either/trait.IntoEither.html" title="trait either::into_either::IntoEither">IntoEither</a> for T</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into_either" class="method trait-impl"><a class="src rightside" href="https://docs.rs/either/1/src/either/into_either.rs.html#29">Source</a><a href="#method.into_either" class="anchor">§</a><h4 class="code-header">fn <a href="https://docs.rs/either/1/either/into_either/trait.IntoEither.html#method.into_either" class="fn">into_either</a>(self, into_left: <a class="primitive" href="https://doc.rust-lang.org/1.96.1/std/primitive.bool.html">bool</a>) -&gt; <a class="enum" href="https://docs.rs/either/1/either/enum.Either.html" title="enum either::Either">Either</a>&lt;Self, Self&gt;</h4></section></summary><div class='docblock'>Converts <code>self</code> into a <a href="https://docs.rs/either/1/either/enum.Either.html#variant.Left" title="variant either::Either::Left"><code>Left</code></a> variant of <a href="https://docs.rs/either/1/either/enum.Either.html" title="enum either::Either"><code>Either&lt;Self, Self&gt;</code></a>
if <code>into_left</code> is <code>true</code>.
Converts <code>self</code> into a <a href="https://docs.rs/either/1/either/enum.Either.html#variant.Right" title="variant either::Either::Right"><code>Right</code></a> variant of <a href="https://docs.rs/either/1/either/enum.Either.html" title="enum either::Either"><code>Either&lt;Self, Self&gt;</code></a>
otherwise. <a href="https://docs.rs/either/1/either/into_either/trait.IntoEither.html#method.into_either">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.into_either_with" class="method trait-impl"><a class="src rightside" href="https://docs.rs/either/1/src/either/into_either.rs.html#55-57">Source</a><a href="#method.into_either_with" class="anchor">§</a><h4 class="code-header">fn <a href="https://docs.rs/either/1/either/into_either/trait.IntoEither.html#method.into_either_with" class="fn">into_either_with</a>&lt;F&gt;(self, into_left: F) -&gt; <a class="enum" href="https://docs.rs/either/1/either/enum.Either.html" title="enum either::Either">Either</a>&lt;Self, Self&gt;<div class="where">where
F: <a class="trait" href="https://doc.rust-lang.org/1.96.1/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(&amp;Self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.96.1/std/primitive.bool.html">bool</a>,</div></h4></section></summary><div class='docblock'>Converts <code>self</code> into a <a href="https://docs.rs/either/1/either/enum.Either.html#variant.Left" title="variant either::Either::Left"><code>Left</code></a> variant of <a href="https://docs.rs/either/1/either/enum.Either.html" title="enum either::Either"><code>Either&lt;Self, Self&gt;</code></a>
if <code>into_left(&amp;self)</code> returns <code>true</code>.
Converts <code>self</code> into a <a href="https://docs.rs/either/1/either/enum.Either.html#variant.Right" title="variant either::Either::Right"><code>Right</code></a> variant of <a href="https://docs.rs/either/1/either/enum.Either.html" title="enum either::Either"><code>Either&lt;Self, Self&gt;</code></a>
otherwise. <a href="https://docs.rs/either/1/either/into_either/trait.IntoEither.html#method.into_either_with">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoRequest%3CT%3E-for-T" class="impl"><a href="#impl-IntoRequest%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; IntoRequest&lt;T&gt; for T</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into_request" class="method trait-impl"><a href="#method.into_request" class="anchor">§</a><h4 class="code-header">fn <a class="fn">into_request</a>(self) -&gt; Request&lt;T&gt;</h4></section></summary><div class='docblock'>Wrap the input message <code>T</code> in a <code>tonic::Request</code></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-LayerExt%3CL%3E-for-L" class="impl"><a href="#impl-LayerExt%3CL%3E-for-L" class="anchor">§</a><h3 class="code-header">impl&lt;L&gt; LayerExt&lt;L&gt; for L</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.named_layer" class="method trait-impl"><a href="#method.named_layer" class="anchor">§</a><h4 class="code-header">fn <a class="fn">named_layer</a>&lt;S&gt;(&amp;self, service: S) -&gt; Layered&lt;&lt;L as Layer&lt;S&gt;&gt;::Service, S&gt;<div class="where">where
L: Layer&lt;S&gt;,</div></h4></section></summary><div class='docblock'>Applies the layer to a service and wraps it in [<code>Layered</code>].</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Pipe-for-T" class="impl"><a href="#impl-Pipe-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; Pipe for T<div class="where">where
T: ?<a class="trait" href="https://doc.rust-lang.org/1.96.1/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.pipe" class="method trait-impl"><a href="#method.pipe" class="anchor">§</a><h4 class="code-header">fn <a class="fn">pipe</a>&lt;R&gt;(self, func: impl <a class="trait" href="https://doc.rust-lang.org/1.96.1/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(Self) -&gt; R) -&gt; R<div class="where">where
Self: <a class="trait" href="https://doc.rust-lang.org/1.96.1/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Pipes by value. This is generally the method you want to use. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.pipe_ref" class="method trait-impl"><a href="#method.pipe_ref" class="anchor">§</a><h4 class="code-header">fn <a class="fn">pipe_ref</a>&lt;'a, R&gt;(&amp;'a self, func: impl <a class="trait" href="https://doc.rust-lang.org/1.96.1/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(&amp;'a Self) -&gt; R) -&gt; R<div class="where">where
R: 'a,</div></h4></section></summary><div class='docblock'>Borrows <code>self</code> and passes that borrow into the pipe function. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.pipe_ref_mut" class="method trait-impl"><a href="#method.pipe_ref_mut" class="anchor">§</a><h4 class="code-header">fn <a class="fn">pipe_ref_mut</a>&lt;'a, R&gt;(&amp;'a mut self, func: impl <a class="trait" href="https://doc.rust-lang.org/1.96.1/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(&amp;'a mut Self) -&gt; R) -&gt; R<div class="where">where
R: 'a,</div></h4></section></summary><div class='docblock'>Mutably borrows <code>self</code> and passes that borrow into the pipe function. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.pipe_borrow" class="method trait-impl"><a href="#method.pipe_borrow" class="anchor">§</a><h4 class="code-header">fn <a class="fn">pipe_borrow</a>&lt;'a, B, R&gt;(&amp;'a self, func: impl <a class="trait" href="https://doc.rust-lang.org/1.96.1/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(<a class="primitive" href="https://doc.rust-lang.org/1.96.1/std/primitive.reference.html">&amp;'a B</a>) -&gt; R) -&gt; R<div class="where">where
Self: <a class="trait" href="https://doc.rust-lang.org/1.96.1/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a>&lt;B&gt;,
B: 'a + ?<a class="trait" href="https://doc.rust-lang.org/1.96.1/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,
R: 'a,</div></h4></section></summary><div class='docblock'>Borrows <code>self</code>, then passes <code>self.borrow()</code> into the pipe function. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.pipe_borrow_mut" class="method trait-impl"><a href="#method.pipe_borrow_mut" class="anchor">§</a><h4 class="code-header">fn <a class="fn">pipe_borrow_mut</a>&lt;'a, B, R&gt;(
&amp;'a mut self,
func: impl <a class="trait" href="https://doc.rust-lang.org/1.96.1/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(<a class="primitive" href="https://doc.rust-lang.org/1.96.1/std/primitive.reference.html">&amp;'a mut B</a>) -&gt; R,
) -&gt; R<div class="where">where
Self: <a class="trait" href="https://doc.rust-lang.org/1.96.1/core/borrow/trait.BorrowMut.html" title="trait core::borrow::BorrowMut">BorrowMut</a>&lt;B&gt;,
B: 'a + ?<a class="trait" href="https://doc.rust-lang.org/1.96.1/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,
R: 'a,</div></h4></section></summary><div class='docblock'>Mutably borrows <code>self</code>, then passes <code>self.borrow_mut()</code> into the pipe
function. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.pipe_as_ref" class="method trait-impl"><a href="#method.pipe_as_ref" class="anchor">§</a><h4 class="code-header">fn <a class="fn">pipe_as_ref</a>&lt;'a, U, R&gt;(&amp;'a self, func: impl <a class="trait" href="https://doc.rust-lang.org/1.96.1/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(<a class="primitive" href="https://doc.rust-lang.org/1.96.1/std/primitive.reference.html">&amp;'a U</a>) -&gt; R) -&gt; R<div class="where">where
Self: <a class="trait" href="https://doc.rust-lang.org/1.96.1/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a>&lt;U&gt;,
U: 'a + ?<a class="trait" href="https://doc.rust-lang.org/1.96.1/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,
R: 'a,</div></h4></section></summary><div class='docblock'>Borrows <code>self</code>, then passes <code>self.as_ref()</code> into the pipe function.</div></details><details class="toggle method-toggle" open><summary><section id="method.pipe_as_mut" class="method trait-impl"><a href="#method.pipe_as_mut" class="anchor">§</a><h4 class="code-header">fn <a class="fn">pipe_as_mut</a>&lt;'a, U, R&gt;(&amp;'a mut self, func: impl <a class="trait" href="https://doc.rust-lang.org/1.96.1/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(<a class="primitive" href="https://doc.rust-lang.org/1.96.1/std/primitive.reference.html">&amp;'a mut U</a>) -&gt; R) -&gt; R<div class="where">where
Self: <a class="trait" href="https://doc.rust-lang.org/1.96.1/core/convert/trait.AsMut.html" title="trait core::convert::AsMut">AsMut</a>&lt;U&gt;,
U: 'a + ?<a class="trait" href="https://doc.rust-lang.org/1.96.1/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,
R: 'a,</div></h4></section></summary><div class='docblock'>Mutably borrows <code>self</code>, then passes <code>self.as_mut()</code> into the pipe
function.</div></details><details class="toggle method-toggle" open><summary><section id="method.pipe_deref" class="method trait-impl"><a href="#method.pipe_deref" class="anchor">§</a><h4 class="code-header">fn <a class="fn">pipe_deref</a>&lt;'a, T, R&gt;(&amp;'a self, func: impl <a class="trait" href="https://doc.rust-lang.org/1.96.1/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(<a class="primitive" href="https://doc.rust-lang.org/1.96.1/std/primitive.reference.html">&amp;'a T</a>) -&gt; R) -&gt; R<div class="where">where
Self: <a class="trait" href="https://doc.rust-lang.org/1.96.1/core/ops/deref/trait.Deref.html" title="trait core::ops::deref::Deref">Deref</a>&lt;Target = T&gt;,
T: 'a + ?<a class="trait" href="https://doc.rust-lang.org/1.96.1/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,
R: 'a,</div></h4></section></summary><div class='docblock'>Borrows <code>self</code>, then passes <code>self.deref()</code> into the pipe function.</div></details><details class="toggle method-toggle" open><summary><section id="method.pipe_deref_mut" class="method trait-impl"><a href="#method.pipe_deref_mut" class="anchor">§</a><h4 class="code-header">fn <a class="fn">pipe_deref_mut</a>&lt;'a, T, R&gt;(
&amp;'a mut self,
func: impl <a class="trait" href="https://doc.rust-lang.org/1.96.1/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(<a class="primitive" href="https://doc.rust-lang.org/1.96.1/std/primitive.reference.html">&amp;'a mut T</a>) -&gt; R,
) -&gt; R<div class="where">where
Self: <a class="trait" href="https://doc.rust-lang.org/1.96.1/core/ops/deref/trait.DerefMut.html" title="trait core::ops::deref::DerefMut">DerefMut</a>&lt;Target = T&gt; + <a class="trait" href="https://doc.rust-lang.org/1.96.1/core/ops/deref/trait.Deref.html" title="trait core::ops::deref::Deref">Deref</a>,
T: 'a + ?<a class="trait" href="https://doc.rust-lang.org/1.96.1/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,
R: 'a,</div></h4></section></summary><div class='docblock'>Mutably borrows <code>self</code>, then passes <code>self.deref_mut()</code> into the pipe
function.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Pointable-for-T" class="impl"><a href="#impl-Pointable-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; Pointable for T</h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedconstant.ALIGN" class="associatedconstant trait-impl"><a href="#associatedconstant.ALIGN" class="anchor">§</a><h4 class="code-header">const <a class="constant">ALIGN</a>: <a class="primitive" href="https://doc.rust-lang.org/1.96.1/std/primitive.usize.html">usize</a></h4></section></summary><div class='docblock'>The alignment of pointer.</div></details><details class="toggle" open><summary><section id="associatedtype.Init" class="associatedtype trait-impl"><a href="#associatedtype.Init" class="anchor">§</a><h4 class="code-header">type <a class="associatedtype">Init</a> = T</h4></section></summary><div class='docblock'>The type for initializers.</div></details><details class="toggle method-toggle" open><summary><section id="method.init" class="method trait-impl"><a href="#method.init" class="anchor">§</a><h4 class="code-header">unsafe fn <a class="fn">init</a>(init: &lt;T as Pointable&gt;::Init) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.96.1/std/primitive.usize.html">usize</a></h4></section></summary><div class='docblock'>Initializes a with the given initializer. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.deref" class="method trait-impl"><a href="#method.deref" class="anchor">§</a><h4 class="code-header">unsafe fn <a class="fn">deref</a>&lt;'a&gt;(ptr: <a class="primitive" href="https://doc.rust-lang.org/1.96.1/std/primitive.usize.html">usize</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.96.1/std/primitive.reference.html">&amp;'a T</a></h4></section></summary><div class='docblock'>Dereferences the given pointer. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.deref_mut" class="method trait-impl"><a href="#method.deref_mut" class="anchor">§</a><h4 class="code-header">unsafe fn <a class="fn">deref_mut</a>&lt;'a&gt;(ptr: <a class="primitive" href="https://doc.rust-lang.org/1.96.1/std/primitive.usize.html">usize</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.96.1/std/primitive.reference.html">&amp;'a mut T</a></h4></section></summary><div class='docblock'>Mutably dereferences the given pointer. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.drop" class="method trait-impl"><a href="#method.drop" class="anchor">§</a><h4 class="code-header">unsafe fn <a class="fn">drop</a>(ptr: <a class="primitive" href="https://doc.rust-lang.org/1.96.1/std/primitive.usize.html">usize</a>)</h4></section></summary><div class='docblock'>Drops the object pointed to by the given pointer. <a>Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-PolicyExt-for-T" class="impl"><a href="#impl-PolicyExt-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; PolicyExt for T<div class="where">where
T: ?<a class="trait" href="https://doc.rust-lang.org/1.96.1/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.and" class="method trait-impl"><a href="#method.and" class="anchor">§</a><h4 class="code-header">fn <a class="fn">and</a>&lt;P, B, E&gt;(self, other: P) -&gt; And&lt;T, P&gt;<div class="where">where
T: Policy&lt;B, E&gt;,
P: Policy&lt;B, E&gt;,</div></h4></section></summary><div class='docblock'>Create a new <code>Policy</code> that returns [<code>Action::Follow</code>] only if <code>self</code> and <code>other</code> return
<code>Action::Follow</code>. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.or" class="method trait-impl"><a href="#method.or" class="anchor">§</a><h4 class="code-header">fn <a class="fn">or</a>&lt;P, B, E&gt;(self, other: P) -&gt; Or&lt;T, P&gt;<div class="where">where
T: Policy&lt;B, E&gt;,
P: Policy&lt;B, E&gt;,</div></h4></section></summary><div class='docblock'>Create a new <code>Policy</code> that returns [<code>Action::Follow</code>] if either <code>self</code> or <code>other</code> returns
<code>Action::Follow</code>. <a>Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Same-for-T" class="impl"><a class="src rightside" href="https://docs.rs/typenum/1.20.1/src/typenum/type_operators.rs.html#34">Source</a><a href="#impl-Same-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://docs.rs/typenum/1.20.1/typenum/type_operators/trait.Same.html" title="trait typenum::type_operators::Same">Same</a> for T</h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output" class="associatedtype trait-impl"><a class="src rightside" href="https://docs.rs/typenum/1.20.1/src/typenum/type_operators.rs.html#35">Source</a><a href="#associatedtype.Output" class="anchor">§</a><h4 class="code-header">type <a href="https://docs.rs/typenum/1.20.1/typenum/type_operators/trait.Same.html#associatedtype.Output" class="associatedtype">Output</a> = T</h4></section></summary><div class='docblock'>Should always be <code>Self</code></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-ServiceExt-for-T" class="impl"><a href="#impl-ServiceExt-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; ServiceExt for T</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.propagate_header" class="method trait-impl"><a href="#method.propagate_header" class="anchor">§</a><h4 class="code-header">fn <a class="fn">propagate_header</a>(self, header: HeaderName) -&gt; PropagateHeader&lt;Self&gt;<div class="where">where
Self: <a class="trait" href="https://doc.rust-lang.org/1.96.1/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Propagate a header from the request to the response. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.add_extension" class="method trait-impl"><a href="#method.add_extension" class="anchor">§</a><h4 class="code-header">fn <a class="fn">add_extension</a>&lt;T&gt;(self, value: T) -&gt; AddExtension&lt;Self, T&gt;<div class="where">where
Self: <a class="trait" href="https://doc.rust-lang.org/1.96.1/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Add some shareable value to <a href="https://docs.rs/http/latest/http/struct.Extensions.html">request extensions</a>. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.map_request_body" class="method trait-impl"><a href="#method.map_request_body" class="anchor">§</a><h4 class="code-header">fn <a class="fn">map_request_body</a>&lt;F&gt;(self, f: F) -&gt; MapRequestBody&lt;Self, F&gt;<div class="where">where
Self: <a class="trait" href="https://doc.rust-lang.org/1.96.1/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Apply a transformation to the request body. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.map_response_body" class="method trait-impl"><a href="#method.map_response_body" class="anchor">§</a><h4 class="code-header">fn <a class="fn">map_response_body</a>&lt;F&gt;(self, f: F) -&gt; MapResponseBody&lt;Self, F&gt;<div class="where">where
Self: <a class="trait" href="https://doc.rust-lang.org/1.96.1/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Apply a transformation to the response body. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.compression" class="method trait-impl"><a href="#method.compression" class="anchor">§</a><h4 class="code-header">fn <a class="fn">compression</a>(self) -&gt; Compression&lt;Self&gt;<div class="where">where
Self: <a class="trait" href="https://doc.rust-lang.org/1.96.1/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Compresses response bodies. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.decompression" class="method trait-impl"><a href="#method.decompression" class="anchor">§</a><h4 class="code-header">fn <a class="fn">decompression</a>(self) -&gt; Decompression&lt;Self&gt;<div class="where">where
Self: <a class="trait" href="https://doc.rust-lang.org/1.96.1/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Decompress response bodies. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.trace_for_http" class="method trait-impl"><a href="#method.trace_for_http" class="anchor">§</a><h4 class="code-header">fn <a class="fn">trace_for_http</a>(self) -&gt; Trace&lt;Self, SharedClassifier&lt;ServerErrorsAsFailures&gt;&gt;<div class="where">where
Self: <a class="trait" href="https://doc.rust-lang.org/1.96.1/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>High level tracing that classifies responses using HTTP status codes. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.trace_for_grpc" class="method trait-impl"><a href="#method.trace_for_grpc" class="anchor">§</a><h4 class="code-header">fn <a class="fn">trace_for_grpc</a>(self) -&gt; Trace&lt;Self, SharedClassifier&lt;GrpcErrorsAsFailures&gt;&gt;<div class="where">where
Self: <a class="trait" href="https://doc.rust-lang.org/1.96.1/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>High level tracing that classifies responses using gRPC headers. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.follow_redirects" class="method trait-impl"><a href="#method.follow_redirects" class="anchor">§</a><h4 class="code-header">fn <a class="fn">follow_redirects</a>(self) -&gt; FollowRedirect&lt;Self&gt;<div class="where">where
Self: <a class="trait" href="https://doc.rust-lang.org/1.96.1/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Follow redirect resposes using the <a href="crate::follow_redirect::policy::Standard"><code>Standard</code></a> policy. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.sensitive_headers" class="method trait-impl"><a href="#method.sensitive_headers" class="anchor">§</a><h4 class="code-header">fn <a class="fn">sensitive_headers</a>(
self,
headers: impl <a class="trait" href="https://doc.rust-lang.org/1.96.1/core/iter/traits/collect/trait.IntoIterator.html" title="trait core::iter::traits::collect::IntoIterator">IntoIterator</a>&lt;Item = HeaderName&gt;,
) -&gt; SetSensitiveRequestHeaders&lt;SetSensitiveResponseHeaders&lt;Self&gt;&gt;<div class="where">where
Self: <a class="trait" href="https://doc.rust-lang.org/1.96.1/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Mark headers as <a href="https://docs.rs/http/latest/http/header/struct.HeaderValue.html#method.set_sensitive">sensitive</a> on both requests and responses. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.sensitive_request_headers" class="method trait-impl"><a href="#method.sensitive_request_headers" class="anchor">§</a><h4 class="code-header">fn <a class="fn">sensitive_request_headers</a>(
self,
headers: impl <a class="trait" href="https://doc.rust-lang.org/1.96.1/core/iter/traits/collect/trait.IntoIterator.html" title="trait core::iter::traits::collect::IntoIterator">IntoIterator</a>&lt;Item = HeaderName&gt;,
) -&gt; SetSensitiveRequestHeaders&lt;Self&gt;<div class="where">where
Self: <a class="trait" href="https://doc.rust-lang.org/1.96.1/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Mark headers as <a href="https://docs.rs/http/latest/http/header/struct.HeaderValue.html#method.set_sensitive">sensitive</a> on requests. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.sensitive_response_headers" class="method trait-impl"><a href="#method.sensitive_response_headers" class="anchor">§</a><h4 class="code-header">fn <a class="fn">sensitive_response_headers</a>(
self,
headers: impl <a class="trait" href="https://doc.rust-lang.org/1.96.1/core/iter/traits/collect/trait.IntoIterator.html" title="trait core::iter::traits::collect::IntoIterator">IntoIterator</a>&lt;Item = HeaderName&gt;,
) -&gt; SetSensitiveResponseHeaders&lt;Self&gt;<div class="where">where
Self: <a class="trait" href="https://doc.rust-lang.org/1.96.1/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Mark headers as <a href="https://docs.rs/http/latest/http/header/struct.HeaderValue.html#method.set_sensitive">sensitive</a> on responses. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.override_request_header" class="method trait-impl"><a href="#method.override_request_header" class="anchor">§</a><h4 class="code-header">fn <a class="fn">override_request_header</a>&lt;M&gt;(
self,
header_name: HeaderName,
make: M,
) -&gt; SetRequestHeader&lt;Self, M&gt;<div class="where">where
Self: <a class="trait" href="https://doc.rust-lang.org/1.96.1/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Insert a header into the request. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.append_request_header" class="method trait-impl"><a href="#method.append_request_header" class="anchor">§</a><h4 class="code-header">fn <a class="fn">append_request_header</a>&lt;M&gt;(
self,
header_name: HeaderName,
make: M,
) -&gt; SetRequestHeader&lt;Self, M&gt;<div class="where">where
Self: <a class="trait" href="https://doc.rust-lang.org/1.96.1/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Append a header into the request. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.insert_request_header_if_not_present" class="method trait-impl"><a href="#method.insert_request_header_if_not_present" class="anchor">§</a><h4 class="code-header">fn <a class="fn">insert_request_header_if_not_present</a>&lt;M&gt;(
self,
header_name: HeaderName,
make: M,
) -&gt; SetRequestHeader&lt;Self, M&gt;<div class="where">where
Self: <a class="trait" href="https://doc.rust-lang.org/1.96.1/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Insert a header into the request, if the header is not already present. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.override_response_header" class="method trait-impl"><a href="#method.override_response_header" class="anchor">§</a><h4 class="code-header">fn <a class="fn">override_response_header</a>&lt;M&gt;(
self,
header_name: HeaderName,
make: M,
) -&gt; SetResponseHeader&lt;Self, M&gt;<div class="where">where
Self: <a class="trait" href="https://doc.rust-lang.org/1.96.1/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Insert a header into the response. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.append_response_header" class="method trait-impl"><a href="#method.append_response_header" class="anchor">§</a><h4 class="code-header">fn <a class="fn">append_response_header</a>&lt;M&gt;(
self,
header_name: HeaderName,
make: M,
) -&gt; SetResponseHeader&lt;Self, M&gt;<div class="where">where
Self: <a class="trait" href="https://doc.rust-lang.org/1.96.1/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Append a header into the response. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.insert_response_header_if_not_present" class="method trait-impl"><a href="#method.insert_response_header_if_not_present" class="anchor">§</a><h4 class="code-header">fn <a class="fn">insert_response_header_if_not_present</a>&lt;M&gt;(
self,
header_name: HeaderName,
make: M,
) -&gt; SetResponseHeader&lt;Self, M&gt;<div class="where">where
Self: <a class="trait" href="https://doc.rust-lang.org/1.96.1/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Insert a header into the response, if the header is not already present. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.set_request_id" class="method trait-impl"><a href="#method.set_request_id" class="anchor">§</a><h4 class="code-header">fn <a class="fn">set_request_id</a>&lt;M&gt;(
self,
header_name: HeaderName,
make_request_id: M,
) -&gt; SetRequestId&lt;Self, M&gt;<div class="where">where
Self: <a class="trait" href="https://doc.rust-lang.org/1.96.1/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,
M: MakeRequestId,</div></h4></section></summary><div class='docblock'>Add request id header and extension. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.set_x_request_id" class="method trait-impl"><a href="#method.set_x_request_id" class="anchor">§</a><h4 class="code-header">fn <a class="fn">set_x_request_id</a>&lt;M&gt;(self, make_request_id: M) -&gt; SetRequestId&lt;Self, M&gt;<div class="where">where
Self: <a class="trait" href="https://doc.rust-lang.org/1.96.1/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,
M: MakeRequestId,</div></h4></section></summary><div class='docblock'>Add request id header and extension, using <code>x-request-id</code> as the header name. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.propagate_request_id" class="method trait-impl"><a href="#method.propagate_request_id" class="anchor">§</a><h4 class="code-header">fn <a class="fn">propagate_request_id</a>(
self,
header_name: HeaderName,
) -&gt; PropagateRequestId&lt;Self&gt;<div class="where">where
Self: <a class="trait" href="https://doc.rust-lang.org/1.96.1/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Propgate request ids from requests to responses. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.propagate_x_request_id" class="method trait-impl"><a href="#method.propagate_x_request_id" class="anchor">§</a><h4 class="code-header">fn <a class="fn">propagate_x_request_id</a>(self) -&gt; PropagateRequestId&lt;Self&gt;<div class="where">where
Self: <a class="trait" href="https://doc.rust-lang.org/1.96.1/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Propgate request ids from requests to responses, using <code>x-request-id</code> as the header name. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.catch_panic" class="method trait-impl"><a href="#method.catch_panic" class="anchor">§</a><h4 class="code-header">fn <a class="fn">catch_panic</a>(self) -&gt; CatchPanic&lt;Self, DefaultResponseForPanic&gt;<div class="where">where
Self: <a class="trait" href="https://doc.rust-lang.org/1.96.1/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Catch panics and convert them into <code>500 Internal Server</code> responses. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.request_body_limit" class="method trait-impl"><a href="#method.request_body_limit" class="anchor">§</a><h4 class="code-header">fn <a class="fn">request_body_limit</a>(self, limit: <a class="primitive" href="https://doc.rust-lang.org/1.96.1/std/primitive.usize.html">usize</a>) -&gt; RequestBodyLimit&lt;Self&gt;<div class="where">where
Self: <a class="trait" href="https://doc.rust-lang.org/1.96.1/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Intercept requests with over-sized payloads and convert them into
<code>413 Payload Too Large</code> responses. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.trim_trailing_slash" class="method trait-impl"><a href="#method.trim_trailing_slash" class="anchor">§</a><h4 class="code-header">fn <a class="fn">trim_trailing_slash</a>(self) -&gt; NormalizePath&lt;Self&gt;<div class="where">where
Self: <a class="trait" href="https://doc.rust-lang.org/1.96.1/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Remove trailing slashes from paths. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.append_trailing_slash" class="method trait-impl"><a href="#method.append_trailing_slash" class="anchor">§</a><h4 class="code-header">fn <a class="fn">append_trailing_slash</a>(self) -&gt; NormalizePath&lt;Self&gt;<div class="where">where
Self: <a class="trait" href="https://doc.rust-lang.org/1.96.1/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Append trailing slash to paths. <a>Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-SupersetOf%3CSS%3E-for-SP" class="impl"><a href="#impl-SupersetOf%3CSS%3E-for-SP" class="anchor">§</a><h3 class="code-header">impl&lt;SS, SP&gt; SupersetOf&lt;SS&gt; for SP<div class="where">where
SS: SubsetOf&lt;SP&gt;,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.to_subset" class="method trait-impl"><a href="#method.to_subset" class="anchor">§</a><h4 class="code-header">fn <a class="fn">to_subset</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.96.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;SS&gt;</h4></section></summary><div class='docblock'>The inverse inclusion map: attempts to construct <code>self</code> from the equivalent element of its
superset. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.is_in_subset" class="method trait-impl"><a href="#method.is_in_subset" class="anchor">§</a><h4 class="code-header">fn <a class="fn">is_in_subset</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.96.1/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Checks if <code>self</code> is actually part of its subset <code>T</code> (and can be converted to it).</div></details><details class="toggle method-toggle" open><summary><section id="method.to_subset_unchecked" class="method trait-impl"><a href="#method.to_subset_unchecked" class="anchor">§</a><h4 class="code-header">fn <a class="fn">to_subset_unchecked</a>(&amp;self) -&gt; SS</h4></section></summary><div class='docblock'>Use with care! Same as <code>self.to_subset</code> but without any property checks. Always succeeds.</div></details><details class="toggle method-toggle" open><summary><section id="method.from_subset" class="method trait-impl"><a href="#method.from_subset" class="anchor">§</a><h4 class="code-header">fn <a class="fn">from_subset</a>(element: <a class="primitive" href="https://doc.rust-lang.org/1.96.1/std/primitive.reference.html">&amp;SS</a>) -&gt; SP</h4></section></summary><div class='docblock'>The inclusion map: converts <code>self</code> to the equivalent element of its superset.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Tap-for-T" class="impl"><a href="#impl-Tap-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; Tap for T</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.tap" class="method trait-impl"><a href="#method.tap" class="anchor">§</a><h4 class="code-header">fn <a class="fn">tap</a>(self, func: impl <a class="trait" href="https://doc.rust-lang.org/1.96.1/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(&amp;Self)) -&gt; Self</h4></section></summary><div class='docblock'>Immutable access to a value. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.tap_mut" class="method trait-impl"><a href="#method.tap_mut" class="anchor">§</a><h4 class="code-header">fn <a class="fn">tap_mut</a>(self, func: impl <a class="trait" href="https://doc.rust-lang.org/1.96.1/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(&amp;mut Self)) -&gt; Self</h4></section></summary><div class='docblock'>Mutable access to a value. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.tap_borrow" class="method trait-impl"><a href="#method.tap_borrow" class="anchor">§</a><h4 class="code-header">fn <a class="fn">tap_borrow</a>&lt;B&gt;(self, func: impl <a class="trait" href="https://doc.rust-lang.org/1.96.1/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(<a class="primitive" href="https://doc.rust-lang.org/1.96.1/std/primitive.reference.html">&amp;B</a>)) -&gt; Self<div class="where">where
Self: <a class="trait" href="https://doc.rust-lang.org/1.96.1/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a>&lt;B&gt;,
B: ?<a class="trait" href="https://doc.rust-lang.org/1.96.1/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Immutable access to the <code>Borrow&lt;B&gt;</code> of a value. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.tap_borrow_mut" class="method trait-impl"><a href="#method.tap_borrow_mut" class="anchor">§</a><h4 class="code-header">fn <a class="fn">tap_borrow_mut</a>&lt;B&gt;(self, func: impl <a class="trait" href="https://doc.rust-lang.org/1.96.1/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(<a class="primitive" href="https://doc.rust-lang.org/1.96.1/std/primitive.reference.html">&amp;mut B</a>)) -&gt; Self<div class="where">where
Self: <a class="trait" href="https://doc.rust-lang.org/1.96.1/core/borrow/trait.BorrowMut.html" title="trait core::borrow::BorrowMut">BorrowMut</a>&lt;B&gt;,
B: ?<a class="trait" href="https://doc.rust-lang.org/1.96.1/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Mutable access to the <code>BorrowMut&lt;B&gt;</code> of a value. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.tap_ref" class="method trait-impl"><a href="#method.tap_ref" class="anchor">§</a><h4 class="code-header">fn <a class="fn">tap_ref</a>&lt;R&gt;(self, func: impl <a class="trait" href="https://doc.rust-lang.org/1.96.1/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(<a class="primitive" href="https://doc.rust-lang.org/1.96.1/std/primitive.reference.html">&amp;R</a>)) -&gt; Self<div class="where">where
Self: <a class="trait" href="https://doc.rust-lang.org/1.96.1/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a>&lt;R&gt;,
R: ?<a class="trait" href="https://doc.rust-lang.org/1.96.1/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Immutable access to the <code>AsRef&lt;R&gt;</code> view of a value. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.tap_ref_mut" class="method trait-impl"><a href="#method.tap_ref_mut" class="anchor">§</a><h4 class="code-header">fn <a class="fn">tap_ref_mut</a>&lt;R&gt;(self, func: impl <a class="trait" href="https://doc.rust-lang.org/1.96.1/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(<a class="primitive" href="https://doc.rust-lang.org/1.96.1/std/primitive.reference.html">&amp;mut R</a>)) -&gt; Self<div class="where">where
Self: <a class="trait" href="https://doc.rust-lang.org/1.96.1/core/convert/trait.AsMut.html" title="trait core::convert::AsMut">AsMut</a>&lt;R&gt;,
R: ?<a class="trait" href="https://doc.rust-lang.org/1.96.1/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Mutable access to the <code>AsMut&lt;R&gt;</code> view of a value. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.tap_deref" class="method trait-impl"><a href="#method.tap_deref" class="anchor">§</a><h4 class="code-header">fn <a class="fn">tap_deref</a>&lt;T&gt;(self, func: impl <a class="trait" href="https://doc.rust-lang.org/1.96.1/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(<a class="primitive" href="https://doc.rust-lang.org/1.96.1/std/primitive.reference.html">&amp;T</a>)) -&gt; Self<div class="where">where
Self: <a class="trait" href="https://doc.rust-lang.org/1.96.1/core/ops/deref/trait.Deref.html" title="trait core::ops::deref::Deref">Deref</a>&lt;Target = T&gt;,
T: ?<a class="trait" href="https://doc.rust-lang.org/1.96.1/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Immutable access to the <code>Deref::Target</code> of a value. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.tap_deref_mut" class="method trait-impl"><a href="#method.tap_deref_mut" class="anchor">§</a><h4 class="code-header">fn <a class="fn">tap_deref_mut</a>&lt;T&gt;(self, func: impl <a class="trait" href="https://doc.rust-lang.org/1.96.1/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(<a class="primitive" href="https://doc.rust-lang.org/1.96.1/std/primitive.reference.html">&amp;mut T</a>)) -&gt; Self<div class="where">where
Self: <a class="trait" href="https://doc.rust-lang.org/1.96.1/core/ops/deref/trait.DerefMut.html" title="trait core::ops::deref::DerefMut">DerefMut</a>&lt;Target = T&gt; + <a class="trait" href="https://doc.rust-lang.org/1.96.1/core/ops/deref/trait.Deref.html" title="trait core::ops::deref::Deref">Deref</a>,
T: ?<a class="trait" href="https://doc.rust-lang.org/1.96.1/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Mutable access to the <code>Deref::Target</code> of a value. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.tap_dbg" class="method trait-impl"><a href="#method.tap_dbg" class="anchor">§</a><h4 class="code-header">fn <a class="fn">tap_dbg</a>(self, func: impl <a class="trait" href="https://doc.rust-lang.org/1.96.1/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(&amp;Self)) -&gt; Self</h4></section></summary><div class='docblock'>Calls <code>.tap()</code> only in debug builds, and is erased in release builds.</div></details><details class="toggle method-toggle" open><summary><section id="method.tap_mut_dbg" class="method trait-impl"><a href="#method.tap_mut_dbg" class="anchor">§</a><h4 class="code-header">fn <a class="fn">tap_mut_dbg</a>(self, func: impl <a class="trait" href="https://doc.rust-lang.org/1.96.1/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(&amp;mut Self)) -&gt; Self</h4></section></summary><div class='docblock'>Calls <code>.tap_mut()</code> only in debug builds, and is erased in release
builds.</div></details><details class="toggle method-toggle" open><summary><section id="method.tap_borrow_dbg" class="method trait-impl"><a href="#method.tap_borrow_dbg" class="anchor">§</a><h4 class="code-header">fn <a class="fn">tap_borrow_dbg</a>&lt;B&gt;(self, func: impl <a class="trait" href="https://doc.rust-lang.org/1.96.1/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(<a class="primitive" href="https://doc.rust-lang.org/1.96.1/std/primitive.reference.html">&amp;B</a>)) -&gt; Self<div class="where">where
Self: <a class="trait" href="https://doc.rust-lang.org/1.96.1/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a>&lt;B&gt;,
B: ?<a class="trait" href="https://doc.rust-lang.org/1.96.1/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Calls <code>.tap_borrow()</code> only in debug builds, and is erased in release
builds.</div></details><details class="toggle method-toggle" open><summary><section id="method.tap_borrow_mut_dbg" class="method trait-impl"><a href="#method.tap_borrow_mut_dbg" class="anchor">§</a><h4 class="code-header">fn <a class="fn">tap_borrow_mut_dbg</a>&lt;B&gt;(self, func: impl <a class="trait" href="https://doc.rust-lang.org/1.96.1/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(<a class="primitive" href="https://doc.rust-lang.org/1.96.1/std/primitive.reference.html">&amp;mut B</a>)) -&gt; Self<div class="where">where
Self: <a class="trait" href="https://doc.rust-lang.org/1.96.1/core/borrow/trait.BorrowMut.html" title="trait core::borrow::BorrowMut">BorrowMut</a>&lt;B&gt;,
B: ?<a class="trait" href="https://doc.rust-lang.org/1.96.1/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Calls <code>.tap_borrow_mut()</code> only in debug builds, and is erased in release
builds.</div></details><details class="toggle method-toggle" open><summary><section id="method.tap_ref_dbg" class="method trait-impl"><a href="#method.tap_ref_dbg" class="anchor">§</a><h4 class="code-header">fn <a class="fn">tap_ref_dbg</a>&lt;R&gt;(self, func: impl <a class="trait" href="https://doc.rust-lang.org/1.96.1/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(<a class="primitive" href="https://doc.rust-lang.org/1.96.1/std/primitive.reference.html">&amp;R</a>)) -&gt; Self<div class="where">where
Self: <a class="trait" href="https://doc.rust-lang.org/1.96.1/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a>&lt;R&gt;,
R: ?<a class="trait" href="https://doc.rust-lang.org/1.96.1/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Calls <code>.tap_ref()</code> only in debug builds, and is erased in release
builds.</div></details><details class="toggle method-toggle" open><summary><section id="method.tap_ref_mut_dbg" class="method trait-impl"><a href="#method.tap_ref_mut_dbg" class="anchor">§</a><h4 class="code-header">fn <a class="fn">tap_ref_mut_dbg</a>&lt;R&gt;(self, func: impl <a class="trait" href="https://doc.rust-lang.org/1.96.1/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(<a class="primitive" href="https://doc.rust-lang.org/1.96.1/std/primitive.reference.html">&amp;mut R</a>)) -&gt; Self<div class="where">where
Self: <a class="trait" href="https://doc.rust-lang.org/1.96.1/core/convert/trait.AsMut.html" title="trait core::convert::AsMut">AsMut</a>&lt;R&gt;,
R: ?<a class="trait" href="https://doc.rust-lang.org/1.96.1/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Calls <code>.tap_ref_mut()</code> only in debug builds, and is erased in release
builds.</div></details><details class="toggle method-toggle" open><summary><section id="method.tap_deref_dbg" class="method trait-impl"><a href="#method.tap_deref_dbg" class="anchor">§</a><h4 class="code-header">fn <a class="fn">tap_deref_dbg</a>&lt;T&gt;(self, func: impl <a class="trait" href="https://doc.rust-lang.org/1.96.1/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(<a class="primitive" href="https://doc.rust-lang.org/1.96.1/std/primitive.reference.html">&amp;T</a>)) -&gt; Self<div class="where">where
Self: <a class="trait" href="https://doc.rust-lang.org/1.96.1/core/ops/deref/trait.Deref.html" title="trait core::ops::deref::Deref">Deref</a>&lt;Target = T&gt;,
T: ?<a class="trait" href="https://doc.rust-lang.org/1.96.1/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Calls <code>.tap_deref()</code> only in debug builds, and is erased in release
builds.</div></details><details class="toggle method-toggle" open><summary><section id="method.tap_deref_mut_dbg" class="method trait-impl"><a href="#method.tap_deref_mut_dbg" class="anchor">§</a><h4 class="code-header">fn <a class="fn">tap_deref_mut_dbg</a>&lt;T&gt;(self, func: impl <a class="trait" href="https://doc.rust-lang.org/1.96.1/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(<a class="primitive" href="https://doc.rust-lang.org/1.96.1/std/primitive.reference.html">&amp;mut T</a>)) -&gt; Self<div class="where">where
Self: <a class="trait" href="https://doc.rust-lang.org/1.96.1/core/ops/deref/trait.DerefMut.html" title="trait core::ops::deref::DerefMut">DerefMut</a>&lt;Target = T&gt; + <a class="trait" href="https://doc.rust-lang.org/1.96.1/core/ops/deref/trait.Deref.html" title="trait core::ops::deref::Deref">Deref</a>,
T: ?<a class="trait" href="https://doc.rust-lang.org/1.96.1/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Calls <code>.tap_deref_mut()</code> only in debug builds, and is erased in release
builds.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-TryConv-for-T" class="impl"><a href="#impl-TryConv-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; TryConv for T</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.try_conv" class="method trait-impl"><a href="#method.try_conv" class="anchor">§</a><h4 class="code-header">fn <a class="fn">try_conv</a>&lt;T&gt;(self) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.96.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;T, Self::<a class="associatedtype" href="https://doc.rust-lang.org/1.96.1/core/convert/trait.TryInto.html#associatedtype.Error" title="type core::convert::TryInto::Error">Error</a>&gt;<div class="where">where
Self: <a class="trait" href="https://doc.rust-lang.org/1.96.1/core/convert/trait.TryInto.html" title="trait core::convert::TryInto">TryInto</a>&lt;T&gt;,</div></h4></section></summary><div class='docblock'>Attempts to convert <code>self</code> into <code>T</code> using <code>TryInto&lt;T&gt;</code>. <a>Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-TryFrom%3CU%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.96.1/src/core/convert/mod.rs.html#827-829">Source</a><a href="#impl-TryFrom%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T, U&gt; <a class="trait" href="https://doc.rust-lang.org/1.96.1/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;U&gt; for T<div class="where">where
U: <a class="trait" href="https://doc.rust-lang.org/1.96.1/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;T&gt;,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Error-1" class="associatedtype trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.96.1/src/core/convert/mod.rs.html#831">Source</a><a href="#associatedtype.Error-1" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.96.1/core/convert/trait.TryFrom.html#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/1.96.1/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></h4></section></summary><div class='docblock'>The type returned in the event of a conversion error.</div></details><details class="toggle method-toggle" open><summary><section id="method.try_from" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.96.1/src/core/convert/mod.rs.html#834">Source</a><a href="#method.try_from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.96.1/core/convert/trait.TryFrom.html#tymethod.try_from" class="fn">try_from</a>(value: U) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.96.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;T, &lt;T as <a class="trait" href="https://doc.rust-lang.org/1.96.1/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;U&gt;&gt;::<a class="associatedtype" href="https://doc.rust-lang.org/1.96.1/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div class='docblock'>Performs the conversion.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-TryInto%3CU%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.96.1/src/core/convert/mod.rs.html#811-813">Source</a><a href="#impl-TryInto%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T, U&gt; <a class="trait" href="https://doc.rust-lang.org/1.96.1/core/convert/trait.TryInto.html" title="trait core::convert::TryInto">TryInto</a>&lt;U&gt; for T<div class="where">where
U: <a class="trait" href="https://doc.rust-lang.org/1.96.1/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;T&gt;,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Error" class="associatedtype trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.96.1/src/core/convert/mod.rs.html#815">Source</a><a href="#associatedtype.Error" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.96.1/core/convert/trait.TryInto.html#associatedtype.Error" class="associatedtype">Error</a> = &lt;U as <a class="trait" href="https://doc.rust-lang.org/1.96.1/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a class="associatedtype" href="https://doc.rust-lang.org/1.96.1/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a></h4></section></summary><div class='docblock'>The type returned in the event of a conversion error.</div></details><details class="toggle method-toggle" open><summary><section id="method.try_into" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.96.1/src/core/convert/mod.rs.html#818">Source</a><a href="#method.try_into" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.96.1/core/convert/trait.TryInto.html#tymethod.try_into" class="fn">try_into</a>(self) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.96.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;U, &lt;U as <a class="trait" href="https://doc.rust-lang.org/1.96.1/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a class="associatedtype" href="https://doc.rust-lang.org/1.96.1/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div class='docblock'>Performs the conversion.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-VZip%3CV%3E-for-T" class="impl"><a href="#impl-VZip%3CV%3E-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;V, T&gt; VZip&lt;V&gt; for T<div class="where">where
V: MultiLane&lt;T&gt;,</div></h3></section></summary><div class="impl-items"><section id="method.vzip" class="method trait-impl"><a href="#method.vzip" class="anchor">§</a><h4 class="code-header">fn <a class="fn">vzip</a>(self) -&gt; V</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-WithSubscriber-for-T" class="impl"><a href="#impl-WithSubscriber-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; WithSubscriber for T</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.with_subscriber" class="method trait-impl"><a href="#method.with_subscriber" class="anchor">§</a><h4 class="code-header">fn <a class="fn">with_subscriber</a>&lt;S&gt;(self, subscriber: S) -&gt; WithDispatch&lt;Self&gt;<div class="where">where
S: <a class="trait" href="https://doc.rust-lang.org/1.96.1/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;Dispatch&gt;,</div></h4></section></summary><div class='docblock'>Attaches the provided <a href="super::Subscriber"><code>Subscriber</code></a> to this type, returning a
[<code>WithDispatch</code>] wrapper. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.with_current_subscriber" class="method trait-impl"><a href="#method.with_current_subscriber" class="anchor">§</a><h4 class="code-header">fn <a class="fn">with_current_subscriber</a>(self) -&gt; WithDispatch&lt;Self&gt;</h4></section></summary><div class='docblock'>Attaches the current <a href="dispatcher#setting-the-default-subscriber">default</a> <a href="super::Subscriber"><code>Subscriber</code></a> to this type, returning a
[<code>WithDispatch</code>] wrapper. <a>Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Within%3CG2%3E-for-G1" class="impl"><a href="#impl-Within%3CG2%3E-for-G1" class="anchor">§</a><h3 class="code-header">impl&lt;G1, G2&gt; Within&lt;G2&gt; for G1<div class="where">where
G2: Contains&lt;G1&gt;,</div></h3></section></summary><div class="impl-items"><section id="method.is_within" class="method trait-impl"><a href="#method.is_within" class="anchor">§</a><h4 class="code-header">fn <a class="fn">is_within</a>(&amp;self, b: <a class="primitive" href="https://doc.rust-lang.org/1.96.1/std/primitive.reference.html">&amp;G2</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.96.1/std/primitive.bool.html">bool</a></h4></section></div></details><section id="impl-Any-for-T-1" class="impl"><a href="#impl-Any-for-T-1" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; Any for T<div class="where">where
T: <a class="trait" href="https://doc.rust-lang.org/1.96.1/core/any/trait.Any.html" title="trait core::any::Any">Any</a>,</div></h3></section><section id="impl-ErasedDestructor-for-T" class="impl"><a href="#impl-ErasedDestructor-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; ErasedDestructor for T<div class="where">where
T: 'static,</div></h3></section><section id="impl-MaybeSend-for-T" class="impl"><a href="#impl-MaybeSend-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; MaybeSend for T<div class="where">where
T: <a class="trait" href="https://doc.rust-lang.org/1.96.1/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>,</div></h3></section><section id="impl-MaybeSend-for-T-1" class="impl"><a href="#impl-MaybeSend-for-T-1" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; MaybeSend for T<div class="where">where
T: <a class="trait" href="https://doc.rust-lang.org/1.96.1/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>,</div></h3></section></div></section></div></main></body></html>