Files

1 line
9.3 KiB
HTML
Raw Permalink 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 `handler` mod in crate `servers`."><title>servers::http::handler - 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-1ed95124.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="servers" data-themes="" data-resource-suffix="" data-rustdoc-version="1.98.1 (48a229cea 2026-09-01)" data-channel="1.98.1" data-search-js="search-9944d736.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-417ebf0a.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 mod"><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="#">Module handler</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../servers/index.html">servers</a><span class="version">1.4.0-alpha.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Module handler</a></h2><h3><a href="#structs">Module Items</a></h3><ul class="block"><li><a href="#structs" title="Structs">Structs</a></li><li><a href="#constants" title="Constants">Constants</a></li><li><a href="#functions" title="Functions">Functions</a></li></ul></section><div id="rustdoc-modnav"><h2><a href="../index.html">In servers::<wbr>http</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">servers</a>::<wbr><a href="../index.html">http</a></div><h1>Module <span>handler</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/servers/http/handler.rs.html#15-1410">Source</a> </span></div><h2 id="structs" class="section-header">Structs<a href="#structs" class="anchor">§</a></h2><dl class="item-table"><dt><a class="struct" href="struct.AnalyzePayloadArgs.html" title="struct servers::http::handler::AnalyzePayloadArgs">Analyze<wbr>Payload<wbr>Args</a><span title="Restricted Visibility">&nbsp;🔒</span> </dt><dt><a class="struct" href="struct.AnalyzeStreamBodyState.html" title="struct servers::http::handler::AnalyzeStreamBodyState">Analyze<wbr>Stream<wbr>Body<wbr>State</a><span title="Restricted Visibility">&nbsp;🔒</span> </dt><dt><a class="struct" href="struct.AnalyzeStreamPayload.html" title="struct servers::http::handler::AnalyzeStreamPayload">Analyze<wbr>Stream<wbr>Payload</a><span title="Restricted Visibility">&nbsp;🔒</span> </dt><dt><a class="struct" href="struct.AnalyzeStreamWorkerGuard.html" title="struct servers::http::handler::AnalyzeStreamWorkerGuard">Analyze<wbr>Stream<wbr>Worker<wbr>Guard</a><span title="Restricted Visibility">&nbsp;🔒</span> </dt><dt><a class="struct" href="struct.HealthQuery.html" title="struct servers::http::handler::HealthQuery">Health<wbr>Query</a></dt><dt><a class="struct" href="struct.HealthResponse.html" title="struct servers::http::handler::HealthResponse">Health<wbr>Response</a></dt><dt><a class="struct" href="struct.LogicalTableDdl.html" title="struct servers::http::handler::LogicalTableDdl">Logical<wbr>Table<wbr>Ddl</a></dt><dd>Form parameters for the bounded logical-table DDL operation.</dd><dt><a class="struct" href="struct.PromqlQuery.html" title="struct servers::http::handler::PromqlQuery">Promql<wbr>Query</a></dt><dt><a class="struct" href="struct.SqlFormatResponse.html" title="struct servers::http::handler::SqlFormatResponse">SqlFormat<wbr>Response</a></dt><dt><a class="struct" href="struct.SqlQuery.html" title="struct servers::http::handler::SqlQuery">SqlQuery</a></dt><dt><a class="struct" href="struct.StatusResponse.html" title="struct servers::http::handler::StatusResponse">Status<wbr>Response</a></dt></dl><h2 id="constants" class="section-header">Constants<a href="#constants" class="anchor">§</a></h2><dl class="item-table"><dt><a class="constant" href="constant.DEFAULT_ANALYZE_SNAPSHOT_INTERVAL_MS.html" title="constant servers::http::handler::DEFAULT_ANALYZE_SNAPSHOT_INTERVAL_MS">DEFAULT_<wbr>ANALYZE_<wbr>SNAPSHOT_<wbr>INTERVAL_<wbr>MS</a><span title="Restricted Visibility">&nbsp;🔒</span> </dt><dt><a class="constant" href="constant.MAX_ANALYZE_SNAPSHOT_INTERVAL_MS.html" title="constant servers::http::handler::MAX_ANALYZE_SNAPSHOT_INTERVAL_MS">MAX_<wbr>ANALYZE_<wbr>SNAPSHOT_<wbr>INTERVAL_<wbr>MS</a><span title="Restricted Visibility">&nbsp;🔒</span> </dt><dt><a class="constant" href="constant.MIN_ANALYZE_SNAPSHOT_INTERVAL_MS.html" title="constant servers::http::handler::MIN_ANALYZE_SNAPSHOT_INTERVAL_MS">MIN_<wbr>ANALYZE_<wbr>SNAPSHOT_<wbr>INTERVAL_<wbr>MS</a><span title="Restricted Visibility">&nbsp;🔒</span> </dt></dl><h2 id="functions" class="section-header">Functions<a href="#functions" class="anchor">§</a></h2><dl class="item-table"><dt><a class="fn" href="fn.adaptive_interval_ms.html" title="fn servers::http::handler::adaptive_interval_ms">adaptive_<wbr>interval_<wbr>ms</a><span title="Restricted Visibility">&nbsp;🔒</span> </dt><dt><a class="fn" href="fn.config.html" title="fn servers::http::handler::config">config</a></dt><dd>Handler to expose configuration information info about runtime, build, etc.</dd><dt><a class="fn" href="fn.create_logical_tables.html" title="fn servers::http::handler::create_logical_tables">create_<wbr>logical_<wbr>tables</a></dt><dd>Creates one batch of Metric logical tables using the normal v1 response.</dd><dt><a class="fn" href="fn.from_output.html" title="fn servers::http::handler::from_output">from_<wbr>output</a></dt><dd>Create a response from query result</dd><dt><a class="fn" href="fn.health.html" title="fn servers::http::handler::health">health</a></dt><dd>Handler to export healthy check</dd><dt><a class="fn" href="fn.index.html" title="fn servers::http::handler::index">index</a></dt><dt><a class="fn" href="fn.limit_output_rows.html" title="fn servers::http::handler::limit_output_rows">limit_<wbr>output_<wbr>rows</a><span title="Restricted Visibility">&nbsp;🔒</span> </dt><dd>Limits each statement’s response before collecting batches and converting rows.</dd><dt><a class="fn" href="fn.make_analyze_payload.html" title="fn servers::http::handler::make_analyze_payload">make_<wbr>analyze_<wbr>payload</a><span title="Restricted Visibility">&nbsp;🔒</span> </dt><dt><a class="fn" href="fn.make_final_analyze_event.html" title="fn servers::http::handler::make_final_analyze_event">make_<wbr>final_<wbr>analyze_<wbr>event</a><span title="Restricted Visibility">&nbsp;🔒</span> </dt><dt><a class="fn" href="fn.metrics.html" title="fn servers::http::handler::metrics">metrics</a></dt><dd>Handler to export metrics</dd><dt><a class="fn" href="fn.promql.html" title="fn servers::http::handler::promql">promql</a></dt><dd>Handler to execute promql</dd><dt><a class="fn" href="fn.sql.html" title="fn servers::http::handler::sql">sql</a></dt><dd>Handler to execute sql</dd><dt><a class="fn" href="fn.sql_analyze_stream.html" title="fn servers::http::handler::sql_analyze_stream">sql_<wbr>analyze_<wbr>stream</a></dt><dd>Handler to stream partial <code>EXPLAIN ANALYZE VERBOSE</code> metrics as SSE.</dd><dt><a class="fn" href="fn.sql_format.html" title="fn servers::http::handler::sql_format">sql_<wbr>format</a></dt><dd>Handler to format sql string</dd><dt><a class="fn" href="fn.sql_parse.html" title="fn servers::http::handler::sql_parse">sql_<wbr>parse</a></dt><dd>Handler to parse sql</dd><dt><a class="fn" href="fn.status.html" title="fn servers::http::handler::status">status</a></dt><dd>Handler to expose information info about runtime, build, etc.</dd><dt><a class="fn" href="fn.take_response_rows.html" title="fn servers::http::handler::take_response_rows">take_<wbr>response_<wbr>rows</a><span title="Restricted Visibility">&nbsp;🔒</span> </dt><dt><a class="fn" href="fn.validate_schema.html" title="fn servers::http::handler::validate_schema">validate_<wbr>schema</a><span title="Restricted Visibility">&nbsp;🔒</span> </dt></dl></section></div></main></body></html>