Deploying to gh-pages from @ GreptimeTeam/greptimedb@0572a680af 🚀

This commit is contained in:
github-merge-queue[bot]
2026-03-13 04:38:03 +00:00
commit 2c331a8643
20983 changed files with 2440968 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
<!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 `interceptor` mod in crate `servers`."><title>servers::interceptor - 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-e56847b5.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.92.0-nightly (fa3155a64 2025-09-30)" data-channel="nightly" data-search-js="search-e256b49e.js" data-stringdex-js="stringdex-828709d0.js" data-settings-js="settings-c38705f0.js" ><script src="../../static.files/storage-e2aeef58.js"></script><script defer src="../sidebar-items.js"></script><script defer src="../../static.files/main-ce535bd0.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-263c88ec.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"><!--[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 interceptor</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../servers/index.html">servers</a><span class="version">1.0.0-rc.2</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Module interceptor</a></h2><h3><a href="#traits">Module Items</a></h3><ul class="block"><li><a href="#traits" title="Traits">Traits</a></li><li><a href="#types" title="Type Aliases">Type Aliases</a></li></ul></section><div id="rustdoc-modnav"><h2 class="in-crate"><a href="../index.html">In crate servers</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"><div class="main-heading"><div class="rustdoc-breadcrumbs"><a href="../index.html">servers</a></div><h1>Module <span>interceptor</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/interceptor.rs.html#15-509">Source</a> </span></div><h2 id="traits" class="section-header">Traits<a href="#traits" class="anchor">§</a></h2><dl class="item-table"><dt><a class="trait" href="trait.GrpcQueryInterceptor.html" title="trait servers::interceptor::GrpcQueryInterceptor">Grpc<wbr>Query<wbr>Interceptor</a></dt><dd>GrpcQueryInterceptor can track life cycle of a grpc request and customize or
abort its execution at given point.</dd><dt><a class="trait" href="trait.LineProtocolInterceptor.html" title="trait servers::interceptor::LineProtocolInterceptor">Line<wbr>Protocol<wbr>Interceptor</a></dt><dd>LineProtocolInterceptor can track life cycle of a line protocol request
and customize or abort its execution at given point.</dd><dt><a class="trait" href="trait.LogIngestInterceptor.html" title="trait servers::interceptor::LogIngestInterceptor">LogIngest<wbr>Interceptor</a></dt><dd>LogIngestInterceptor can track life cycle of a log ingestion request
and customize or abort its execution at given point.</dd><dt><a class="trait" href="trait.LogQueryInterceptor.html" title="trait servers::interceptor::LogQueryInterceptor">LogQuery<wbr>Interceptor</a></dt><dd>LogQueryInterceptor can track life cycle of a log query request
and customize or abort its execution at given point.</dd><dt><a class="trait" href="trait.OpenTelemetryProtocolInterceptor.html" title="trait servers::interceptor::OpenTelemetryProtocolInterceptor">Open<wbr>Telemetry<wbr>Protocol<wbr>Interceptor</a></dt><dd>OpenTelemetryProtocolInterceptor can track life cycle of an open telemetry protocol request
and customize or abort its execution at given point.</dd><dt><a class="trait" href="trait.PromQueryInterceptor.html" title="trait servers::interceptor::PromQueryInterceptor">Prom<wbr>Query<wbr>Interceptor</a></dt><dd>PromQueryInterceptor can track life cycle of a prometheus request and customize or
abort its execution at given point.</dd><dt><a class="trait" href="trait.PromStoreProtocolInterceptor.html" title="trait servers::interceptor::PromStoreProtocolInterceptor">Prom<wbr>Store<wbr>Protocol<wbr>Interceptor</a></dt><dd>PromStoreProtocolInterceptor can track life cycle of a prom store request
and customize or abort its execution at given point.</dd><dt><a class="trait" href="trait.SqlQueryInterceptor.html" title="trait servers::interceptor::SqlQueryInterceptor">SqlQuery<wbr>Interceptor</a></dt><dd>SqlQueryInterceptor can track life cycle of a sql query and customize or
abort its execution at given point.</dd></dl><h2 id="types" class="section-header">Type Aliases<a href="#types" class="anchor">§</a></h2><dl class="item-table"><dt><a class="type" href="type.GrpcQueryInterceptorRef.html" title="type servers::interceptor::GrpcQueryInterceptorRef">Grpc<wbr>Query<wbr>Interceptor<wbr>Ref</a></dt><dt><a class="type" href="type.LineProtocolInterceptorRef.html" title="type servers::interceptor::LineProtocolInterceptorRef">Line<wbr>Protocol<wbr>Interceptor<wbr>Ref</a></dt><dt><a class="type" href="type.LogIngestInterceptorRef.html" title="type servers::interceptor::LogIngestInterceptorRef">LogIngest<wbr>Interceptor<wbr>Ref</a></dt><dt><a class="type" href="type.LogQueryInterceptorRef.html" title="type servers::interceptor::LogQueryInterceptorRef">LogQuery<wbr>Interceptor<wbr>Ref</a></dt><dt><a class="type" href="type.OpenTelemetryProtocolInterceptorRef.html" title="type servers::interceptor::OpenTelemetryProtocolInterceptorRef">Open<wbr>Telemetry<wbr>Protocol<wbr>Interceptor<wbr>Ref</a></dt><dt><a class="type" href="type.PromQueryInterceptorRef.html" title="type servers::interceptor::PromQueryInterceptorRef">Prom<wbr>Query<wbr>Interceptor<wbr>Ref</a></dt><dt><a class="type" href="type.PromStoreProtocolInterceptorRef.html" title="type servers::interceptor::PromStoreProtocolInterceptorRef">Prom<wbr>Store<wbr>Protocol<wbr>Interceptor<wbr>Ref</a></dt><dt><a class="type" href="type.SqlQueryInterceptorRef.html" title="type servers::interceptor::SqlQueryInterceptorRef">SqlQuery<wbr>Interceptor<wbr>Ref</a></dt></dl></section></div></main></body></html>

View File

@@ -0,0 +1 @@
window.SIDEBAR_ITEMS = {"trait":["GrpcQueryInterceptor","LineProtocolInterceptor","LogIngestInterceptor","LogQueryInterceptor","OpenTelemetryProtocolInterceptor","PromQueryInterceptor","PromStoreProtocolInterceptor","SqlQueryInterceptor"],"type":["GrpcQueryInterceptorRef","LineProtocolInterceptorRef","LogIngestInterceptorRef","LogQueryInterceptorRef","OpenTelemetryProtocolInterceptorRef","PromQueryInterceptorRef","PromStoreProtocolInterceptorRef","SqlQueryInterceptorRef"]};

View File

@@ -0,0 +1,51 @@
<!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="GrpcQueryInterceptor can track life cycle of a grpc request and customize or abort its execution at given point."><title>GrpcQueryInterceptor in servers::interceptor - 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-e56847b5.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.92.0-nightly (fa3155a64 2025-09-30)" data-channel="nightly" data-search-js="search-e256b49e.js" data-stringdex-js="stringdex-828709d0.js" data-settings-js="settings-c38705f0.js" ><script src="../../static.files/storage-e2aeef58.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-ce535bd0.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-263c88ec.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 trait"><!--[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="#">GrpcQueryInterceptor</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../servers/index.html">servers</a><span class="version">1.0.0-rc.2</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Grpc<wbr>Query<wbr>Interceptor</a></h2><h3><a href="#required-associated-types">Required Associated Types</a></h3><ul class="block"><li><a href="#associatedtype.Error" title="Error">Error</a></li></ul><h3><a href="#provided-methods">Provided Methods</a></h3><ul class="block"><li><a href="#method.post_execute" title="post_execute">post_execute</a></li><li><a href="#method.pre_bulk_insert" title="pre_bulk_insert">pre_bulk_insert</a></li><li><a href="#method.pre_execute" title="pre_execute">pre_execute</a></li></ul><h3><a href="#foreign-impls">Implementations on Foreign Types</a></h3><ul class="block"><li><a href="#impl-GrpcQueryInterceptor-for-Option%3C%26Arc%3Cdyn+GrpcQueryInterceptor%3CError+=+E%3E+%2B+Send+%2B+Sync%3E%3E" title="Option&#60;&#38;GrpcQueryInterceptorRef&#60;E&#62;&#62;">Option&#60;&#38;GrpcQueryInterceptorRef&#60;E&#62;&#62;</a></li></ul><h3><a href="#implementors">Implementors</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In servers::<wbr>interceptor</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"><div class="main-heading"><div class="rustdoc-breadcrumbs"><a href="../index.html">servers</a>::<wbr><a href="index.html">interceptor</a></div><h1>Trait <span class="trait">Grpc<wbr>Query<wbr>Interceptor</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/interceptor.rs.html#140-170">Source</a> </span></div><pre class="rust item-decl"><code>pub trait GrpcQueryInterceptor {
type <a href="#associatedtype.Error" class="associatedtype">Error</a>: <a class="trait" href="../../common_error/ext/trait.ErrorExt.html" title="trait common_error::ext::ErrorExt">ErrorExt</a>;
// Provided methods
fn <a href="#method.pre_execute" class="fn">pre_execute</a>(
&amp;self,
_request: &amp;Request,
_query_ctx: <a class="type" href="../../session/context/type.QueryContextRef.html" title="type session::context::QueryContextRef">QueryContextRef</a>,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, Self::<a class="associatedtype" href="trait.GrpcQueryInterceptor.html#associatedtype.Error" title="type servers::interceptor::GrpcQueryInterceptor::Error">Error</a>&gt; { ... }
<span class="item-spacer"></span> fn <a href="#method.pre_bulk_insert" class="fn">pre_bulk_insert</a>(
&amp;self,
_table: <a class="type" href="../../table/table/type.TableRef.html" title="type table::table::TableRef">TableRef</a>,
_query_ctx: <a class="type" href="../../session/context/type.QueryContextRef.html" title="type session::context::QueryContextRef">QueryContextRef</a>,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, Self::<a class="associatedtype" href="trait.GrpcQueryInterceptor.html#associatedtype.Error" title="type servers::interceptor::GrpcQueryInterceptor::Error">Error</a>&gt; { ... }
<span class="item-spacer"></span> fn <a href="#method.post_execute" class="fn">post_execute</a>(
&amp;self,
output: <a class="struct" href="../../common_query/struct.Output.html" title="struct common_query::Output">Output</a>,
_query_ctx: <a class="type" href="../../session/context/type.QueryContextRef.html" title="type session::context::QueryContextRef">QueryContextRef</a>,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../../common_query/struct.Output.html" title="struct common_query::Output">Output</a>, Self::<a class="associatedtype" href="trait.GrpcQueryInterceptor.html#associatedtype.Error" title="type servers::interceptor::GrpcQueryInterceptor::Error">Error</a>&gt; { ... }
}</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>GrpcQueryInterceptor can track life cycle of a grpc request and customize or
abort its execution at given point.</p>
</div></details><h2 id="required-associated-types" class="section-header">Required Associated Types<a href="#required-associated-types" class="anchor">§</a></h2><div class="methods"><section id="associatedtype.Error" class="method"><a class="src rightside" href="../../src/servers/interceptor.rs.html#141">Source</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a>: <a class="trait" href="../../common_error/ext/trait.ErrorExt.html" title="trait common_error::ext::ErrorExt">ErrorExt</a></h4></section></div><h2 id="provided-methods" class="section-header">Provided Methods<a href="#provided-methods" class="anchor">§</a></h2><div class="methods"><details class="toggle method-toggle" open><summary><section id="method.pre_execute" class="method"><a class="src rightside" href="../../src/servers/interceptor.rs.html#144-150">Source</a><h4 class="code-header">fn <a href="#method.pre_execute" class="fn">pre_execute</a>(
&amp;self,
_request: &amp;Request,
_query_ctx: <a class="type" href="../../session/context/type.QueryContextRef.html" title="type session::context::QueryContextRef">QueryContextRef</a>,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, Self::<a class="associatedtype" href="trait.GrpcQueryInterceptor.html#associatedtype.Error" title="type servers::interceptor::GrpcQueryInterceptor::Error">Error</a>&gt;</h4></section></summary><div class="docblock"><p>Called before request is actually executed.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.pre_bulk_insert" class="method"><a class="src rightside" href="../../src/servers/interceptor.rs.html#153-159">Source</a><h4 class="code-header">fn <a href="#method.pre_bulk_insert" class="fn">pre_bulk_insert</a>(
&amp;self,
_table: <a class="type" href="../../table/table/type.TableRef.html" title="type table::table::TableRef">TableRef</a>,
_query_ctx: <a class="type" href="../../session/context/type.QueryContextRef.html" title="type session::context::QueryContextRef">QueryContextRef</a>,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, Self::<a class="associatedtype" href="trait.GrpcQueryInterceptor.html#associatedtype.Error" title="type servers::interceptor::GrpcQueryInterceptor::Error">Error</a>&gt;</h4></section></summary><div class="docblock"><p>Called before bulk insert is executed.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.post_execute" class="method"><a class="src rightside" href="../../src/servers/interceptor.rs.html#163-169">Source</a><h4 class="code-header">fn <a href="#method.post_execute" class="fn">post_execute</a>(
&amp;self,
output: <a class="struct" href="../../common_query/struct.Output.html" title="struct common_query::Output">Output</a>,
_query_ctx: <a class="type" href="../../session/context/type.QueryContextRef.html" title="type session::context::QueryContextRef">QueryContextRef</a>,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../../common_query/struct.Output.html" title="struct common_query::Output">Output</a>, Self::<a class="associatedtype" href="trait.GrpcQueryInterceptor.html#associatedtype.Error" title="type servers::interceptor::GrpcQueryInterceptor::Error">Error</a>&gt;</h4></section></summary><div class="docblock"><p>Called after execution finished. The implementation can modify the
output if needed.</p>
</div></details></div><h2 id="foreign-impls" class="section-header">Implementations on Foreign Types<a href="#foreign-impls" class="anchor">§</a></h2><details class="toggle implementors-toggle"><summary><section id="impl-GrpcQueryInterceptor-for-Option%3C%26Arc%3Cdyn+GrpcQueryInterceptor%3CError+=+E%3E+%2B+Send+%2B+Sync%3E%3E" class="impl"><a class="src rightside" href="../../src/servers/interceptor.rs.html#175-216">Source</a><a href="#impl-GrpcQueryInterceptor-for-Option%3C%26Arc%3Cdyn+GrpcQueryInterceptor%3CError+=+E%3E+%2B+Send+%2B+Sync%3E%3E" class="anchor">§</a><h3 class="code-header">impl&lt;E&gt; <a class="trait" href="trait.GrpcQueryInterceptor.html" title="trait servers::interceptor::GrpcQueryInterceptor">GrpcQueryInterceptor</a> for <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;<a class="type" href="type.GrpcQueryInterceptorRef.html" title="type servers::interceptor::GrpcQueryInterceptorRef">GrpcQueryInterceptorRef</a>&lt;E&gt;&gt;<div class="where">where
E: <a class="trait" href="../../common_error/ext/trait.ErrorExt.html" title="trait common_error::ext::ErrorExt">ErrorExt</a>,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-1" class="associatedtype trait-impl"><a class="src rightside" href="../../src/servers/interceptor.rs.html#179">Source</a><a href="#associatedtype.Error-1" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = E</h4></section><section id="method.pre_execute-1" class="method trait-impl"><a class="src rightside" href="../../src/servers/interceptor.rs.html#181-191">Source</a><a href="#method.pre_execute-1" class="anchor">§</a><h4 class="code-header">fn <a href="#method.pre_execute" class="fn">pre_execute</a>(
&amp;self,
_request: &amp;Request,
_query_ctx: <a class="type" href="../../session/context/type.QueryContextRef.html" title="type session::context::QueryContextRef">QueryContextRef</a>,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, Self::<a class="associatedtype" href="trait.GrpcQueryInterceptor.html#associatedtype.Error" title="type servers::interceptor::GrpcQueryInterceptor::Error">Error</a>&gt;</h4></section><section id="method.pre_bulk_insert-1" class="method trait-impl"><a class="src rightside" href="../../src/servers/interceptor.rs.html#193-203">Source</a><a href="#method.pre_bulk_insert-1" class="anchor">§</a><h4 class="code-header">fn <a href="#method.pre_bulk_insert" class="fn">pre_bulk_insert</a>(
&amp;self,
_table: <a class="type" href="../../table/table/type.TableRef.html" title="type table::table::TableRef">TableRef</a>,
_query_ctx: <a class="type" href="../../session/context/type.QueryContextRef.html" title="type session::context::QueryContextRef">QueryContextRef</a>,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, Self::<a class="associatedtype" href="trait.GrpcQueryInterceptor.html#associatedtype.Error" title="type servers::interceptor::GrpcQueryInterceptor::Error">Error</a>&gt;</h4></section><section id="method.post_execute-1" class="method trait-impl"><a class="src rightside" href="../../src/servers/interceptor.rs.html#205-215">Source</a><a href="#method.post_execute-1" class="anchor">§</a><h4 class="code-header">fn <a href="#method.post_execute" class="fn">post_execute</a>(
&amp;self,
output: <a class="struct" href="../../common_query/struct.Output.html" title="struct common_query::Output">Output</a>,
_query_ctx: <a class="type" href="../../session/context/type.QueryContextRef.html" title="type session::context::QueryContextRef">QueryContextRef</a>,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../../common_query/struct.Output.html" title="struct common_query::Output">Output</a>, Self::<a class="associatedtype" href="trait.GrpcQueryInterceptor.html#associatedtype.Error" title="type servers::interceptor::GrpcQueryInterceptor::Error">Error</a>&gt;</h4></section></div></details><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"></div><script src="../../trait.impl/servers/interceptor/trait.GrpcQueryInterceptor.js" data-ignore-extern-crates="core" async></script></section></div></main></body></html>

View File

@@ -0,0 +1,42 @@
<!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="LineProtocolInterceptor can track life cycle of a line protocol request and customize or abort its execution at given point."><title>LineProtocolInterceptor in servers::interceptor - 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-e56847b5.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.92.0-nightly (fa3155a64 2025-09-30)" data-channel="nightly" data-search-js="search-e256b49e.js" data-stringdex-js="stringdex-828709d0.js" data-settings-js="settings-c38705f0.js" ><script src="../../static.files/storage-e2aeef58.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-ce535bd0.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-263c88ec.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 trait"><!--[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="#">LineProtocolInterceptor</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../servers/index.html">servers</a><span class="version">1.0.0-rc.2</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Line<wbr>Protocol<wbr>Interceptor</a></h2><h3><a href="#required-associated-types">Required Associated Types</a></h3><ul class="block"><li><a href="#associatedtype.Error" title="Error">Error</a></li></ul><h3><a href="#provided-methods">Provided Methods</a></h3><ul class="block"><li><a href="#method.post_lines_conversion" title="post_lines_conversion">post_lines_conversion</a></li><li><a href="#method.pre_execute" title="pre_execute">pre_execute</a></li></ul><h3><a href="#foreign-impls">Implementations on Foreign Types</a></h3><ul class="block"><li><a href="#impl-LineProtocolInterceptor-for-Option%3CArc%3Cdyn+LineProtocolInterceptor%3CError+=+E%3E+%2B+Send+%2B+Sync%3E%3E" title="Option&#60;LineProtocolInterceptorRef&#60;E&#62;&#62;">Option&#60;LineProtocolInterceptorRef&#60;E&#62;&#62;</a></li></ul><h3><a href="#implementors">Implementors</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In servers::<wbr>interceptor</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"><div class="main-heading"><div class="rustdoc-breadcrumbs"><a href="../index.html">servers</a>::<wbr><a href="index.html">interceptor</a></div><h1>Trait <span class="trait">Line<wbr>Protocol<wbr>Interceptor</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/interceptor.rs.html#282-300">Source</a> </span></div><pre class="rust item-decl"><code>pub trait LineProtocolInterceptor {
type <a href="#associatedtype.Error" class="associatedtype">Error</a>: <a class="trait" href="../../common_error/ext/trait.ErrorExt.html" title="trait common_error::ext::ErrorExt">ErrorExt</a>;
// Provided methods
fn <a href="#method.pre_execute" class="fn">pre_execute</a>(
&amp;self,
_line: &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>,
_query_ctx: <a class="type" href="../../session/context/type.QueryContextRef.html" title="type session::context::QueryContextRef">QueryContextRef</a>,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, Self::<a class="associatedtype" href="trait.LineProtocolInterceptor.html#associatedtype.Error" title="type servers::interceptor::LineProtocolInterceptor::Error">Error</a>&gt; { ... }
<span class="item-spacer"></span> fn <a href="#method.post_lines_conversion" class="fn">post_lines_conversion</a>&lt;'life0, 'async_trait&gt;(
&amp;'life0 self,
requests: RowInsertRequests,
query_context: <a class="type" href="../../session/context/type.QueryContextRef.html" title="type session::context::QueryContextRef">QueryContextRef</a>,
) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/nightly/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;RowInsertRequests, Self::<a class="associatedtype" href="trait.LineProtocolInterceptor.html#associatedtype.Error" title="type servers::interceptor::LineProtocolInterceptor::Error">Error</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt;
<span class="where">where Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + 'async_trait,
'life0: 'async_trait</span> { ... }
}</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>LineProtocolInterceptor can track life cycle of a line protocol request
and customize or abort its execution at given point.</p>
</div></details><h2 id="required-associated-types" class="section-header">Required Associated Types<a href="#required-associated-types" class="anchor">§</a></h2><div class="methods"><section id="associatedtype.Error" class="method"><a class="src rightside" href="../../src/servers/interceptor.rs.html#283">Source</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a>: <a class="trait" href="../../common_error/ext/trait.ErrorExt.html" title="trait common_error::ext::ErrorExt">ErrorExt</a></h4></section></div><h2 id="provided-methods" class="section-header">Provided Methods<a href="#provided-methods" class="anchor">§</a></h2><div class="methods"><section id="method.pre_execute" class="method"><a class="src rightside" href="../../src/servers/interceptor.rs.html#285-287">Source</a><h4 class="code-header">fn <a href="#method.pre_execute" class="fn">pre_execute</a>(
&amp;self,
_line: &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>,
_query_ctx: <a class="type" href="../../session/context/type.QueryContextRef.html" title="type session::context::QueryContextRef">QueryContextRef</a>,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, Self::<a class="associatedtype" href="trait.LineProtocolInterceptor.html#associatedtype.Error" title="type servers::interceptor::LineProtocolInterceptor::Error">Error</a>&gt;</h4></section><details class="toggle method-toggle" open><summary><section id="method.post_lines_conversion" class="method"><a class="src rightside" href="../../src/servers/interceptor.rs.html#292-299">Source</a><h4 class="code-header">fn <a href="#method.post_lines_conversion" class="fn">post_lines_conversion</a>&lt;'life0, 'async_trait&gt;(
&amp;'life0 self,
requests: RowInsertRequests,
query_context: <a class="type" href="../../session/context/type.QueryContextRef.html" title="type session::context::QueryContextRef">QueryContextRef</a>,
) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/nightly/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;RowInsertRequests, Self::<a class="associatedtype" href="trait.LineProtocolInterceptor.html#associatedtype.Error" title="type servers::interceptor::LineProtocolInterceptor::Error">Error</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt;<div class="where">where
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + 'async_trait,
'life0: 'async_trait,</div></h4></section></summary><div class="docblock"><p>Called after the lines are converted to the [RowInsertRequests].
We can then modify the resulting requests if needed.
Typically used in some backward compatibility situation.</p>
</div></details></div><h2 id="foreign-impls" class="section-header">Implementations on Foreign Types<a href="#foreign-impls" class="anchor">§</a></h2><details class="toggle implementors-toggle"><summary><section id="impl-LineProtocolInterceptor-for-Option%3CArc%3Cdyn+LineProtocolInterceptor%3CError+=+E%3E+%2B+Send+%2B+Sync%3E%3E" class="impl"><a class="src rightside" href="../../src/servers/interceptor.rs.html#306-328">Source</a><a href="#impl-LineProtocolInterceptor-for-Option%3CArc%3Cdyn+LineProtocolInterceptor%3CError+=+E%3E+%2B+Send+%2B+Sync%3E%3E" class="anchor">§</a><h3 class="code-header">impl&lt;E: <a class="trait" href="../../common_error/ext/trait.ErrorExt.html" title="trait common_error::ext::ErrorExt">ErrorExt</a>&gt; <a class="trait" href="trait.LineProtocolInterceptor.html" title="trait servers::interceptor::LineProtocolInterceptor">LineProtocolInterceptor</a> for <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="type" href="type.LineProtocolInterceptorRef.html" title="type servers::interceptor::LineProtocolInterceptorRef">LineProtocolInterceptorRef</a>&lt;E&gt;&gt;</h3></section></summary><div class="impl-items"><section id="associatedtype.Error-1" class="associatedtype trait-impl"><a class="src rightside" href="../../src/servers/interceptor.rs.html#307">Source</a><a href="#associatedtype.Error-1" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = E</h4></section><section id="method.pre_execute-1" class="method trait-impl"><a class="src rightside" href="../../src/servers/interceptor.rs.html#309-315">Source</a><a href="#method.pre_execute-1" class="anchor">§</a><h4 class="code-header">fn <a href="#method.pre_execute" class="fn">pre_execute</a>(
&amp;self,
line: &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>,
query_ctx: <a class="type" href="../../session/context/type.QueryContextRef.html" title="type session::context::QueryContextRef">QueryContextRef</a>,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, Self::<a class="associatedtype" href="trait.LineProtocolInterceptor.html#associatedtype.Error" title="type servers::interceptor::LineProtocolInterceptor::Error">Error</a>&gt;</h4></section><section id="method.post_lines_conversion-1" class="method trait-impl"><a class="src rightside" href="../../src/servers/interceptor.rs.html#317-327">Source</a><a href="#method.post_lines_conversion-1" class="anchor">§</a><h4 class="code-header">fn <a href="#method.post_lines_conversion" class="fn">post_lines_conversion</a>&lt;'life0, 'async_trait&gt;(
&amp;'life0 self,
requests: RowInsertRequests,
query_context: <a class="type" href="../../session/context/type.QueryContextRef.html" title="type session::context::QueryContextRef">QueryContextRef</a>,
) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a>&lt;<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/nightly/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a>&lt;Output = <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;RowInsertRequests, Self::<a class="associatedtype" href="trait.LineProtocolInterceptor.html#associatedtype.Error" title="type servers::interceptor::LineProtocolInterceptor::Error">Error</a>&gt;&gt; + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait&gt;&gt;<div class="where">where
Self: 'async_trait,
'life0: 'async_trait,</div></h4></section></div></details><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"></div><script src="../../trait.impl/servers/interceptor/trait.LineProtocolInterceptor.js" data-ignore-extern-crates="core" async></script></section></div></main></body></html>

View File

@@ -0,0 +1,36 @@
<!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="LogIngestInterceptor can track life cycle of a log ingestion request and customize or abort its execution at given point."><title>LogIngestInterceptor in servers::interceptor - 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-e56847b5.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.92.0-nightly (fa3155a64 2025-09-30)" data-channel="nightly" data-search-js="search-e256b49e.js" data-stringdex-js="stringdex-828709d0.js" data-settings-js="settings-c38705f0.js" ><script src="../../static.files/storage-e2aeef58.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-ce535bd0.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-263c88ec.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 trait"><!--[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="#">LogIngestInterceptor</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../servers/index.html">servers</a><span class="version">1.0.0-rc.2</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">LogIngest<wbr>Interceptor</a></h2><h3><a href="#required-associated-types">Required Associated Types</a></h3><ul class="block"><li><a href="#associatedtype.Error" title="Error">Error</a></li></ul><h3><a href="#provided-methods">Provided Methods</a></h3><ul class="block"><li><a href="#method.pre_ingest" title="pre_ingest">pre_ingest</a></li><li><a href="#method.pre_pipeline" title="pre_pipeline">pre_pipeline</a></li></ul><h3><a href="#foreign-impls">Implementations on Foreign Types</a></h3><ul class="block"><li><a href="#impl-LogIngestInterceptor-for-Option%3C%26Arc%3Cdyn+LogIngestInterceptor%3CError+=+E%3E+%2B+Send+%2B+Sync%3E%3E" title="Option&#60;&#38;LogIngestInterceptorRef&#60;E&#62;&#62;">Option&#60;&#38;LogIngestInterceptorRef&#60;E&#62;&#62;</a></li></ul><h3><a href="#implementors">Implementors</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In servers::<wbr>interceptor</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"><div class="main-heading"><div class="rustdoc-breadcrumbs"><a href="../index.html">servers</a>::<wbr><a href="index.html">interceptor</a></div><h1>Trait <span class="trait">LogIngest<wbr>Interceptor</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/interceptor.rs.html#404-424">Source</a> </span></div><pre class="rust item-decl"><code>pub trait LogIngestInterceptor {
type <a href="#associatedtype.Error" class="associatedtype">Error</a>: <a class="trait" href="../../common_error/ext/trait.ErrorExt.html" title="trait common_error::ext::ErrorExt">ErrorExt</a>;
// Provided methods
fn <a href="#method.pre_pipeline" class="fn">pre_pipeline</a>(
&amp;self,
values: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;Value&gt;,
_query_ctx: <a class="type" href="../../session/context/type.QueryContextRef.html" title="type session::context::QueryContextRef">QueryContextRef</a>,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;Value&gt;, Self::<a class="associatedtype" href="trait.LogIngestInterceptor.html#associatedtype.Error" title="type servers::interceptor::LogIngestInterceptor::Error">Error</a>&gt; { ... }
<span class="item-spacer"></span> fn <a href="#method.pre_ingest" class="fn">pre_ingest</a>(
&amp;self,
request: RowInsertRequests,
_query_ctx: <a class="type" href="../../session/context/type.QueryContextRef.html" title="type session::context::QueryContextRef">QueryContextRef</a>,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;RowInsertRequests, Self::<a class="associatedtype" href="trait.LogIngestInterceptor.html#associatedtype.Error" title="type servers::interceptor::LogIngestInterceptor::Error">Error</a>&gt; { ... }
}</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>LogIngestInterceptor can track life cycle of a log ingestion request
and customize or abort its execution at given point.</p>
</div></details><h2 id="required-associated-types" class="section-header">Required Associated Types<a href="#required-associated-types" class="anchor">§</a></h2><div class="methods"><section id="associatedtype.Error" class="method"><a class="src rightside" href="../../src/servers/interceptor.rs.html#405">Source</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a>: <a class="trait" href="../../common_error/ext/trait.ErrorExt.html" title="trait common_error::ext::ErrorExt">ErrorExt</a></h4></section></div><h2 id="provided-methods" class="section-header">Provided Methods<a href="#provided-methods" class="anchor">§</a></h2><div class="methods"><details class="toggle method-toggle" open><summary><section id="method.pre_pipeline" class="method"><a class="src rightside" href="../../src/servers/interceptor.rs.html#408-414">Source</a><h4 class="code-header">fn <a href="#method.pre_pipeline" class="fn">pre_pipeline</a>(
&amp;self,
values: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;Value&gt;,
_query_ctx: <a class="type" href="../../session/context/type.QueryContextRef.html" title="type session::context::QueryContextRef">QueryContextRef</a>,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;Value&gt;, Self::<a class="associatedtype" href="trait.LogIngestInterceptor.html#associatedtype.Error" title="type servers::interceptor::LogIngestInterceptor::Error">Error</a>&gt;</h4></section></summary><div class="docblock"><p>Called before pipeline execution.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.pre_ingest" class="method"><a class="src rightside" href="../../src/servers/interceptor.rs.html#417-423">Source</a><h4 class="code-header">fn <a href="#method.pre_ingest" class="fn">pre_ingest</a>(
&amp;self,
request: RowInsertRequests,
_query_ctx: <a class="type" href="../../session/context/type.QueryContextRef.html" title="type session::context::QueryContextRef">QueryContextRef</a>,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;RowInsertRequests, Self::<a class="associatedtype" href="trait.LogIngestInterceptor.html#associatedtype.Error" title="type servers::interceptor::LogIngestInterceptor::Error">Error</a>&gt;</h4></section></summary><div class="docblock"><p>Called before insertion.</p>
</div></details></div><h2 id="foreign-impls" class="section-header">Implementations on Foreign Types<a href="#foreign-impls" class="anchor">§</a></h2><details class="toggle implementors-toggle"><summary><section id="impl-LogIngestInterceptor-for-Option%3C%26Arc%3Cdyn+LogIngestInterceptor%3CError+=+E%3E+%2B+Send+%2B+Sync%3E%3E" class="impl"><a class="src rightside" href="../../src/servers/interceptor.rs.html#429-458">Source</a><a href="#impl-LogIngestInterceptor-for-Option%3C%26Arc%3Cdyn+LogIngestInterceptor%3CError+=+E%3E+%2B+Send+%2B+Sync%3E%3E" class="anchor">§</a><h3 class="code-header">impl&lt;E&gt; <a class="trait" href="trait.LogIngestInterceptor.html" title="trait servers::interceptor::LogIngestInterceptor">LogIngestInterceptor</a> for <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;<a class="type" href="type.LogIngestInterceptorRef.html" title="type servers::interceptor::LogIngestInterceptorRef">LogIngestInterceptorRef</a>&lt;E&gt;&gt;<div class="where">where
E: <a class="trait" href="../../common_error/ext/trait.ErrorExt.html" title="trait common_error::ext::ErrorExt">ErrorExt</a>,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-1" class="associatedtype trait-impl"><a class="src rightside" href="../../src/servers/interceptor.rs.html#433">Source</a><a href="#associatedtype.Error-1" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = E</h4></section><section id="method.pre_pipeline-1" class="method trait-impl"><a class="src rightside" href="../../src/servers/interceptor.rs.html#435-445">Source</a><a href="#method.pre_pipeline-1" class="anchor">§</a><h4 class="code-header">fn <a href="#method.pre_pipeline" class="fn">pre_pipeline</a>(
&amp;self,
values: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;Value&gt;,
query_ctx: <a class="type" href="../../session/context/type.QueryContextRef.html" title="type session::context::QueryContextRef">QueryContextRef</a>,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;Value&gt;, Self::<a class="associatedtype" href="trait.LogIngestInterceptor.html#associatedtype.Error" title="type servers::interceptor::LogIngestInterceptor::Error">Error</a>&gt;</h4></section><section id="method.pre_ingest-1" class="method trait-impl"><a class="src rightside" href="../../src/servers/interceptor.rs.html#447-457">Source</a><a href="#method.pre_ingest-1" class="anchor">§</a><h4 class="code-header">fn <a href="#method.pre_ingest" class="fn">pre_ingest</a>(
&amp;self,
request: RowInsertRequests,
query_ctx: <a class="type" href="../../session/context/type.QueryContextRef.html" title="type session::context::QueryContextRef">QueryContextRef</a>,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;RowInsertRequests, Self::<a class="associatedtype" href="trait.LogIngestInterceptor.html#associatedtype.Error" title="type servers::interceptor::LogIngestInterceptor::Error">Error</a>&gt;</h4></section></div></details><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"></div><script src="../../trait.impl/servers/interceptor/trait.LogIngestInterceptor.js" data-ignore-extern-crates="core" async></script></section></div></main></body></html>

View File

@@ -0,0 +1,37 @@
<!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="LogQueryInterceptor can track life cycle of a log query request and customize or abort its execution at given point."><title>LogQueryInterceptor in servers::interceptor - 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-e56847b5.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.92.0-nightly (fa3155a64 2025-09-30)" data-channel="nightly" data-search-js="search-e256b49e.js" data-stringdex-js="stringdex-828709d0.js" data-settings-js="settings-c38705f0.js" ><script src="../../static.files/storage-e2aeef58.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-ce535bd0.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-263c88ec.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 trait"><!--[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="#">LogQueryInterceptor</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../servers/index.html">servers</a><span class="version">1.0.0-rc.2</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">LogQuery<wbr>Interceptor</a></h2><h3><a href="#required-associated-types">Required Associated Types</a></h3><ul class="block"><li><a href="#associatedtype.Error" title="Error">Error</a></li></ul><h3><a href="#provided-methods">Provided Methods</a></h3><ul class="block"><li><a href="#method.post_query" title="post_query">post_query</a></li><li><a href="#method.pre_query" title="pre_query">pre_query</a></li></ul><h3><a href="#foreign-impls">Implementations on Foreign Types</a></h3><ul class="block"><li><a href="#impl-LogQueryInterceptor-for-Option%3C%26Arc%3Cdyn+LogQueryInterceptor%3CError+=+E%3E+%2B+Send+%2B+Sync%3E%3E" title="Option&#60;&#38;LogQueryInterceptorRef&#60;E&#62;&#62;">Option&#60;&#38;LogQueryInterceptorRef&#60;E&#62;&#62;</a></li></ul><h3><a href="#implementors">Implementors</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In servers::<wbr>interceptor</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"><div class="main-heading"><div class="rustdoc-breadcrumbs"><a href="../index.html">servers</a>::<wbr><a href="index.html">interceptor</a></div><h1>Trait <span class="trait">LogQuery<wbr>Interceptor</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/interceptor.rs.html#462-479">Source</a> </span></div><pre class="rust item-decl"><code>pub trait LogQueryInterceptor {
type <a href="#associatedtype.Error" class="associatedtype">Error</a>: <a class="trait" href="../../common_error/ext/trait.ErrorExt.html" title="trait common_error::ext::ErrorExt">ErrorExt</a>;
// Provided methods
fn <a href="#method.pre_query" class="fn">pre_query</a>(
&amp;self,
_query: &amp;<a class="struct" href="../../log_query/log_query/struct.LogQuery.html" title="struct log_query::log_query::LogQuery">LogQuery</a>,
_query_ctx: <a class="type" href="../../session/context/type.QueryContextRef.html" title="type session::context::QueryContextRef">QueryContextRef</a>,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, Self::<a class="associatedtype" href="trait.LogQueryInterceptor.html#associatedtype.Error" title="type servers::interceptor::LogQueryInterceptor::Error">Error</a>&gt; { ... }
<span class="item-spacer"></span> fn <a href="#method.post_query" class="fn">post_query</a>(
&amp;self,
output: <a class="struct" href="../../common_query/struct.Output.html" title="struct common_query::Output">Output</a>,
_query_ctx: <a class="type" href="../../session/context/type.QueryContextRef.html" title="type session::context::QueryContextRef">QueryContextRef</a>,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../../common_query/struct.Output.html" title="struct common_query::Output">Output</a>, Self::<a class="associatedtype" href="trait.LogQueryInterceptor.html#associatedtype.Error" title="type servers::interceptor::LogQueryInterceptor::Error">Error</a>&gt; { ... }
}</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>LogQueryInterceptor can track life cycle of a log query request
and customize or abort its execution at given point.</p>
</div></details><h2 id="required-associated-types" class="section-header">Required Associated Types<a href="#required-associated-types" class="anchor">§</a></h2><div class="methods"><section id="associatedtype.Error" class="method"><a class="src rightside" href="../../src/servers/interceptor.rs.html#463">Source</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a>: <a class="trait" href="../../common_error/ext/trait.ErrorExt.html" title="trait common_error::ext::ErrorExt">ErrorExt</a></h4></section></div><h2 id="provided-methods" class="section-header">Provided Methods<a href="#provided-methods" class="anchor">§</a></h2><div class="methods"><details class="toggle method-toggle" open><summary><section id="method.pre_query" class="method"><a class="src rightside" href="../../src/servers/interceptor.rs.html#466-468">Source</a><h4 class="code-header">fn <a href="#method.pre_query" class="fn">pre_query</a>(
&amp;self,
_query: &amp;<a class="struct" href="../../log_query/log_query/struct.LogQuery.html" title="struct log_query::log_query::LogQuery">LogQuery</a>,
_query_ctx: <a class="type" href="../../session/context/type.QueryContextRef.html" title="type session::context::QueryContextRef">QueryContextRef</a>,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, Self::<a class="associatedtype" href="trait.LogQueryInterceptor.html#associatedtype.Error" title="type servers::interceptor::LogQueryInterceptor::Error">Error</a>&gt;</h4></section></summary><div class="docblock"><p>Called before query is actually executed.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.post_query" class="method"><a class="src rightside" href="../../src/servers/interceptor.rs.html#472-478">Source</a><h4 class="code-header">fn <a href="#method.post_query" class="fn">post_query</a>(
&amp;self,
output: <a class="struct" href="../../common_query/struct.Output.html" title="struct common_query::Output">Output</a>,
_query_ctx: <a class="type" href="../../session/context/type.QueryContextRef.html" title="type session::context::QueryContextRef">QueryContextRef</a>,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../../common_query/struct.Output.html" title="struct common_query::Output">Output</a>, Self::<a class="associatedtype" href="trait.LogQueryInterceptor.html#associatedtype.Error" title="type servers::interceptor::LogQueryInterceptor::Error">Error</a>&gt;</h4></section></summary><div class="docblock"><p>Called after execution finished. The implementation can modify the
output if needed.</p>
</div></details></div><h2 id="foreign-impls" class="section-header">Implementations on Foreign Types<a href="#foreign-impls" class="anchor">§</a></h2><details class="toggle implementors-toggle"><summary><section id="impl-LogQueryInterceptor-for-Option%3C%26Arc%3Cdyn+LogQueryInterceptor%3CError+=+E%3E+%2B+Send+%2B+Sync%3E%3E" class="impl"><a class="src rightside" href="../../src/servers/interceptor.rs.html#484-509">Source</a><a href="#impl-LogQueryInterceptor-for-Option%3C%26Arc%3Cdyn+LogQueryInterceptor%3CError+=+E%3E+%2B+Send+%2B+Sync%3E%3E" class="anchor">§</a><h3 class="code-header">impl&lt;E&gt; <a class="trait" href="trait.LogQueryInterceptor.html" title="trait servers::interceptor::LogQueryInterceptor">LogQueryInterceptor</a> for <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;<a class="type" href="type.LogQueryInterceptorRef.html" title="type servers::interceptor::LogQueryInterceptorRef">LogQueryInterceptorRef</a>&lt;E&gt;&gt;<div class="where">where
E: <a class="trait" href="../../common_error/ext/trait.ErrorExt.html" title="trait common_error::ext::ErrorExt">ErrorExt</a>,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-1" class="associatedtype trait-impl"><a class="src rightside" href="../../src/servers/interceptor.rs.html#488">Source</a><a href="#associatedtype.Error-1" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = E</h4></section><section id="method.pre_query-1" class="method trait-impl"><a class="src rightside" href="../../src/servers/interceptor.rs.html#490-496">Source</a><a href="#method.pre_query-1" class="anchor">§</a><h4 class="code-header">fn <a href="#method.pre_query" class="fn">pre_query</a>(
&amp;self,
query: &amp;<a class="struct" href="../../log_query/log_query/struct.LogQuery.html" title="struct log_query::log_query::LogQuery">LogQuery</a>,
query_ctx: <a class="type" href="../../session/context/type.QueryContextRef.html" title="type session::context::QueryContextRef">QueryContextRef</a>,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, Self::<a class="associatedtype" href="trait.LogQueryInterceptor.html#associatedtype.Error" title="type servers::interceptor::LogQueryInterceptor::Error">Error</a>&gt;</h4></section><section id="method.post_query-1" class="method trait-impl"><a class="src rightside" href="../../src/servers/interceptor.rs.html#498-508">Source</a><a href="#method.post_query-1" class="anchor">§</a><h4 class="code-header">fn <a href="#method.post_query" class="fn">post_query</a>(
&amp;self,
output: <a class="struct" href="../../common_query/struct.Output.html" title="struct common_query::Output">Output</a>,
query_ctx: <a class="type" href="../../session/context/type.QueryContextRef.html" title="type session::context::QueryContextRef">QueryContextRef</a>,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../../common_query/struct.Output.html" title="struct common_query::Output">Output</a>, Self::<a class="associatedtype" href="trait.LogQueryInterceptor.html#associatedtype.Error" title="type servers::interceptor::LogQueryInterceptor::Error">Error</a>&gt;</h4></section></div></details><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"></div><script src="../../trait.impl/servers/interceptor/trait.LogQueryInterceptor.js" data-ignore-extern-crates="core" async></script></section></div></main></body></html>

View File

@@ -0,0 +1,11 @@
<!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="OpenTelemetryProtocolInterceptor can track life cycle of an open telemetry protocol request and customize or abort its execution at given point."><title>OpenTelemetryProtocolInterceptor in servers::interceptor - 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-e56847b5.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.92.0-nightly (fa3155a64 2025-09-30)" data-channel="nightly" data-search-js="search-e256b49e.js" data-stringdex-js="stringdex-828709d0.js" data-settings-js="settings-c38705f0.js" ><script src="../../static.files/storage-e2aeef58.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-ce535bd0.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-263c88ec.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 trait"><!--[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="#">OpenTelemetryProtocolInterceptor</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../servers/index.html">servers</a><span class="version">1.0.0-rc.2</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Open<wbr>Telemetry<wbr>Protocol<wbr>Interceptor</a></h2><h3><a href="#required-associated-types">Required Associated Types</a></h3><ul class="block"><li><a href="#associatedtype.Error" title="Error">Error</a></li></ul><h3><a href="#provided-methods">Provided Methods</a></h3><ul class="block"><li><a href="#method.pre_execute" title="pre_execute">pre_execute</a></li></ul><h3><a href="#foreign-impls">Implementations on Foreign Types</a></h3><ul class="block"><li><a href="#impl-OpenTelemetryProtocolInterceptor-for-Option%3CArc%3Cdyn+OpenTelemetryProtocolInterceptor%3CError+=+E%3E+%2B+Send+%2B+Sync%3E%3E" title="Option&#60;OpenTelemetryProtocolInterceptorRef&#60;E&#62;&#62;">Option&#60;OpenTelemetryProtocolInterceptorRef&#60;E&#62;&#62;</a></li></ul><h3><a href="#implementors">Implementors</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In servers::<wbr>interceptor</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"><div class="main-heading"><div class="rustdoc-breadcrumbs"><a href="../index.html">servers</a>::<wbr><a href="index.html">interceptor</a></div><h1>Trait <span class="trait">Open<wbr>Telemetry<wbr>Protocol<wbr>Interceptor</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/interceptor.rs.html#332-338">Source</a> </span></div><pre class="rust item-decl"><code>pub trait OpenTelemetryProtocolInterceptor {
type <a href="#associatedtype.Error" class="associatedtype">Error</a>: <a class="trait" href="../../common_error/ext/trait.ErrorExt.html" title="trait common_error::ext::ErrorExt">ErrorExt</a>;
// Provided method
fn <a href="#method.pre_execute" class="fn">pre_execute</a>(
&amp;self,
_query_ctx: <a class="type" href="../../session/context/type.QueryContextRef.html" title="type session::context::QueryContextRef">QueryContextRef</a>,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, Self::<a class="associatedtype" href="trait.OpenTelemetryProtocolInterceptor.html#associatedtype.Error" title="type servers::interceptor::OpenTelemetryProtocolInterceptor::Error">Error</a>&gt; { ... }
}</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>OpenTelemetryProtocolInterceptor can track life cycle of an open telemetry protocol request
and customize or abort its execution at given point.</p>
</div></details><h2 id="required-associated-types" class="section-header">Required Associated Types<a href="#required-associated-types" class="anchor">§</a></h2><div class="methods"><section id="associatedtype.Error" class="method"><a class="src rightside" href="../../src/servers/interceptor.rs.html#333">Source</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a>: <a class="trait" href="../../common_error/ext/trait.ErrorExt.html" title="trait common_error::ext::ErrorExt">ErrorExt</a></h4></section></div><h2 id="provided-methods" class="section-header">Provided Methods<a href="#provided-methods" class="anchor">§</a></h2><div class="methods"><section id="method.pre_execute" class="method"><a class="src rightside" href="../../src/servers/interceptor.rs.html#335-337">Source</a><h4 class="code-header">fn <a href="#method.pre_execute" class="fn">pre_execute</a>(&amp;self, _query_ctx: <a class="type" href="../../session/context/type.QueryContextRef.html" title="type session::context::QueryContextRef">QueryContextRef</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, Self::<a class="associatedtype" href="trait.OpenTelemetryProtocolInterceptor.html#associatedtype.Error" title="type servers::interceptor::OpenTelemetryProtocolInterceptor::Error">Error</a>&gt;</h4></section></div><h2 id="foreign-impls" class="section-header">Implementations on Foreign Types<a href="#foreign-impls" class="anchor">§</a></h2><details class="toggle implementors-toggle"><summary><section id="impl-OpenTelemetryProtocolInterceptor-for-Option%3CArc%3Cdyn+OpenTelemetryProtocolInterceptor%3CError+=+E%3E+%2B+Send+%2B+Sync%3E%3E" class="impl"><a class="src rightside" href="../../src/servers/interceptor.rs.html#343-355">Source</a><a href="#impl-OpenTelemetryProtocolInterceptor-for-Option%3CArc%3Cdyn+OpenTelemetryProtocolInterceptor%3CError+=+E%3E+%2B+Send+%2B+Sync%3E%3E" class="anchor">§</a><h3 class="code-header">impl&lt;E: <a class="trait" href="../../common_error/ext/trait.ErrorExt.html" title="trait common_error::ext::ErrorExt">ErrorExt</a>&gt; <a class="trait" href="trait.OpenTelemetryProtocolInterceptor.html" title="trait servers::interceptor::OpenTelemetryProtocolInterceptor">OpenTelemetryProtocolInterceptor</a> for <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="type" href="type.OpenTelemetryProtocolInterceptorRef.html" title="type servers::interceptor::OpenTelemetryProtocolInterceptorRef">OpenTelemetryProtocolInterceptorRef</a>&lt;E&gt;&gt;</h3></section></summary><div class="impl-items"><section id="associatedtype.Error-1" class="associatedtype trait-impl"><a class="src rightside" href="../../src/servers/interceptor.rs.html#346">Source</a><a href="#associatedtype.Error-1" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = E</h4></section><section id="method.pre_execute-1" class="method trait-impl"><a class="src rightside" href="../../src/servers/interceptor.rs.html#348-354">Source</a><a href="#method.pre_execute-1" class="anchor">§</a><h4 class="code-header">fn <a href="#method.pre_execute" class="fn">pre_execute</a>(&amp;self, query_ctx: <a class="type" href="../../session/context/type.QueryContextRef.html" title="type session::context::QueryContextRef">QueryContextRef</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, Self::<a class="associatedtype" href="trait.OpenTelemetryProtocolInterceptor.html#associatedtype.Error" title="type servers::interceptor::OpenTelemetryProtocolInterceptor::Error">Error</a>&gt;</h4></section></div></details><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"></div><script src="../../trait.impl/servers/interceptor/trait.OpenTelemetryProtocolInterceptor.js" data-ignore-extern-crates="core" async></script></section></div></main></body></html>

View File

@@ -0,0 +1,40 @@
<!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="PromQueryInterceptor can track life cycle of a prometheus request and customize or abort its execution at given point."><title>PromQueryInterceptor in servers::interceptor - 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-e56847b5.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.92.0-nightly (fa3155a64 2025-09-30)" data-channel="nightly" data-search-js="search-e256b49e.js" data-stringdex-js="stringdex-828709d0.js" data-settings-js="settings-c38705f0.js" ><script src="../../static.files/storage-e2aeef58.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-ce535bd0.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-263c88ec.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 trait"><!--[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="#">PromQueryInterceptor</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../servers/index.html">servers</a><span class="version">1.0.0-rc.2</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Prom<wbr>Query<wbr>Interceptor</a></h2><h3><a href="#required-associated-types">Required Associated Types</a></h3><ul class="block"><li><a href="#associatedtype.Error" title="Error">Error</a></li></ul><h3><a href="#provided-methods">Provided Methods</a></h3><ul class="block"><li><a href="#method.post_execute" title="post_execute">post_execute</a></li><li><a href="#method.pre_execute" title="pre_execute">pre_execute</a></li></ul><h3><a href="#foreign-impls">Implementations on Foreign Types</a></h3><ul class="block"><li><a href="#impl-PromQueryInterceptor-for-Option%3CArc%3Cdyn+PromQueryInterceptor%3CError+=+E%3E+%2B+Send+%2B+Sync%3E%3E" title="Option&#60;PromQueryInterceptorRef&#60;E&#62;&#62;">Option&#60;PromQueryInterceptorRef&#60;E&#62;&#62;</a></li></ul><h3><a href="#implementors">Implementors</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In servers::<wbr>interceptor</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"><div class="main-heading"><div class="rustdoc-breadcrumbs"><a href="../index.html">servers</a>::<wbr><a href="index.html">interceptor</a></div><h1>Trait <span class="trait">Prom<wbr>Query<wbr>Interceptor</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/interceptor.rs.html#220-242">Source</a> </span></div><pre class="rust item-decl"><code>pub trait PromQueryInterceptor {
type <a href="#associatedtype.Error" class="associatedtype">Error</a>: <a class="trait" href="../../common_error/ext/trait.ErrorExt.html" title="trait common_error::ext::ErrorExt">ErrorExt</a>;
// Provided methods
fn <a href="#method.pre_execute" class="fn">pre_execute</a>(
&amp;self,
_query: &amp;<a class="struct" href="../../query/parser/struct.PromQuery.html" title="struct query::parser::PromQuery">PromQuery</a>,
_plan: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;LogicalPlan&gt;,
_query_ctx: <a class="type" href="../../session/context/type.QueryContextRef.html" title="type session::context::QueryContextRef">QueryContextRef</a>,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, Self::<a class="associatedtype" href="trait.PromQueryInterceptor.html#associatedtype.Error" title="type servers::interceptor::PromQueryInterceptor::Error">Error</a>&gt; { ... }
<span class="item-spacer"></span> fn <a href="#method.post_execute" class="fn">post_execute</a>(
&amp;self,
output: <a class="struct" href="../../common_query/struct.Output.html" title="struct common_query::Output">Output</a>,
_query_ctx: <a class="type" href="../../session/context/type.QueryContextRef.html" title="type session::context::QueryContextRef">QueryContextRef</a>,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../../common_query/struct.Output.html" title="struct common_query::Output">Output</a>, Self::<a class="associatedtype" href="trait.PromQueryInterceptor.html#associatedtype.Error" title="type servers::interceptor::PromQueryInterceptor::Error">Error</a>&gt; { ... }
}</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>PromQueryInterceptor can track life cycle of a prometheus request and customize or
abort its execution at given point.</p>
</div></details><h2 id="required-associated-types" class="section-header">Required Associated Types<a href="#required-associated-types" class="anchor">§</a></h2><div class="methods"><section id="associatedtype.Error" class="method"><a class="src rightside" href="../../src/servers/interceptor.rs.html#221">Source</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a>: <a class="trait" href="../../common_error/ext/trait.ErrorExt.html" title="trait common_error::ext::ErrorExt">ErrorExt</a></h4></section></div><h2 id="provided-methods" class="section-header">Provided Methods<a href="#provided-methods" class="anchor">§</a></h2><div class="methods"><details class="toggle method-toggle" open><summary><section id="method.pre_execute" class="method"><a class="src rightside" href="../../src/servers/interceptor.rs.html#224-231">Source</a><h4 class="code-header">fn <a href="#method.pre_execute" class="fn">pre_execute</a>(
&amp;self,
_query: &amp;<a class="struct" href="../../query/parser/struct.PromQuery.html" title="struct query::parser::PromQuery">PromQuery</a>,
_plan: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;LogicalPlan&gt;,
_query_ctx: <a class="type" href="../../session/context/type.QueryContextRef.html" title="type session::context::QueryContextRef">QueryContextRef</a>,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, Self::<a class="associatedtype" href="trait.PromQueryInterceptor.html#associatedtype.Error" title="type servers::interceptor::PromQueryInterceptor::Error">Error</a>&gt;</h4></section></summary><div class="docblock"><p>Called before request is actually executed.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.post_execute" class="method"><a class="src rightside" href="../../src/servers/interceptor.rs.html#235-241">Source</a><h4 class="code-header">fn <a href="#method.post_execute" class="fn">post_execute</a>(
&amp;self,
output: <a class="struct" href="../../common_query/struct.Output.html" title="struct common_query::Output">Output</a>,
_query_ctx: <a class="type" href="../../session/context/type.QueryContextRef.html" title="type session::context::QueryContextRef">QueryContextRef</a>,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../../common_query/struct.Output.html" title="struct common_query::Output">Output</a>, Self::<a class="associatedtype" href="trait.PromQueryInterceptor.html#associatedtype.Error" title="type servers::interceptor::PromQueryInterceptor::Error">Error</a>&gt;</h4></section></summary><div class="docblock"><p>Called after execution finished. The implementation can modify the
output if needed.</p>
</div></details></div><h2 id="foreign-impls" class="section-header">Implementations on Foreign Types<a href="#foreign-impls" class="anchor">§</a></h2><details class="toggle implementors-toggle"><summary><section id="impl-PromQueryInterceptor-for-Option%3CArc%3Cdyn+PromQueryInterceptor%3CError+=+E%3E+%2B+Send+%2B+Sync%3E%3E" class="impl"><a class="src rightside" href="../../src/servers/interceptor.rs.html#247-277">Source</a><a href="#impl-PromQueryInterceptor-for-Option%3CArc%3Cdyn+PromQueryInterceptor%3CError+=+E%3E+%2B+Send+%2B+Sync%3E%3E" class="anchor">§</a><h3 class="code-header">impl&lt;E&gt; <a class="trait" href="trait.PromQueryInterceptor.html" title="trait servers::interceptor::PromQueryInterceptor">PromQueryInterceptor</a> for <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="type" href="type.PromQueryInterceptorRef.html" title="type servers::interceptor::PromQueryInterceptorRef">PromQueryInterceptorRef</a>&lt;E&gt;&gt;<div class="where">where
E: <a class="trait" href="../../common_error/ext/trait.ErrorExt.html" title="trait common_error::ext::ErrorExt">ErrorExt</a>,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-1" class="associatedtype trait-impl"><a class="src rightside" href="../../src/servers/interceptor.rs.html#251">Source</a><a href="#associatedtype.Error-1" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = E</h4></section><section id="method.pre_execute-1" class="method trait-impl"><a class="src rightside" href="../../src/servers/interceptor.rs.html#253-264">Source</a><a href="#method.pre_execute-1" class="anchor">§</a><h4 class="code-header">fn <a href="#method.pre_execute" class="fn">pre_execute</a>(
&amp;self,
query: &amp;<a class="struct" href="../../query/parser/struct.PromQuery.html" title="struct query::parser::PromQuery">PromQuery</a>,
plan: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;LogicalPlan&gt;,
query_ctx: <a class="type" href="../../session/context/type.QueryContextRef.html" title="type session::context::QueryContextRef">QueryContextRef</a>,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, Self::<a class="associatedtype" href="trait.PromQueryInterceptor.html#associatedtype.Error" title="type servers::interceptor::PromQueryInterceptor::Error">Error</a>&gt;</h4></section><section id="method.post_execute-1" class="method trait-impl"><a class="src rightside" href="../../src/servers/interceptor.rs.html#266-276">Source</a><a href="#method.post_execute-1" class="anchor">§</a><h4 class="code-header">fn <a href="#method.post_execute" class="fn">post_execute</a>(
&amp;self,
output: <a class="struct" href="../../common_query/struct.Output.html" title="struct common_query::Output">Output</a>,
query_ctx: <a class="type" href="../../session/context/type.QueryContextRef.html" title="type session::context::QueryContextRef">QueryContextRef</a>,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../../common_query/struct.Output.html" title="struct common_query::Output">Output</a>, Self::<a class="associatedtype" href="trait.PromQueryInterceptor.html#associatedtype.Error" title="type servers::interceptor::PromQueryInterceptor::Error">Error</a>&gt;</h4></section></div></details><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"></div><script src="../../trait.impl/servers/interceptor/trait.PromQueryInterceptor.js" data-ignore-extern-crates="core" async></script></section></div></main></body></html>

View File

@@ -0,0 +1,33 @@
<!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="PromStoreProtocolInterceptor can track life cycle of a prom store request and customize or abort its execution at given point."><title>PromStoreProtocolInterceptor in servers::interceptor - 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-e56847b5.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.92.0-nightly (fa3155a64 2025-09-30)" data-channel="nightly" data-search-js="search-e256b49e.js" data-stringdex-js="stringdex-828709d0.js" data-settings-js="settings-c38705f0.js" ><script src="../../static.files/storage-e2aeef58.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-ce535bd0.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-263c88ec.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 trait"><!--[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="#">PromStoreProtocolInterceptor</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../servers/index.html">servers</a><span class="version">1.0.0-rc.2</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Prom<wbr>Store<wbr>Protocol<wbr>Interceptor</a></h2><h3><a href="#required-associated-types">Required Associated Types</a></h3><ul class="block"><li><a href="#associatedtype.Error" title="Error">Error</a></li></ul><h3><a href="#provided-methods">Provided Methods</a></h3><ul class="block"><li><a href="#method.pre_read" title="pre_read">pre_read</a></li><li><a href="#method.pre_write" title="pre_write">pre_write</a></li></ul><h3><a href="#foreign-impls">Implementations on Foreign Types</a></h3><ul class="block"><li><a href="#impl-PromStoreProtocolInterceptor-for-Option%3CArc%3Cdyn+PromStoreProtocolInterceptor%3CError+=+E%3E+%2B+Send+%2B+Sync%3E%3E" title="Option&#60;PromStoreProtocolInterceptorRef&#60;E&#62;&#62;">Option&#60;PromStoreProtocolInterceptorRef&#60;E&#62;&#62;</a></li></ul><h3><a href="#implementors">Implementors</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In servers::<wbr>interceptor</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"><div class="main-heading"><div class="rustdoc-breadcrumbs"><a href="../index.html">servers</a>::<wbr><a href="index.html">interceptor</a></div><h1>Trait <span class="trait">Prom<wbr>Store<wbr>Protocol<wbr>Interceptor</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/interceptor.rs.html#359-373">Source</a> </span></div><pre class="rust item-decl"><code>pub trait PromStoreProtocolInterceptor {
type <a href="#associatedtype.Error" class="associatedtype">Error</a>: <a class="trait" href="../../common_error/ext/trait.ErrorExt.html" title="trait common_error::ext::ErrorExt">ErrorExt</a>;
// Provided methods
fn <a href="#method.pre_write" class="fn">pre_write</a>(
&amp;self,
_write_req: &amp;RowInsertRequests,
_ctx: <a class="type" href="../../session/context/type.QueryContextRef.html" title="type session::context::QueryContextRef">QueryContextRef</a>,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, Self::<a class="associatedtype" href="trait.PromStoreProtocolInterceptor.html#associatedtype.Error" title="type servers::interceptor::PromStoreProtocolInterceptor::Error">Error</a>&gt; { ... }
<span class="item-spacer"></span> fn <a href="#method.pre_read" class="fn">pre_read</a>(
&amp;self,
_read_req: &amp;ReadRequest,
_ctx: <a class="type" href="../../session/context/type.QueryContextRef.html" title="type session::context::QueryContextRef">QueryContextRef</a>,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, Self::<a class="associatedtype" href="trait.PromStoreProtocolInterceptor.html#associatedtype.Error" title="type servers::interceptor::PromStoreProtocolInterceptor::Error">Error</a>&gt; { ... }
}</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>PromStoreProtocolInterceptor can track life cycle of a prom store request
and customize or abort its execution at given point.</p>
</div></details><h2 id="required-associated-types" class="section-header">Required Associated Types<a href="#required-associated-types" class="anchor">§</a></h2><div class="methods"><section id="associatedtype.Error" class="method"><a class="src rightside" href="../../src/servers/interceptor.rs.html#360">Source</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a>: <a class="trait" href="../../common_error/ext/trait.ErrorExt.html" title="trait common_error::ext::ErrorExt">ErrorExt</a></h4></section></div><h2 id="provided-methods" class="section-header">Provided Methods<a href="#provided-methods" class="anchor">§</a></h2><div class="methods"><section id="method.pre_write" class="method"><a class="src rightside" href="../../src/servers/interceptor.rs.html#362-368">Source</a><h4 class="code-header">fn <a href="#method.pre_write" class="fn">pre_write</a>(
&amp;self,
_write_req: &amp;RowInsertRequests,
_ctx: <a class="type" href="../../session/context/type.QueryContextRef.html" title="type session::context::QueryContextRef">QueryContextRef</a>,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, Self::<a class="associatedtype" href="trait.PromStoreProtocolInterceptor.html#associatedtype.Error" title="type servers::interceptor::PromStoreProtocolInterceptor::Error">Error</a>&gt;</h4></section><section id="method.pre_read" class="method"><a class="src rightside" href="../../src/servers/interceptor.rs.html#370-372">Source</a><h4 class="code-header">fn <a href="#method.pre_read" class="fn">pre_read</a>(
&amp;self,
_read_req: &amp;ReadRequest,
_ctx: <a class="type" href="../../session/context/type.QueryContextRef.html" title="type session::context::QueryContextRef">QueryContextRef</a>,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, Self::<a class="associatedtype" href="trait.PromStoreProtocolInterceptor.html#associatedtype.Error" title="type servers::interceptor::PromStoreProtocolInterceptor::Error">Error</a>&gt;</h4></section></div><h2 id="foreign-impls" class="section-header">Implementations on Foreign Types<a href="#foreign-impls" class="anchor">§</a></h2><details class="toggle implementors-toggle"><summary><section id="impl-PromStoreProtocolInterceptor-for-Option%3CArc%3Cdyn+PromStoreProtocolInterceptor%3CError+=+E%3E+%2B+Send+%2B+Sync%3E%3E" class="impl"><a class="src rightside" href="../../src/servers/interceptor.rs.html#378-400">Source</a><a href="#impl-PromStoreProtocolInterceptor-for-Option%3CArc%3Cdyn+PromStoreProtocolInterceptor%3CError+=+E%3E+%2B+Send+%2B+Sync%3E%3E" class="anchor">§</a><h3 class="code-header">impl&lt;E: <a class="trait" href="../../common_error/ext/trait.ErrorExt.html" title="trait common_error::ext::ErrorExt">ErrorExt</a>&gt; <a class="trait" href="trait.PromStoreProtocolInterceptor.html" title="trait servers::interceptor::PromStoreProtocolInterceptor">PromStoreProtocolInterceptor</a> for <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="type" href="type.PromStoreProtocolInterceptorRef.html" title="type servers::interceptor::PromStoreProtocolInterceptorRef">PromStoreProtocolInterceptorRef</a>&lt;E&gt;&gt;</h3></section></summary><div class="impl-items"><section id="associatedtype.Error-1" class="associatedtype trait-impl"><a class="src rightside" href="../../src/servers/interceptor.rs.html#379">Source</a><a href="#associatedtype.Error-1" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = E</h4></section><section id="method.pre_write-1" class="method trait-impl"><a class="src rightside" href="../../src/servers/interceptor.rs.html#381-391">Source</a><a href="#method.pre_write-1" class="anchor">§</a><h4 class="code-header">fn <a href="#method.pre_write" class="fn">pre_write</a>(
&amp;self,
write_req: &amp;RowInsertRequests,
ctx: <a class="type" href="../../session/context/type.QueryContextRef.html" title="type session::context::QueryContextRef">QueryContextRef</a>,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, Self::<a class="associatedtype" href="trait.PromStoreProtocolInterceptor.html#associatedtype.Error" title="type servers::interceptor::PromStoreProtocolInterceptor::Error">Error</a>&gt;</h4></section><section id="method.pre_read-1" class="method trait-impl"><a class="src rightside" href="../../src/servers/interceptor.rs.html#393-399">Source</a><a href="#method.pre_read-1" class="anchor">§</a><h4 class="code-header">fn <a href="#method.pre_read" class="fn">pre_read</a>(
&amp;self,
read_req: &amp;ReadRequest,
ctx: <a class="type" href="../../session/context/type.QueryContextRef.html" title="type session::context::QueryContextRef">QueryContextRef</a>,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, Self::<a class="associatedtype" href="trait.PromStoreProtocolInterceptor.html#associatedtype.Error" title="type servers::interceptor::PromStoreProtocolInterceptor::Error">Error</a>&gt;</h4></section></div></details><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"></div><script src="../../trait.impl/servers/interceptor/trait.PromStoreProtocolInterceptor.js" data-ignore-extern-crates="core" async></script></section></div></main></body></html>

View File

@@ -0,0 +1,71 @@
<!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="SqlQueryInterceptor can track life cycle of a sql query and customize or abort its execution at given point."><title>SqlQueryInterceptor in servers::interceptor - 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-e56847b5.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.92.0-nightly (fa3155a64 2025-09-30)" data-channel="nightly" data-search-js="search-e256b49e.js" data-stringdex-js="stringdex-828709d0.js" data-settings-js="settings-c38705f0.js" ><script src="../../static.files/storage-e2aeef58.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-ce535bd0.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-263c88ec.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 trait"><!--[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="#">SqlQueryInterceptor</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../servers/index.html">servers</a><span class="version">1.0.0-rc.2</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">SqlQuery<wbr>Interceptor</a></h2><h3><a href="#required-associated-types">Required Associated Types</a></h3><ul class="block"><li><a href="#associatedtype.Error" title="Error">Error</a></li></ul><h3><a href="#provided-methods">Provided Methods</a></h3><ul class="block"><li><a href="#method.post_execute" title="post_execute">post_execute</a></li><li><a href="#method.post_parsing" title="post_parsing">post_parsing</a></li><li><a href="#method.pre_execute" title="pre_execute">pre_execute</a></li><li><a href="#method.pre_parsing" title="pre_parsing">pre_parsing</a></li></ul><h3><a href="#foreign-impls">Implementations on Foreign Types</a></h3><ul class="block"><li><a href="#impl-SqlQueryInterceptor-for-Option%3C%26Arc%3Cdyn+SqlQueryInterceptor%3CError+=+E%3E+%2B+Send+%2B+Sync%3E%3E" title="Option&#60;&#38;SqlQueryInterceptorRef&#60;E&#62;&#62;">Option&#60;&#38;SqlQueryInterceptorRef&#60;E&#62;&#62;</a></li></ul><h3><a href="#implementors">Implementors</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In servers::<wbr>interceptor</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"><div class="main-heading"><div class="rustdoc-breadcrumbs"><a href="../index.html">servers</a>::<wbr><a href="index.html">interceptor</a></div><h1>Trait <span class="trait">SqlQuery<wbr>Interceptor</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/interceptor.rs.html#34-77">Source</a> </span></div><pre class="rust item-decl"><code>pub trait SqlQueryInterceptor {
type <a href="#associatedtype.Error" class="associatedtype">Error</a>: <a class="trait" href="../../common_error/ext/trait.ErrorExt.html" title="trait common_error::ext::ErrorExt">ErrorExt</a>;
// Provided methods
fn <a href="#method.pre_parsing" class="fn">pre_parsing</a>&lt;'a&gt;(
&amp;self,
query: &amp;'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>,
_query_ctx: <a class="type" href="../../session/context/type.QueryContextRef.html" title="type session::context::QueryContextRef">QueryContextRef</a>,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="enum" href="https://doc.rust-lang.org/nightly/alloc/borrow/enum.Cow.html" title="enum alloc::borrow::Cow">Cow</a>&lt;'a, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>&gt;, Self::<a class="associatedtype" href="trait.SqlQueryInterceptor.html#associatedtype.Error" title="type servers::interceptor::SqlQueryInterceptor::Error">Error</a>&gt; { ... }
<span class="item-spacer"></span> fn <a href="#method.post_parsing" class="fn">post_parsing</a>(
&amp;self,
statements: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="enum" href="../../sql/statements/statement/enum.Statement.html" title="enum sql::statements::statement::Statement">Statement</a>&gt;,
_query_ctx: <a class="type" href="../../session/context/type.QueryContextRef.html" title="type session::context::QueryContextRef">QueryContextRef</a>,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="enum" href="../../sql/statements/statement/enum.Statement.html" title="enum sql::statements::statement::Statement">Statement</a>&gt;, Self::<a class="associatedtype" href="trait.SqlQueryInterceptor.html#associatedtype.Error" title="type servers::interceptor::SqlQueryInterceptor::Error">Error</a>&gt; { ... }
<span class="item-spacer"></span> fn <a href="#method.pre_execute" class="fn">pre_execute</a>(
&amp;self,
_statement: &amp;<a class="enum" href="../../sql/statements/statement/enum.Statement.html" title="enum sql::statements::statement::Statement">Statement</a>,
_plan: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;LogicalPlan&gt;,
_query_ctx: <a class="type" href="../../session/context/type.QueryContextRef.html" title="type session::context::QueryContextRef">QueryContextRef</a>,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, Self::<a class="associatedtype" href="trait.SqlQueryInterceptor.html#associatedtype.Error" title="type servers::interceptor::SqlQueryInterceptor::Error">Error</a>&gt; { ... }
<span class="item-spacer"></span> fn <a href="#method.post_execute" class="fn">post_execute</a>(
&amp;self,
output: <a class="struct" href="../../common_query/struct.Output.html" title="struct common_query::Output">Output</a>,
_query_ctx: <a class="type" href="../../session/context/type.QueryContextRef.html" title="type session::context::QueryContextRef">QueryContextRef</a>,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../../common_query/struct.Output.html" title="struct common_query::Output">Output</a>, Self::<a class="associatedtype" href="trait.SqlQueryInterceptor.html#associatedtype.Error" title="type servers::interceptor::SqlQueryInterceptor::Error">Error</a>&gt; { ... }
}</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>SqlQueryInterceptor can track life cycle of a sql query and customize or
abort its execution at given point.</p>
</div></details><h2 id="required-associated-types" class="section-header">Required Associated Types<a href="#required-associated-types" class="anchor">§</a></h2><div class="methods"><section id="associatedtype.Error" class="method"><a class="src rightside" href="../../src/servers/interceptor.rs.html#35">Source</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a>: <a class="trait" href="../../common_error/ext/trait.ErrorExt.html" title="trait common_error::ext::ErrorExt">ErrorExt</a></h4></section></div><h2 id="provided-methods" class="section-header">Provided Methods<a href="#provided-methods" class="anchor">§</a></h2><div class="methods"><details class="toggle method-toggle" open><summary><section id="method.pre_parsing" class="method"><a class="src rightside" href="../../src/servers/interceptor.rs.html#39-45">Source</a><h4 class="code-header">fn <a href="#method.pre_parsing" class="fn">pre_parsing</a>&lt;'a&gt;(
&amp;self,
query: &amp;'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>,
_query_ctx: <a class="type" href="../../session/context/type.QueryContextRef.html" title="type session::context::QueryContextRef">QueryContextRef</a>,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="enum" href="https://doc.rust-lang.org/nightly/alloc/borrow/enum.Cow.html" title="enum alloc::borrow::Cow">Cow</a>&lt;'a, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>&gt;, Self::<a class="associatedtype" href="trait.SqlQueryInterceptor.html#associatedtype.Error" title="type servers::interceptor::SqlQueryInterceptor::Error">Error</a>&gt;</h4></section></summary><div class="docblock"><p>Called before a query string is parsed into sql statements.
The implementation is allowed to change the sql string if needed.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.post_parsing" class="method"><a class="src rightside" href="../../src/servers/interceptor.rs.html#50-56">Source</a><h4 class="code-header">fn <a href="#method.post_parsing" class="fn">post_parsing</a>(
&amp;self,
statements: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="enum" href="../../sql/statements/statement/enum.Statement.html" title="enum sql::statements::statement::Statement">Statement</a>&gt;,
_query_ctx: <a class="type" href="../../session/context/type.QueryContextRef.html" title="type session::context::QueryContextRef">QueryContextRef</a>,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="enum" href="../../sql/statements/statement/enum.Statement.html" title="enum sql::statements::statement::Statement">Statement</a>&gt;, Self::<a class="associatedtype" href="trait.SqlQueryInterceptor.html#associatedtype.Error" title="type servers::interceptor::SqlQueryInterceptor::Error">Error</a>&gt;</h4></section></summary><div class="docblock"><p>Called after sql is parsed into statements. This interceptor is called
on each statement and the implementation can alter the statement or
abort execution by raising an error.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.pre_execute" class="method"><a class="src rightside" href="../../src/servers/interceptor.rs.html#59-66">Source</a><h4 class="code-header">fn <a href="#method.pre_execute" class="fn">pre_execute</a>(
&amp;self,
_statement: &amp;<a class="enum" href="../../sql/statements/statement/enum.Statement.html" title="enum sql::statements::statement::Statement">Statement</a>,
_plan: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;LogicalPlan&gt;,
_query_ctx: <a class="type" href="../../session/context/type.QueryContextRef.html" title="type session::context::QueryContextRef">QueryContextRef</a>,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, Self::<a class="associatedtype" href="trait.SqlQueryInterceptor.html#associatedtype.Error" title="type servers::interceptor::SqlQueryInterceptor::Error">Error</a>&gt;</h4></section></summary><div class="docblock"><p>Called before sql is actually executed. This hook is not called at the moment.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.post_execute" class="method"><a class="src rightside" href="../../src/servers/interceptor.rs.html#70-76">Source</a><h4 class="code-header">fn <a href="#method.post_execute" class="fn">post_execute</a>(
&amp;self,
output: <a class="struct" href="../../common_query/struct.Output.html" title="struct common_query::Output">Output</a>,
_query_ctx: <a class="type" href="../../session/context/type.QueryContextRef.html" title="type session::context::QueryContextRef">QueryContextRef</a>,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../../common_query/struct.Output.html" title="struct common_query::Output">Output</a>, Self::<a class="associatedtype" href="trait.SqlQueryInterceptor.html#associatedtype.Error" title="type servers::interceptor::SqlQueryInterceptor::Error">Error</a>&gt;</h4></section></summary><div class="docblock"><p>Called after execution finished. The implementation can modify the
output if needed.</p>
</div></details></div><h2 id="foreign-impls" class="section-header">Implementations on Foreign Types<a href="#foreign-impls" class="anchor">§</a></h2><details class="toggle implementors-toggle"><summary><section id="impl-SqlQueryInterceptor-for-Option%3C%26Arc%3Cdyn+SqlQueryInterceptor%3CError+=+E%3E+%2B+Send+%2B+Sync%3E%3E" class="impl"><a class="src rightside" href="../../src/servers/interceptor.rs.html#82-136">Source</a><a href="#impl-SqlQueryInterceptor-for-Option%3C%26Arc%3Cdyn+SqlQueryInterceptor%3CError+=+E%3E+%2B+Send+%2B+Sync%3E%3E" class="anchor">§</a><h3 class="code-header">impl&lt;E&gt; <a class="trait" href="trait.SqlQueryInterceptor.html" title="trait servers::interceptor::SqlQueryInterceptor">SqlQueryInterceptor</a> for <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;<a class="type" href="type.SqlQueryInterceptorRef.html" title="type servers::interceptor::SqlQueryInterceptorRef">SqlQueryInterceptorRef</a>&lt;E&gt;&gt;<div class="where">where
E: <a class="trait" href="../../common_error/ext/trait.ErrorExt.html" title="trait common_error::ext::ErrorExt">ErrorExt</a>,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-1" class="associatedtype trait-impl"><a class="src rightside" href="../../src/servers/interceptor.rs.html#86">Source</a><a href="#associatedtype.Error-1" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = E</h4></section><section id="method.pre_parsing-1" class="method trait-impl"><a class="src rightside" href="../../src/servers/interceptor.rs.html#88-98">Source</a><a href="#method.pre_parsing-1" class="anchor">§</a><h4 class="code-header">fn <a href="#method.pre_parsing" class="fn">pre_parsing</a>&lt;'a&gt;(
&amp;self,
query: &amp;'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>,
query_ctx: <a class="type" href="../../session/context/type.QueryContextRef.html" title="type session::context::QueryContextRef">QueryContextRef</a>,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="enum" href="https://doc.rust-lang.org/nightly/alloc/borrow/enum.Cow.html" title="enum alloc::borrow::Cow">Cow</a>&lt;'a, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>&gt;, Self::<a class="associatedtype" href="trait.SqlQueryInterceptor.html#associatedtype.Error" title="type servers::interceptor::SqlQueryInterceptor::Error">Error</a>&gt;</h4></section><section id="method.post_parsing-1" class="method trait-impl"><a class="src rightside" href="../../src/servers/interceptor.rs.html#100-110">Source</a><a href="#method.post_parsing-1" class="anchor">§</a><h4 class="code-header">fn <a href="#method.post_parsing" class="fn">post_parsing</a>(
&amp;self,
statements: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="enum" href="../../sql/statements/statement/enum.Statement.html" title="enum sql::statements::statement::Statement">Statement</a>&gt;,
query_ctx: <a class="type" href="../../session/context/type.QueryContextRef.html" title="type session::context::QueryContextRef">QueryContextRef</a>,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="enum" href="../../sql/statements/statement/enum.Statement.html" title="enum sql::statements::statement::Statement">Statement</a>&gt;, Self::<a class="associatedtype" href="trait.SqlQueryInterceptor.html#associatedtype.Error" title="type servers::interceptor::SqlQueryInterceptor::Error">Error</a>&gt;</h4></section><section id="method.pre_execute-1" class="method trait-impl"><a class="src rightside" href="../../src/servers/interceptor.rs.html#112-123">Source</a><a href="#method.pre_execute-1" class="anchor">§</a><h4 class="code-header">fn <a href="#method.pre_execute" class="fn">pre_execute</a>(
&amp;self,
statement: &amp;<a class="enum" href="../../sql/statements/statement/enum.Statement.html" title="enum sql::statements::statement::Statement">Statement</a>,
plan: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;LogicalPlan&gt;,
query_ctx: <a class="type" href="../../session/context/type.QueryContextRef.html" title="type session::context::QueryContextRef">QueryContextRef</a>,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, Self::<a class="associatedtype" href="trait.SqlQueryInterceptor.html#associatedtype.Error" title="type servers::interceptor::SqlQueryInterceptor::Error">Error</a>&gt;</h4></section><section id="method.post_execute-1" class="method trait-impl"><a class="src rightside" href="../../src/servers/interceptor.rs.html#125-135">Source</a><a href="#method.post_execute-1" class="anchor">§</a><h4 class="code-header">fn <a href="#method.post_execute" class="fn">post_execute</a>(
&amp;self,
output: <a class="struct" href="../../common_query/struct.Output.html" title="struct common_query::Output">Output</a>,
query_ctx: <a class="type" href="../../session/context/type.QueryContextRef.html" title="type session::context::QueryContextRef">QueryContextRef</a>,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../../common_query/struct.Output.html" title="struct common_query::Output">Output</a>, Self::<a class="associatedtype" href="trait.SqlQueryInterceptor.html#associatedtype.Error" title="type servers::interceptor::SqlQueryInterceptor::Error">Error</a>&gt;</h4></section></div></details><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"></div><script src="../../trait.impl/servers/interceptor/trait.SqlQueryInterceptor.js" data-ignore-extern-crates="core" async></script></section></div></main></body></html>

View File

@@ -0,0 +1 @@
<!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 `GrpcQueryInterceptorRef` type in crate `servers`."><title>GrpcQueryInterceptorRef in servers::interceptor - 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-e56847b5.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.92.0-nightly (fa3155a64 2025-09-30)" data-channel="nightly" data-search-js="search-e256b49e.js" data-stringdex-js="stringdex-828709d0.js" data-settings-js="settings-c38705f0.js" ><script src="../../static.files/storage-e2aeef58.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-ce535bd0.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-263c88ec.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 type"><!--[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="#">GrpcQueryInterceptorRef</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../servers/index.html">servers</a><span class="version">1.0.0-rc.2</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Grpc<wbr>Query<wbr>Interceptor<wbr>Ref</a></h2><h3><a href="#aliased-type">Aliased Type</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In servers::<wbr>interceptor</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"><div class="main-heading"><div class="rustdoc-breadcrumbs"><a href="../index.html">servers</a>::<wbr><a href="index.html">interceptor</a></div><h1>Type Alias <span class="type">Grpc<wbr>Query<wbr>Interceptor<wbr>Ref</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/interceptor.rs.html#172-173">Source</a> </span></div><pre class="rust item-decl"><code>pub type GrpcQueryInterceptorRef&lt;E&gt; = <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a>&lt;dyn <a class="trait" href="trait.GrpcQueryInterceptor.html" title="trait servers::interceptor::GrpcQueryInterceptor">GrpcQueryInterceptor</a>&lt;Error = E&gt; + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + 'static&gt;;</code></pre><h2 id="aliased-type" class="section-header">Aliased Type<a href="#aliased-type" class="anchor">§</a></h2><pre class="rust item-decl"><code>pub struct GrpcQueryInterceptorRef&lt;E&gt; { <span class="comment">/* private fields */</span> }</code></pre><script src="../../type.impl/alloc/sync/struct.Arc.js" data-self-path="servers::interceptor::GrpcQueryInterceptorRef" async></script></section></div></main></body></html>

View File

@@ -0,0 +1 @@
<!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 `LineProtocolInterceptorRef` type in crate `servers`."><title>LineProtocolInterceptorRef in servers::interceptor - 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-e56847b5.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.92.0-nightly (fa3155a64 2025-09-30)" data-channel="nightly" data-search-js="search-e256b49e.js" data-stringdex-js="stringdex-828709d0.js" data-settings-js="settings-c38705f0.js" ><script src="../../static.files/storage-e2aeef58.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-ce535bd0.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-263c88ec.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 type"><!--[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="#">LineProtocolInterceptorRef</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../servers/index.html">servers</a><span class="version">1.0.0-rc.2</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Line<wbr>Protocol<wbr>Interceptor<wbr>Ref</a></h2><h3><a href="#aliased-type">Aliased Type</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In servers::<wbr>interceptor</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"><div class="main-heading"><div class="rustdoc-breadcrumbs"><a href="../index.html">servers</a>::<wbr><a href="index.html">interceptor</a></div><h1>Type Alias <span class="type">Line<wbr>Protocol<wbr>Interceptor<wbr>Ref</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/interceptor.rs.html#302-303">Source</a> </span></div><pre class="rust item-decl"><code>pub type LineProtocolInterceptorRef&lt;E&gt; = <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a>&lt;dyn <a class="trait" href="trait.LineProtocolInterceptor.html" title="trait servers::interceptor::LineProtocolInterceptor">LineProtocolInterceptor</a>&lt;Error = E&gt; + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + 'static&gt;;</code></pre><h2 id="aliased-type" class="section-header">Aliased Type<a href="#aliased-type" class="anchor">§</a></h2><pre class="rust item-decl"><code>pub struct LineProtocolInterceptorRef&lt;E&gt; { <span class="comment">/* private fields */</span> }</code></pre><script src="../../type.impl/alloc/sync/struct.Arc.js" data-self-path="servers::interceptor::LineProtocolInterceptorRef" async></script></section></div></main></body></html>

View File

@@ -0,0 +1 @@
<!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 `LogIngestInterceptorRef` type in crate `servers`."><title>LogIngestInterceptorRef in servers::interceptor - 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-e56847b5.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.92.0-nightly (fa3155a64 2025-09-30)" data-channel="nightly" data-search-js="search-e256b49e.js" data-stringdex-js="stringdex-828709d0.js" data-settings-js="settings-c38705f0.js" ><script src="../../static.files/storage-e2aeef58.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-ce535bd0.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-263c88ec.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 type"><!--[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="#">LogIngestInterceptorRef</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../servers/index.html">servers</a><span class="version">1.0.0-rc.2</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">LogIngest<wbr>Interceptor<wbr>Ref</a></h2><h3><a href="#aliased-type">Aliased Type</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In servers::<wbr>interceptor</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"><div class="main-heading"><div class="rustdoc-breadcrumbs"><a href="../index.html">servers</a>::<wbr><a href="index.html">interceptor</a></div><h1>Type Alias <span class="type">LogIngest<wbr>Interceptor<wbr>Ref</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/interceptor.rs.html#426-427">Source</a> </span></div><pre class="rust item-decl"><code>pub type LogIngestInterceptorRef&lt;E&gt; = <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a>&lt;dyn <a class="trait" href="trait.LogIngestInterceptor.html" title="trait servers::interceptor::LogIngestInterceptor">LogIngestInterceptor</a>&lt;Error = E&gt; + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + 'static&gt;;</code></pre><h2 id="aliased-type" class="section-header">Aliased Type<a href="#aliased-type" class="anchor">§</a></h2><pre class="rust item-decl"><code>pub struct LogIngestInterceptorRef&lt;E&gt; { <span class="comment">/* private fields */</span> }</code></pre><script src="../../type.impl/alloc/sync/struct.Arc.js" data-self-path="servers::interceptor::LogIngestInterceptorRef" async></script></section></div></main></body></html>

View File

@@ -0,0 +1 @@
<!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 `LogQueryInterceptorRef` type in crate `servers`."><title>LogQueryInterceptorRef in servers::interceptor - 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-e56847b5.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.92.0-nightly (fa3155a64 2025-09-30)" data-channel="nightly" data-search-js="search-e256b49e.js" data-stringdex-js="stringdex-828709d0.js" data-settings-js="settings-c38705f0.js" ><script src="../../static.files/storage-e2aeef58.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-ce535bd0.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-263c88ec.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 type"><!--[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="#">LogQueryInterceptorRef</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../servers/index.html">servers</a><span class="version">1.0.0-rc.2</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">LogQuery<wbr>Interceptor<wbr>Ref</a></h2><h3><a href="#aliased-type">Aliased Type</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In servers::<wbr>interceptor</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"><div class="main-heading"><div class="rustdoc-breadcrumbs"><a href="../index.html">servers</a>::<wbr><a href="index.html">interceptor</a></div><h1>Type Alias <span class="type">LogQuery<wbr>Interceptor<wbr>Ref</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/interceptor.rs.html#481-482">Source</a> </span></div><pre class="rust item-decl"><code>pub type LogQueryInterceptorRef&lt;E&gt; = <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a>&lt;dyn <a class="trait" href="trait.LogQueryInterceptor.html" title="trait servers::interceptor::LogQueryInterceptor">LogQueryInterceptor</a>&lt;Error = E&gt; + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + 'static&gt;;</code></pre><h2 id="aliased-type" class="section-header">Aliased Type<a href="#aliased-type" class="anchor">§</a></h2><pre class="rust item-decl"><code>pub struct LogQueryInterceptorRef&lt;E&gt; { <span class="comment">/* private fields */</span> }</code></pre><script src="../../type.impl/alloc/sync/struct.Arc.js" data-self-path="servers::interceptor::LogQueryInterceptorRef" async></script></section></div></main></body></html>

View File

@@ -0,0 +1 @@
<!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 `OpenTelemetryProtocolInterceptorRef` type in crate `servers`."><title>OpenTelemetryProtocolInterceptorRef in servers::interceptor - 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-e56847b5.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.92.0-nightly (fa3155a64 2025-09-30)" data-channel="nightly" data-search-js="search-e256b49e.js" data-stringdex-js="stringdex-828709d0.js" data-settings-js="settings-c38705f0.js" ><script src="../../static.files/storage-e2aeef58.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-ce535bd0.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-263c88ec.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 type"><!--[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="#">OpenTelemetryProtocolInterceptorRef</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../servers/index.html">servers</a><span class="version">1.0.0-rc.2</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Open<wbr>Telemetry<wbr>Protocol<wbr>Interceptor<wbr>Ref</a></h2><h3><a href="#aliased-type">Aliased Type</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In servers::<wbr>interceptor</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"><div class="main-heading"><div class="rustdoc-breadcrumbs"><a href="../index.html">servers</a>::<wbr><a href="index.html">interceptor</a></div><h1>Type Alias <span class="type">Open<wbr>Telemetry<wbr>Protocol<wbr>Interceptor<wbr>Ref</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/interceptor.rs.html#340-341">Source</a> </span></div><pre class="rust item-decl"><code>pub type OpenTelemetryProtocolInterceptorRef&lt;E&gt; = <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a>&lt;dyn <a class="trait" href="trait.OpenTelemetryProtocolInterceptor.html" title="trait servers::interceptor::OpenTelemetryProtocolInterceptor">OpenTelemetryProtocolInterceptor</a>&lt;Error = E&gt; + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + 'static&gt;;</code></pre><h2 id="aliased-type" class="section-header">Aliased Type<a href="#aliased-type" class="anchor">§</a></h2><pre class="rust item-decl"><code>pub struct OpenTelemetryProtocolInterceptorRef&lt;E&gt; { <span class="comment">/* private fields */</span> }</code></pre><script src="../../type.impl/alloc/sync/struct.Arc.js" data-self-path="servers::interceptor::OpenTelemetryProtocolInterceptorRef" async></script></section></div></main></body></html>

View File

@@ -0,0 +1 @@
<!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 `PromQueryInterceptorRef` type in crate `servers`."><title>PromQueryInterceptorRef in servers::interceptor - 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-e56847b5.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.92.0-nightly (fa3155a64 2025-09-30)" data-channel="nightly" data-search-js="search-e256b49e.js" data-stringdex-js="stringdex-828709d0.js" data-settings-js="settings-c38705f0.js" ><script src="../../static.files/storage-e2aeef58.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-ce535bd0.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-263c88ec.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 type"><!--[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="#">PromQueryInterceptorRef</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../servers/index.html">servers</a><span class="version">1.0.0-rc.2</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Prom<wbr>Query<wbr>Interceptor<wbr>Ref</a></h2><h3><a href="#aliased-type">Aliased Type</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In servers::<wbr>interceptor</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"><div class="main-heading"><div class="rustdoc-breadcrumbs"><a href="../index.html">servers</a>::<wbr><a href="index.html">interceptor</a></div><h1>Type Alias <span class="type">Prom<wbr>Query<wbr>Interceptor<wbr>Ref</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/interceptor.rs.html#244-245">Source</a> </span></div><pre class="rust item-decl"><code>pub type PromQueryInterceptorRef&lt;E&gt; = <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a>&lt;dyn <a class="trait" href="trait.PromQueryInterceptor.html" title="trait servers::interceptor::PromQueryInterceptor">PromQueryInterceptor</a>&lt;Error = E&gt; + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + 'static&gt;;</code></pre><h2 id="aliased-type" class="section-header">Aliased Type<a href="#aliased-type" class="anchor">§</a></h2><pre class="rust item-decl"><code>pub struct PromQueryInterceptorRef&lt;E&gt; { <span class="comment">/* private fields */</span> }</code></pre><script src="../../type.impl/alloc/sync/struct.Arc.js" data-self-path="servers::interceptor::PromQueryInterceptorRef" async></script></section></div></main></body></html>

View File

@@ -0,0 +1 @@
<!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 `PromStoreProtocolInterceptorRef` type in crate `servers`."><title>PromStoreProtocolInterceptorRef in servers::interceptor - 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-e56847b5.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.92.0-nightly (fa3155a64 2025-09-30)" data-channel="nightly" data-search-js="search-e256b49e.js" data-stringdex-js="stringdex-828709d0.js" data-settings-js="settings-c38705f0.js" ><script src="../../static.files/storage-e2aeef58.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-ce535bd0.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-263c88ec.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 type"><!--[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="#">PromStoreProtocolInterceptorRef</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../servers/index.html">servers</a><span class="version">1.0.0-rc.2</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Prom<wbr>Store<wbr>Protocol<wbr>Interceptor<wbr>Ref</a></h2><h3><a href="#aliased-type">Aliased Type</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In servers::<wbr>interceptor</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"><div class="main-heading"><div class="rustdoc-breadcrumbs"><a href="../index.html">servers</a>::<wbr><a href="index.html">interceptor</a></div><h1>Type Alias <span class="type">Prom<wbr>Store<wbr>Protocol<wbr>Interceptor<wbr>Ref</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/interceptor.rs.html#375-376">Source</a> </span></div><pre class="rust item-decl"><code>pub type PromStoreProtocolInterceptorRef&lt;E&gt; = <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a>&lt;dyn <a class="trait" href="trait.PromStoreProtocolInterceptor.html" title="trait servers::interceptor::PromStoreProtocolInterceptor">PromStoreProtocolInterceptor</a>&lt;Error = E&gt; + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + 'static&gt;;</code></pre><h2 id="aliased-type" class="section-header">Aliased Type<a href="#aliased-type" class="anchor">§</a></h2><pre class="rust item-decl"><code>pub struct PromStoreProtocolInterceptorRef&lt;E&gt; { <span class="comment">/* private fields */</span> }</code></pre><script src="../../type.impl/alloc/sync/struct.Arc.js" data-self-path="servers::interceptor::PromStoreProtocolInterceptorRef" async></script></section></div></main></body></html>

View File

@@ -0,0 +1 @@
<!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 `SqlQueryInterceptorRef` type in crate `servers`."><title>SqlQueryInterceptorRef in servers::interceptor - 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-e56847b5.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.92.0-nightly (fa3155a64 2025-09-30)" data-channel="nightly" data-search-js="search-e256b49e.js" data-stringdex-js="stringdex-828709d0.js" data-settings-js="settings-c38705f0.js" ><script src="../../static.files/storage-e2aeef58.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-ce535bd0.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-263c88ec.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 type"><!--[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="#">SqlQueryInterceptorRef</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../servers/index.html">servers</a><span class="version">1.0.0-rc.2</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">SqlQuery<wbr>Interceptor<wbr>Ref</a></h2><h3><a href="#aliased-type">Aliased Type</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In servers::<wbr>interceptor</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"><div class="main-heading"><div class="rustdoc-breadcrumbs"><a href="../index.html">servers</a>::<wbr><a href="index.html">interceptor</a></div><h1>Type Alias <span class="type">SqlQuery<wbr>Interceptor<wbr>Ref</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/interceptor.rs.html#79-80">Source</a> </span></div><pre class="rust item-decl"><code>pub type SqlQueryInterceptorRef&lt;E&gt; = <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a>&lt;dyn <a class="trait" href="trait.SqlQueryInterceptor.html" title="trait servers::interceptor::SqlQueryInterceptor">SqlQueryInterceptor</a>&lt;Error = E&gt; + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + 'static&gt;;</code></pre><h2 id="aliased-type" class="section-header">Aliased Type<a href="#aliased-type" class="anchor">§</a></h2><pre class="rust item-decl"><code>pub struct SqlQueryInterceptorRef&lt;E&gt; { <span class="comment">/* private fields */</span> }</code></pre><script src="../../type.impl/alloc/sync/struct.Arc.js" data-self-path="servers::interceptor::SqlQueryInterceptorRef" async></script></section></div></main></body></html>