mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-05-26 18:00:41 +00:00
Deploying to gh-pages from @ GreptimeTeam/greptimedb@fcb77fd025 🚀
This commit is contained in:
9
servers/interceptor/index.html
Normal file
9
servers/interceptor/index.html
Normal 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-17e0aaed.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.96.0-nightly (ac7f9ec7d 2026-03-20)" data-channel="nightly" data-search-js="search-63369b7b.js" data-stringdex-js="stringdex-2da4960a.js" data-settings-js="settings-170eb4bf.js" ><script src="../../static.files/storage-41dd4d93.js"></script><script defer src="../sidebar-items.js"></script><script defer src="../../static.files/main-5013f961.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-f7c3ffd8.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-eab170b8.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-044be391.svg"></head><body class="rustdoc mod"><a class="skip-main-content" href="#main-content">Skip to main content</a><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><rustdoc-topbar><h2><a href="#">Module 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</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" tabindex="-1"><div class="main-heading"><div class="rustdoc-breadcrumbs"><a href="../index.html">servers</a></div><h1>Module <span>interceptor</span> <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>
|
||||
1
servers/interceptor/sidebar-items.js
Normal file
1
servers/interceptor/sidebar-items.js
Normal 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"]};
|
||||
51
servers/interceptor/trait.GrpcQueryInterceptor.html
Normal file
51
servers/interceptor/trait.GrpcQueryInterceptor.html
Normal 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-17e0aaed.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.96.0-nightly (ac7f9ec7d 2026-03-20)" data-channel="nightly" data-search-js="search-63369b7b.js" data-stringdex-js="stringdex-2da4960a.js" data-settings-js="settings-170eb4bf.js" ><script src="../../static.files/storage-41dd4d93.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-5013f961.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-f7c3ffd8.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-eab170b8.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-044be391.svg"></head><body class="rustdoc trait"><a class="skip-main-content" href="#main-content">Skip to main content</a><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><rustdoc-topbar><h2><a href="#">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</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<&GrpcQueryInterceptorRef<E>>">Option<&GrpcQueryInterceptorRef<E>></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" tabindex="-1"><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> <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>: ErrorExt;
|
||||
|
||||
// Provided methods
|
||||
fn <a href="#method.pre_execute" class="fn">pre_execute</a>(
|
||||
&self,
|
||||
_request: &Request,
|
||||
_query_ctx: QueryContextRef,
|
||||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>> { ... }
|
||||
<span class="item-spacer"></span> fn <a href="#method.pre_bulk_insert" class="fn">pre_bulk_insert</a>(
|
||||
&self,
|
||||
_table: TableRef,
|
||||
_query_ctx: QueryContextRef,
|
||||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>> { ... }
|
||||
<span class="item-spacer"></span> fn <a href="#method.post_execute" class="fn">post_execute</a>(
|
||||
&self,
|
||||
output: Output,
|
||||
_query_ctx: QueryContextRef,
|
||||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><Output, Self::<a class="associatedtype" href="trait.GrpcQueryInterceptor.html#associatedtype.Error" title="type servers::interceptor::GrpcQueryInterceptor::Error">Error</a>> { ... }
|
||||
}</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>: ErrorExt</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>(
|
||||
&self,
|
||||
_request: &Request,
|
||||
_query_ctx: QueryContextRef,
|
||||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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>(
|
||||
&self,
|
||||
_table: TableRef,
|
||||
_query_ctx: QueryContextRef,
|
||||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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>(
|
||||
&self,
|
||||
output: Output,
|
||||
_query_ctx: QueryContextRef,
|
||||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><Output, Self::<a class="associatedtype" href="trait.GrpcQueryInterceptor.html#associatedtype.Error" title="type servers::interceptor::GrpcQueryInterceptor::Error">Error</a>></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<E> <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><&<a class="type" href="type.GrpcQueryInterceptorRef.html" title="type servers::interceptor::GrpcQueryInterceptorRef">GrpcQueryInterceptorRef</a><E>><div class="where">where
|
||||
E: ErrorExt,</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>(
|
||||
&self,
|
||||
_request: &Request,
|
||||
_query_ctx: QueryContextRef,
|
||||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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>(
|
||||
&self,
|
||||
_table: TableRef,
|
||||
_query_ctx: QueryContextRef,
|
||||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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>(
|
||||
&self,
|
||||
output: Output,
|
||||
_query_ctx: QueryContextRef,
|
||||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><Output, Self::<a class="associatedtype" href="trait.GrpcQueryInterceptor.html#associatedtype.Error" title="type servers::interceptor::GrpcQueryInterceptor::Error">Error</a>></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>
|
||||
42
servers/interceptor/trait.LineProtocolInterceptor.html
Normal file
42
servers/interceptor/trait.LineProtocolInterceptor.html
Normal 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-17e0aaed.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.96.0-nightly (ac7f9ec7d 2026-03-20)" data-channel="nightly" data-search-js="search-63369b7b.js" data-stringdex-js="stringdex-2da4960a.js" data-settings-js="settings-170eb4bf.js" ><script src="../../static.files/storage-41dd4d93.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-5013f961.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-f7c3ffd8.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-eab170b8.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-044be391.svg"></head><body class="rustdoc trait"><a class="skip-main-content" href="#main-content">Skip to main content</a><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><rustdoc-topbar><h2><a href="#">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</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<LineProtocolInterceptorRef<E>>">Option<LineProtocolInterceptorRef<E>></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" tabindex="-1"><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> <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>: ErrorExt;
|
||||
|
||||
// Provided methods
|
||||
fn <a href="#method.pre_execute" class="fn">pre_execute</a>(
|
||||
&self,
|
||||
_line: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>,
|
||||
_query_ctx: QueryContextRef,
|
||||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>> { ... }
|
||||
<span class="item-spacer"></span> fn <a href="#method.post_lines_conversion" class="fn">post_lines_conversion</a><'life0, 'async_trait>(
|
||||
&'life0 self,
|
||||
requests: RowInsertRequests,
|
||||
query_context: QueryContextRef,
|
||||
) -> <a class="struct" href="https://doc.rust-lang.org/nightly/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><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><Output = <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><RowInsertRequests, Self::<a class="associatedtype" href="trait.LineProtocolInterceptor.html#associatedtype.Error" title="type servers::interceptor::LineProtocolInterceptor::Error">Error</a>>> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>>
|
||||
<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>: ErrorExt</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>(
|
||||
&self,
|
||||
_line: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>,
|
||||
_query_ctx: QueryContextRef,
|
||||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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><'life0, 'async_trait>(
|
||||
&'life0 self,
|
||||
requests: RowInsertRequests,
|
||||
query_context: QueryContextRef,
|
||||
) -> <a class="struct" href="https://doc.rust-lang.org/nightly/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><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><Output = <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><RowInsertRequests, Self::<a class="associatedtype" href="trait.LineProtocolInterceptor.html#associatedtype.Error" title="type servers::interceptor::LineProtocolInterceptor::Error">Error</a>>> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>><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<E: ErrorExt> <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><<a class="type" href="type.LineProtocolInterceptorRef.html" title="type servers::interceptor::LineProtocolInterceptorRef">LineProtocolInterceptorRef</a><E>></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>(
|
||||
&self,
|
||||
line: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>,
|
||||
query_ctx: QueryContextRef,
|
||||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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><'life0, 'async_trait>(
|
||||
&'life0 self,
|
||||
requests: RowInsertRequests,
|
||||
query_context: QueryContextRef,
|
||||
) -> <a class="struct" href="https://doc.rust-lang.org/nightly/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><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><Output = <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><RowInsertRequests, Self::<a class="associatedtype" href="trait.LineProtocolInterceptor.html#associatedtype.Error" title="type servers::interceptor::LineProtocolInterceptor::Error">Error</a>>> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>><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>
|
||||
36
servers/interceptor/trait.LogIngestInterceptor.html
Normal file
36
servers/interceptor/trait.LogIngestInterceptor.html
Normal 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-17e0aaed.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.96.0-nightly (ac7f9ec7d 2026-03-20)" data-channel="nightly" data-search-js="search-63369b7b.js" data-stringdex-js="stringdex-2da4960a.js" data-settings-js="settings-170eb4bf.js" ><script src="../../static.files/storage-41dd4d93.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-5013f961.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-f7c3ffd8.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-eab170b8.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-044be391.svg"></head><body class="rustdoc trait"><a class="skip-main-content" href="#main-content">Skip to main content</a><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><rustdoc-topbar><h2><a href="#">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</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<&LogIngestInterceptorRef<E>>">Option<&LogIngestInterceptorRef<E>></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" tabindex="-1"><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> <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>: ErrorExt;
|
||||
|
||||
// Provided methods
|
||||
fn <a href="#method.pre_pipeline" class="fn">pre_pipeline</a>(
|
||||
&self,
|
||||
values: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><Value>,
|
||||
_query_ctx: QueryContextRef,
|
||||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><Value>, Self::<a class="associatedtype" href="trait.LogIngestInterceptor.html#associatedtype.Error" title="type servers::interceptor::LogIngestInterceptor::Error">Error</a>> { ... }
|
||||
<span class="item-spacer"></span> fn <a href="#method.pre_ingest" class="fn">pre_ingest</a>(
|
||||
&self,
|
||||
request: RowInsertRequests,
|
||||
_query_ctx: QueryContextRef,
|
||||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><RowInsertRequests, Self::<a class="associatedtype" href="trait.LogIngestInterceptor.html#associatedtype.Error" title="type servers::interceptor::LogIngestInterceptor::Error">Error</a>> { ... }
|
||||
}</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>: ErrorExt</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>(
|
||||
&self,
|
||||
values: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><Value>,
|
||||
_query_ctx: QueryContextRef,
|
||||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><Value>, Self::<a class="associatedtype" href="trait.LogIngestInterceptor.html#associatedtype.Error" title="type servers::interceptor::LogIngestInterceptor::Error">Error</a>></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>(
|
||||
&self,
|
||||
request: RowInsertRequests,
|
||||
_query_ctx: QueryContextRef,
|
||||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><RowInsertRequests, Self::<a class="associatedtype" href="trait.LogIngestInterceptor.html#associatedtype.Error" title="type servers::interceptor::LogIngestInterceptor::Error">Error</a>></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<E> <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><&<a class="type" href="type.LogIngestInterceptorRef.html" title="type servers::interceptor::LogIngestInterceptorRef">LogIngestInterceptorRef</a><E>><div class="where">where
|
||||
E: ErrorExt,</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>(
|
||||
&self,
|
||||
values: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><Value>,
|
||||
query_ctx: QueryContextRef,
|
||||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><Value>, Self::<a class="associatedtype" href="trait.LogIngestInterceptor.html#associatedtype.Error" title="type servers::interceptor::LogIngestInterceptor::Error">Error</a>></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>(
|
||||
&self,
|
||||
request: RowInsertRequests,
|
||||
query_ctx: QueryContextRef,
|
||||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><RowInsertRequests, Self::<a class="associatedtype" href="trait.LogIngestInterceptor.html#associatedtype.Error" title="type servers::interceptor::LogIngestInterceptor::Error">Error</a>></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>
|
||||
37
servers/interceptor/trait.LogQueryInterceptor.html
Normal file
37
servers/interceptor/trait.LogQueryInterceptor.html
Normal 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-17e0aaed.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.96.0-nightly (ac7f9ec7d 2026-03-20)" data-channel="nightly" data-search-js="search-63369b7b.js" data-stringdex-js="stringdex-2da4960a.js" data-settings-js="settings-170eb4bf.js" ><script src="../../static.files/storage-41dd4d93.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-5013f961.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-f7c3ffd8.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-eab170b8.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-044be391.svg"></head><body class="rustdoc trait"><a class="skip-main-content" href="#main-content">Skip to main content</a><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><rustdoc-topbar><h2><a href="#">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</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<&LogQueryInterceptorRef<E>>">Option<&LogQueryInterceptorRef<E>></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" tabindex="-1"><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> <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>: ErrorExt;
|
||||
|
||||
// Provided methods
|
||||
fn <a href="#method.pre_query" class="fn">pre_query</a>(
|
||||
&self,
|
||||
_query: &LogQuery,
|
||||
_query_ctx: QueryContextRef,
|
||||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>> { ... }
|
||||
<span class="item-spacer"></span> fn <a href="#method.post_query" class="fn">post_query</a>(
|
||||
&self,
|
||||
output: Output,
|
||||
_query_ctx: QueryContextRef,
|
||||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><Output, Self::<a class="associatedtype" href="trait.LogQueryInterceptor.html#associatedtype.Error" title="type servers::interceptor::LogQueryInterceptor::Error">Error</a>> { ... }
|
||||
}</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>: ErrorExt</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>(
|
||||
&self,
|
||||
_query: &LogQuery,
|
||||
_query_ctx: QueryContextRef,
|
||||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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>(
|
||||
&self,
|
||||
output: Output,
|
||||
_query_ctx: QueryContextRef,
|
||||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><Output, Self::<a class="associatedtype" href="trait.LogQueryInterceptor.html#associatedtype.Error" title="type servers::interceptor::LogQueryInterceptor::Error">Error</a>></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<E> <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><&<a class="type" href="type.LogQueryInterceptorRef.html" title="type servers::interceptor::LogQueryInterceptorRef">LogQueryInterceptorRef</a><E>><div class="where">where
|
||||
E: ErrorExt,</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>(
|
||||
&self,
|
||||
query: &LogQuery,
|
||||
query_ctx: QueryContextRef,
|
||||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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>(
|
||||
&self,
|
||||
output: Output,
|
||||
query_ctx: QueryContextRef,
|
||||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><Output, Self::<a class="associatedtype" href="trait.LogQueryInterceptor.html#associatedtype.Error" title="type servers::interceptor::LogQueryInterceptor::Error">Error</a>></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>
|
||||
@@ -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-17e0aaed.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.96.0-nightly (ac7f9ec7d 2026-03-20)" data-channel="nightly" data-search-js="search-63369b7b.js" data-stringdex-js="stringdex-2da4960a.js" data-settings-js="settings-170eb4bf.js" ><script src="../../static.files/storage-41dd4d93.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-5013f961.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-f7c3ffd8.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-eab170b8.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-044be391.svg"></head><body class="rustdoc trait"><a class="skip-main-content" href="#main-content">Skip to main content</a><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><rustdoc-topbar><h2><a href="#">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</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<OpenTelemetryProtocolInterceptorRef<E>>">Option<OpenTelemetryProtocolInterceptorRef<E>></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" tabindex="-1"><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> <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>: ErrorExt;
|
||||
|
||||
// Provided method
|
||||
fn <a href="#method.pre_execute" class="fn">pre_execute</a>(
|
||||
&self,
|
||||
_query_ctx: QueryContextRef,
|
||||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>> { ... }
|
||||
}</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>: ErrorExt</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>(&self, _query_ctx: QueryContextRef) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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<E: ErrorExt> <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><<a class="type" href="type.OpenTelemetryProtocolInterceptorRef.html" title="type servers::interceptor::OpenTelemetryProtocolInterceptorRef">OpenTelemetryProtocolInterceptorRef</a><E>></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>(&self, query_ctx: QueryContextRef) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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>
|
||||
40
servers/interceptor/trait.PromQueryInterceptor.html
Normal file
40
servers/interceptor/trait.PromQueryInterceptor.html
Normal 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-17e0aaed.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.96.0-nightly (ac7f9ec7d 2026-03-20)" data-channel="nightly" data-search-js="search-63369b7b.js" data-stringdex-js="stringdex-2da4960a.js" data-settings-js="settings-170eb4bf.js" ><script src="../../static.files/storage-41dd4d93.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-5013f961.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-f7c3ffd8.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-eab170b8.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-044be391.svg"></head><body class="rustdoc trait"><a class="skip-main-content" href="#main-content">Skip to main content</a><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><rustdoc-topbar><h2><a href="#">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</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<PromQueryInterceptorRef<E>>">Option<PromQueryInterceptorRef<E>></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" tabindex="-1"><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> <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>: ErrorExt;
|
||||
|
||||
// Provided methods
|
||||
fn <a href="#method.pre_execute" class="fn">pre_execute</a>(
|
||||
&self,
|
||||
_query: &PromQuery,
|
||||
_plan: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&LogicalPlan>,
|
||||
_query_ctx: QueryContextRef,
|
||||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>> { ... }
|
||||
<span class="item-spacer"></span> fn <a href="#method.post_execute" class="fn">post_execute</a>(
|
||||
&self,
|
||||
output: Output,
|
||||
_query_ctx: QueryContextRef,
|
||||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><Output, Self::<a class="associatedtype" href="trait.PromQueryInterceptor.html#associatedtype.Error" title="type servers::interceptor::PromQueryInterceptor::Error">Error</a>> { ... }
|
||||
}</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>: ErrorExt</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>(
|
||||
&self,
|
||||
_query: &PromQuery,
|
||||
_plan: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&LogicalPlan>,
|
||||
_query_ctx: QueryContextRef,
|
||||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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>(
|
||||
&self,
|
||||
output: Output,
|
||||
_query_ctx: QueryContextRef,
|
||||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><Output, Self::<a class="associatedtype" href="trait.PromQueryInterceptor.html#associatedtype.Error" title="type servers::interceptor::PromQueryInterceptor::Error">Error</a>></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<E> <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><<a class="type" href="type.PromQueryInterceptorRef.html" title="type servers::interceptor::PromQueryInterceptorRef">PromQueryInterceptorRef</a><E>><div class="where">where
|
||||
E: ErrorExt,</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>(
|
||||
&self,
|
||||
query: &PromQuery,
|
||||
plan: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&LogicalPlan>,
|
||||
query_ctx: QueryContextRef,
|
||||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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>(
|
||||
&self,
|
||||
output: Output,
|
||||
query_ctx: QueryContextRef,
|
||||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><Output, Self::<a class="associatedtype" href="trait.PromQueryInterceptor.html#associatedtype.Error" title="type servers::interceptor::PromQueryInterceptor::Error">Error</a>></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>
|
||||
33
servers/interceptor/trait.PromStoreProtocolInterceptor.html
Normal file
33
servers/interceptor/trait.PromStoreProtocolInterceptor.html
Normal 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-17e0aaed.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.96.0-nightly (ac7f9ec7d 2026-03-20)" data-channel="nightly" data-search-js="search-63369b7b.js" data-stringdex-js="stringdex-2da4960a.js" data-settings-js="settings-170eb4bf.js" ><script src="../../static.files/storage-41dd4d93.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-5013f961.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-f7c3ffd8.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-eab170b8.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-044be391.svg"></head><body class="rustdoc trait"><a class="skip-main-content" href="#main-content">Skip to main content</a><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><rustdoc-topbar><h2><a href="#">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</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<PromStoreProtocolInterceptorRef<E>>">Option<PromStoreProtocolInterceptorRef<E>></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" tabindex="-1"><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> <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>: ErrorExt;
|
||||
|
||||
// Provided methods
|
||||
fn <a href="#method.pre_write" class="fn">pre_write</a>(
|
||||
&self,
|
||||
_write_req: &RowInsertRequests,
|
||||
_ctx: QueryContextRef,
|
||||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>> { ... }
|
||||
<span class="item-spacer"></span> fn <a href="#method.pre_read" class="fn">pre_read</a>(
|
||||
&self,
|
||||
_read_req: &ReadRequest,
|
||||
_ctx: QueryContextRef,
|
||||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>> { ... }
|
||||
}</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>: ErrorExt</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>(
|
||||
&self,
|
||||
_write_req: &RowInsertRequests,
|
||||
_ctx: QueryContextRef,
|
||||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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>(
|
||||
&self,
|
||||
_read_req: &ReadRequest,
|
||||
_ctx: QueryContextRef,
|
||||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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<E: ErrorExt> <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><<a class="type" href="type.PromStoreProtocolInterceptorRef.html" title="type servers::interceptor::PromStoreProtocolInterceptorRef">PromStoreProtocolInterceptorRef</a><E>></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>(
|
||||
&self,
|
||||
write_req: &RowInsertRequests,
|
||||
ctx: QueryContextRef,
|
||||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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>(
|
||||
&self,
|
||||
read_req: &ReadRequest,
|
||||
ctx: QueryContextRef,
|
||||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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>
|
||||
71
servers/interceptor/trait.SqlQueryInterceptor.html
Normal file
71
servers/interceptor/trait.SqlQueryInterceptor.html
Normal 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-17e0aaed.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.96.0-nightly (ac7f9ec7d 2026-03-20)" data-channel="nightly" data-search-js="search-63369b7b.js" data-stringdex-js="stringdex-2da4960a.js" data-settings-js="settings-170eb4bf.js" ><script src="../../static.files/storage-41dd4d93.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-5013f961.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-f7c3ffd8.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-eab170b8.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-044be391.svg"></head><body class="rustdoc trait"><a class="skip-main-content" href="#main-content">Skip to main content</a><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><rustdoc-topbar><h2><a href="#">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</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<&SqlQueryInterceptorRef<E>>">Option<&SqlQueryInterceptorRef<E>></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" tabindex="-1"><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> <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>: ErrorExt;
|
||||
|
||||
// Provided methods
|
||||
fn <a href="#method.pre_parsing" class="fn">pre_parsing</a><'a>(
|
||||
&self,
|
||||
query: &'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>,
|
||||
_query_ctx: QueryContextRef,
|
||||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="enum" href="https://doc.rust-lang.org/nightly/alloc/borrow/enum.Cow.html" title="enum alloc::borrow::Cow">Cow</a><'a, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>>, Self::<a class="associatedtype" href="trait.SqlQueryInterceptor.html#associatedtype.Error" title="type servers::interceptor::SqlQueryInterceptor::Error">Error</a>> { ... }
|
||||
<span class="item-spacer"></span> fn <a href="#method.post_parsing" class="fn">post_parsing</a>(
|
||||
&self,
|
||||
statements: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><Statement>,
|
||||
_query_ctx: QueryContextRef,
|
||||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><Statement>, Self::<a class="associatedtype" href="trait.SqlQueryInterceptor.html#associatedtype.Error" title="type servers::interceptor::SqlQueryInterceptor::Error">Error</a>> { ... }
|
||||
<span class="item-spacer"></span> fn <a href="#method.pre_execute" class="fn">pre_execute</a>(
|
||||
&self,
|
||||
_statement: &Statement,
|
||||
_plan: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&LogicalPlan>,
|
||||
_query_ctx: QueryContextRef,
|
||||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>> { ... }
|
||||
<span class="item-spacer"></span> fn <a href="#method.post_execute" class="fn">post_execute</a>(
|
||||
&self,
|
||||
output: Output,
|
||||
_query_ctx: QueryContextRef,
|
||||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><Output, Self::<a class="associatedtype" href="trait.SqlQueryInterceptor.html#associatedtype.Error" title="type servers::interceptor::SqlQueryInterceptor::Error">Error</a>> { ... }
|
||||
}</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>: ErrorExt</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><'a>(
|
||||
&self,
|
||||
query: &'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>,
|
||||
_query_ctx: QueryContextRef,
|
||||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="enum" href="https://doc.rust-lang.org/nightly/alloc/borrow/enum.Cow.html" title="enum alloc::borrow::Cow">Cow</a><'a, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>>, Self::<a class="associatedtype" href="trait.SqlQueryInterceptor.html#associatedtype.Error" title="type servers::interceptor::SqlQueryInterceptor::Error">Error</a>></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>(
|
||||
&self,
|
||||
statements: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><Statement>,
|
||||
_query_ctx: QueryContextRef,
|
||||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><Statement>, Self::<a class="associatedtype" href="trait.SqlQueryInterceptor.html#associatedtype.Error" title="type servers::interceptor::SqlQueryInterceptor::Error">Error</a>></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>(
|
||||
&self,
|
||||
_statement: &Statement,
|
||||
_plan: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&LogicalPlan>,
|
||||
_query_ctx: QueryContextRef,
|
||||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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>(
|
||||
&self,
|
||||
output: Output,
|
||||
_query_ctx: QueryContextRef,
|
||||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><Output, Self::<a class="associatedtype" href="trait.SqlQueryInterceptor.html#associatedtype.Error" title="type servers::interceptor::SqlQueryInterceptor::Error">Error</a>></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<E> <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><&<a class="type" href="type.SqlQueryInterceptorRef.html" title="type servers::interceptor::SqlQueryInterceptorRef">SqlQueryInterceptorRef</a><E>><div class="where">where
|
||||
E: ErrorExt,</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><'a>(
|
||||
&self,
|
||||
query: &'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>,
|
||||
query_ctx: QueryContextRef,
|
||||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="enum" href="https://doc.rust-lang.org/nightly/alloc/borrow/enum.Cow.html" title="enum alloc::borrow::Cow">Cow</a><'a, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>>, Self::<a class="associatedtype" href="trait.SqlQueryInterceptor.html#associatedtype.Error" title="type servers::interceptor::SqlQueryInterceptor::Error">Error</a>></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>(
|
||||
&self,
|
||||
statements: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><Statement>,
|
||||
query_ctx: QueryContextRef,
|
||||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><Statement>, Self::<a class="associatedtype" href="trait.SqlQueryInterceptor.html#associatedtype.Error" title="type servers::interceptor::SqlQueryInterceptor::Error">Error</a>></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>(
|
||||
&self,
|
||||
statement: &Statement,
|
||||
plan: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&LogicalPlan>,
|
||||
query_ctx: QueryContextRef,
|
||||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></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>(
|
||||
&self,
|
||||
output: Output,
|
||||
query_ctx: QueryContextRef,
|
||||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><Output, Self::<a class="associatedtype" href="trait.SqlQueryInterceptor.html#associatedtype.Error" title="type servers::interceptor::SqlQueryInterceptor::Error">Error</a>></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>
|
||||
1
servers/interceptor/type.GrpcQueryInterceptorRef.html
Normal file
1
servers/interceptor/type.GrpcQueryInterceptorRef.html
Normal 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-17e0aaed.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.96.0-nightly (ac7f9ec7d 2026-03-20)" data-channel="nightly" data-search-js="search-63369b7b.js" data-stringdex-js="stringdex-2da4960a.js" data-settings-js="settings-170eb4bf.js" ><script src="../../static.files/storage-41dd4d93.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-5013f961.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-f7c3ffd8.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-eab170b8.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-044be391.svg"></head><body class="rustdoc type"><a class="skip-main-content" href="#main-content">Skip to main content</a><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><rustdoc-topbar><h2><a href="#">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</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" tabindex="-1"><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> <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<E> = <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a><dyn <a class="trait" href="trait.GrpcQueryInterceptor.html" title="trait servers::interceptor::GrpcQueryInterceptor">GrpcQueryInterceptor</a><Error = E> + <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>;</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<E> { <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>
|
||||
1
servers/interceptor/type.LineProtocolInterceptorRef.html
Normal file
1
servers/interceptor/type.LineProtocolInterceptorRef.html
Normal 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-17e0aaed.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.96.0-nightly (ac7f9ec7d 2026-03-20)" data-channel="nightly" data-search-js="search-63369b7b.js" data-stringdex-js="stringdex-2da4960a.js" data-settings-js="settings-170eb4bf.js" ><script src="../../static.files/storage-41dd4d93.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-5013f961.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-f7c3ffd8.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-eab170b8.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-044be391.svg"></head><body class="rustdoc type"><a class="skip-main-content" href="#main-content">Skip to main content</a><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><rustdoc-topbar><h2><a href="#">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</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" tabindex="-1"><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> <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<E> = <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a><dyn <a class="trait" href="trait.LineProtocolInterceptor.html" title="trait servers::interceptor::LineProtocolInterceptor">LineProtocolInterceptor</a><Error = E> + <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>;</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<E> { <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>
|
||||
1
servers/interceptor/type.LogIngestInterceptorRef.html
Normal file
1
servers/interceptor/type.LogIngestInterceptorRef.html
Normal 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-17e0aaed.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.96.0-nightly (ac7f9ec7d 2026-03-20)" data-channel="nightly" data-search-js="search-63369b7b.js" data-stringdex-js="stringdex-2da4960a.js" data-settings-js="settings-170eb4bf.js" ><script src="../../static.files/storage-41dd4d93.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-5013f961.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-f7c3ffd8.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-eab170b8.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-044be391.svg"></head><body class="rustdoc type"><a class="skip-main-content" href="#main-content">Skip to main content</a><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><rustdoc-topbar><h2><a href="#">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</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" tabindex="-1"><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> <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<E> = <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a><dyn <a class="trait" href="trait.LogIngestInterceptor.html" title="trait servers::interceptor::LogIngestInterceptor">LogIngestInterceptor</a><Error = E> + <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>;</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<E> { <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>
|
||||
1
servers/interceptor/type.LogQueryInterceptorRef.html
Normal file
1
servers/interceptor/type.LogQueryInterceptorRef.html
Normal 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-17e0aaed.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.96.0-nightly (ac7f9ec7d 2026-03-20)" data-channel="nightly" data-search-js="search-63369b7b.js" data-stringdex-js="stringdex-2da4960a.js" data-settings-js="settings-170eb4bf.js" ><script src="../../static.files/storage-41dd4d93.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-5013f961.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-f7c3ffd8.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-eab170b8.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-044be391.svg"></head><body class="rustdoc type"><a class="skip-main-content" href="#main-content">Skip to main content</a><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><rustdoc-topbar><h2><a href="#">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</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" tabindex="-1"><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> <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<E> = <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a><dyn <a class="trait" href="trait.LogQueryInterceptor.html" title="trait servers::interceptor::LogQueryInterceptor">LogQueryInterceptor</a><Error = E> + <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>;</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<E> { <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>
|
||||
@@ -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-17e0aaed.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.96.0-nightly (ac7f9ec7d 2026-03-20)" data-channel="nightly" data-search-js="search-63369b7b.js" data-stringdex-js="stringdex-2da4960a.js" data-settings-js="settings-170eb4bf.js" ><script src="../../static.files/storage-41dd4d93.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-5013f961.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-f7c3ffd8.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-eab170b8.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-044be391.svg"></head><body class="rustdoc type"><a class="skip-main-content" href="#main-content">Skip to main content</a><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><rustdoc-topbar><h2><a href="#">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</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" tabindex="-1"><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> <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<E> = <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a><dyn <a class="trait" href="trait.OpenTelemetryProtocolInterceptor.html" title="trait servers::interceptor::OpenTelemetryProtocolInterceptor">OpenTelemetryProtocolInterceptor</a><Error = E> + <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>;</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<E> { <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>
|
||||
1
servers/interceptor/type.PromQueryInterceptorRef.html
Normal file
1
servers/interceptor/type.PromQueryInterceptorRef.html
Normal 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-17e0aaed.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.96.0-nightly (ac7f9ec7d 2026-03-20)" data-channel="nightly" data-search-js="search-63369b7b.js" data-stringdex-js="stringdex-2da4960a.js" data-settings-js="settings-170eb4bf.js" ><script src="../../static.files/storage-41dd4d93.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-5013f961.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-f7c3ffd8.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-eab170b8.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-044be391.svg"></head><body class="rustdoc type"><a class="skip-main-content" href="#main-content">Skip to main content</a><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><rustdoc-topbar><h2><a href="#">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</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" tabindex="-1"><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> <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<E> = <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a><dyn <a class="trait" href="trait.PromQueryInterceptor.html" title="trait servers::interceptor::PromQueryInterceptor">PromQueryInterceptor</a><Error = E> + <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>;</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<E> { <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>
|
||||
@@ -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-17e0aaed.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.96.0-nightly (ac7f9ec7d 2026-03-20)" data-channel="nightly" data-search-js="search-63369b7b.js" data-stringdex-js="stringdex-2da4960a.js" data-settings-js="settings-170eb4bf.js" ><script src="../../static.files/storage-41dd4d93.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-5013f961.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-f7c3ffd8.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-eab170b8.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-044be391.svg"></head><body class="rustdoc type"><a class="skip-main-content" href="#main-content">Skip to main content</a><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><rustdoc-topbar><h2><a href="#">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</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" tabindex="-1"><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> <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<E> = <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a><dyn <a class="trait" href="trait.PromStoreProtocolInterceptor.html" title="trait servers::interceptor::PromStoreProtocolInterceptor">PromStoreProtocolInterceptor</a><Error = E> + <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>;</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<E> { <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>
|
||||
1
servers/interceptor/type.SqlQueryInterceptorRef.html
Normal file
1
servers/interceptor/type.SqlQueryInterceptorRef.html
Normal 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-17e0aaed.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.96.0-nightly (ac7f9ec7d 2026-03-20)" data-channel="nightly" data-search-js="search-63369b7b.js" data-stringdex-js="stringdex-2da4960a.js" data-settings-js="settings-170eb4bf.js" ><script src="../../static.files/storage-41dd4d93.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-5013f961.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-f7c3ffd8.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-eab170b8.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-044be391.svg"></head><body class="rustdoc type"><a class="skip-main-content" href="#main-content">Skip to main content</a><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><rustdoc-topbar><h2><a href="#">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</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" tabindex="-1"><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> <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<E> = <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a><dyn <a class="trait" href="trait.SqlQueryInterceptor.html" title="trait servers::interceptor::SqlQueryInterceptor">SqlQueryInterceptor</a><Error = E> + <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>;</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<E> { <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>
|
||||
Reference in New Issue
Block a user