mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2025-12-26 08:00:01 +00:00
292 lines
164 KiB
HTML
292 lines
164 KiB
HTML
<!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="A permissive, general purpose `Dialect`, which parses a wide variety of SQL statements, from many different dialects."><title>GenericDialect in sql::dialect - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-MediumItalic-ccf7e434.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2"href="../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../../static.files/rustdoc-e56847b5.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="sql" data-themes="" data-resource-suffix="" data-rustdoc-version="1.92.0-nightly (fa3155a64 2025-09-30)" data-channel="nightly" data-search-js="search-e256b49e.js" data-stringdex-js="stringdex-828709d0.js" data-settings-js="settings-c38705f0.js" ><script src="../../static.files/storage-e2aeef58.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-ce535bd0.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-263c88ec.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-eab170b8.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-044be391.svg"></head><body class="rustdoc struct"><!--[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="#">GenericDialect</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../sql/index.html">sql</a><span class="version">1.0.0-beta.3</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Generic<wbr>Dialect</a></h2><h3><a href="#trait-implementations">Trait Implementations</a></h3><ul class="block trait-implementation"><li><a href="#impl-Debug-for-GenericDialect" title="Debug">Debug</a></li><li><a href="#impl-Default-for-GenericDialect" title="Default">Default</a></li><li><a href="#impl-Dialect-for-GenericDialect" title="Dialect">Dialect</a></li></ul><h3><a href="#synthetic-implementations">Auto Trait Implementations</a></h3><ul class="block synthetic-implementation"><li><a href="#impl-Freeze-for-GenericDialect" title="Freeze">Freeze</a></li><li><a href="#impl-RefUnwindSafe-for-GenericDialect" title="RefUnwindSafe">RefUnwindSafe</a></li><li><a href="#impl-Send-for-GenericDialect" title="Send">Send</a></li><li><a href="#impl-Sync-for-GenericDialect" title="Sync">Sync</a></li><li><a href="#impl-Unpin-for-GenericDialect" title="Unpin">Unpin</a></li><li><a href="#impl-UnwindSafe-for-GenericDialect" title="UnwindSafe">UnwindSafe</a></li></ul><h3><a href="#blanket-implementations">Blanket Implementations</a></h3><ul class="block blanket-implementation"><li><a href="#impl-Allocation-for-T" title="Allocation">Allocation</a></li><li><a href="#impl-Any-for-T" title="Any">Any</a></li><li><a href="#impl-Any-for-T-1" title="Any">Any</a></li><li><a href="#impl-Borrow%3CT%3E-for-T" title="Borrow<T>">Borrow<T></a></li><li><a href="#impl-BorrowMut%3CT%3E-for-T" title="BorrowMut<T>">BorrowMut<T></a></li><li><a href="#impl-Conv-for-T" title="Conv">Conv</a></li><li><a href="#impl-Convert%3CT%3E-for-V" title="Convert<T>">Convert<T></a></li><li><a href="#impl-ErasedDestructor-for-T" title="ErasedDestructor">ErasedDestructor</a></li><li><a href="#impl-FmtForward-for-T" title="FmtForward">FmtForward</a></li><li><a href="#impl-From%3CT%3E-for-T" title="From<T>">From<T></a></li><li><a href="#impl-FutureExt-for-T" title="FutureExt">FutureExt</a></li><li><a href="#impl-Instrument-for-T" title="Instrument">Instrument</a></li><li><a href="#impl-Into%3CU%3E-for-T" title="Into<U>">Into<U></a></li><li><a href="#impl-IntoEither-for-T" title="IntoEither">IntoEither</a></li><li><a href="#impl-IntoRequest%3CT%3E-for-T" title="IntoRequest<T>">IntoRequest<T></a></li><li><a href="#impl-LayerExt%3CL%3E-for-L" title="LayerExt<L>">LayerExt<L></a></li><li><a href="#impl-MaybeSend-for-T" title="MaybeSend">MaybeSend</a></li><li><a href="#impl-Pipe-for-T" title="Pipe">Pipe</a></li><li><a href="#impl-PolicyExt-for-T" title="PolicyExt">PolicyExt</a></li><li><a href="#impl-Same-for-T" title="Same">Same</a></li><li><a href="#impl-ServiceExt-for-T" title="ServiceExt">ServiceExt</a></li><li><a href="#impl-Tap-for-T" title="Tap">Tap</a></li><li><a href="#impl-TryConv-for-T" title="TryConv">TryConv</a></li><li><a href="#impl-TryFrom%3CU%3E-for-T" title="TryFrom<U>">TryFrom<U></a></li><li><a href="#impl-TryInto%3CU%3E-for-T" title="TryInto<U>">TryInto<U></a></li><li><a href="#impl-VZip%3CV%3E-for-T" title="VZip<V>">VZip<V></a></li><li><a href="#impl-WithSubscriber-for-T" title="WithSubscriber">WithSubscriber</a></li></ul></section><div id="rustdoc-modnav"><h2><a href="index.html">In sql::<wbr>dialect</a></h2></div></div></nav><div class="sidebar-resizer" title="Drag to resize sidebar"></div><main><div class="width-limiter"><section id="main-content" class="content"><div class="main-heading"><div class="rustdoc-breadcrumbs"><a href="../index.html">sql</a>::<wbr><a href="index.html">dialect</a></div><h1>Struct <span class="struct">Generic<wbr>Dialect</span> <button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"></span></div><pre class="rust item-decl"><code>pub struct GenericDialect;</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>A permissive, general purpose <a href="trait.Dialect.html" title="trait sql::dialect::Dialect"><code>Dialect</code></a>, which parses a wide variety of SQL
|
||
statements, from many different dialects.</p>
|
||
</div></details><h2 id="trait-implementations" class="section-header">Trait Implementations<a href="#trait-implementations" class="anchor">§</a></h2><div id="trait-implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-Debug-for-GenericDialect" class="impl"><a href="#impl-Debug-for-GenericDialect" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="struct" href="struct.GenericDialect.html" title="struct sql::dialect::GenericDialect">GenericDialect</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.fmt" class="method trait-impl"><a href="#method.fmt" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt" class="fn">fmt</a>(&self, f: &mut <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a><'_>) -> <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>, <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Error.html" title="struct core::fmt::Error">Error</a>></h4></section></summary><div class='docblock'>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Default-for-GenericDialect" class="impl"><a href="#impl-Default-for-GenericDialect" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html" title="trait core::default::Default">Default</a> for <a class="struct" href="struct.GenericDialect.html" title="struct sql::dialect::GenericDialect">GenericDialect</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.default" class="method trait-impl"><a href="#method.default" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html#tymethod.default" class="fn">default</a>() -> <a class="struct" href="struct.GenericDialect.html" title="struct sql::dialect::GenericDialect">GenericDialect</a></h4></section></summary><div class='docblock'>Returns the “default value” for a type. <a href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html#tymethod.default">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Dialect-for-GenericDialect" class="impl"><a href="#impl-Dialect-for-GenericDialect" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Dialect.html" title="trait sql::dialect::Dialect">Dialect</a> for <a class="struct" href="struct.GenericDialect.html" title="struct sql::dialect::GenericDialect">GenericDialect</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.is_delimited_identifier_start" class="method trait-impl"><a href="#method.is_delimited_identifier_start" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.is_delimited_identifier_start" class="fn">is_delimited_identifier_start</a>(&self, ch: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.char.html">char</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Determine if a character starts a quoted identifier. The default
|
||
implementation, accepting “double quoted” ids is both ANSI-compliant
|
||
and appropriate for most dialects (with the notable exception of
|
||
MySQL, MS SQL, and sqlite). You can accept one of characters listed
|
||
in <code>Word::matching_end_quote</code> here</div></details><details class="toggle method-toggle" open><summary><section id="method.is_identifier_start" class="method trait-impl"><a href="#method.is_identifier_start" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#tymethod.is_identifier_start" class="fn">is_identifier_start</a>(&self, ch: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.char.html">char</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Determine if a character is a valid start character for an unquoted identifier</div></details><details class="toggle method-toggle" open><summary><section id="method.is_identifier_part" class="method trait-impl"><a href="#method.is_identifier_part" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#tymethod.is_identifier_part" class="fn">is_identifier_part</a>(&self, ch: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.char.html">char</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Determine if a character is a valid unquoted identifier character</div></details><details class="toggle method-toggle" open><summary><section id="method.supports_unicode_string_literal" class="method trait-impl"><a href="#method.supports_unicode_string_literal" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_unicode_string_literal" class="fn">supports_unicode_string_literal</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Determine if the dialect supports string literals with <code>U&</code> prefix.
|
||
This is used to specify Unicode code points in string literals.
|
||
For example, in PostgreSQL, the following is a valid string literal: <a href="trait.Dialect.html#method.supports_unicode_string_literal">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.supports_group_by_expr" class="method trait-impl"><a href="#method.supports_group_by_expr" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_group_by_expr" class="fn">supports_group_by_expr</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if the dialects supports <code>group sets, roll up, or cube</code> expressions.</div></details><details class="toggle method-toggle" open><summary><section id="method.supports_group_by_with_modifier" class="method trait-impl"><a href="#method.supports_group_by_with_modifier" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_group_by_with_modifier" class="fn">supports_group_by_with_modifier</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if the dialects supports <code>GROUP BY</code> modifiers prefixed by a <code>WITH</code> keyword.
|
||
Example: <code>GROUP BY value WITH ROLLUP</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.supports_left_associative_joins_without_parens" class="method trait-impl"><a href="#method.supports_left_associative_joins_without_parens" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_left_associative_joins_without_parens" class="fn">supports_left_associative_joins_without_parens</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Indicates whether the dialect supports left-associative join parsing
|
||
by default when parentheses are omitted in nested joins. <a href="trait.Dialect.html#method.supports_left_associative_joins_without_parens">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.supports_connect_by" class="method trait-impl"><a href="#method.supports_connect_by" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_connect_by" class="fn">supports_connect_by</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if the dialect supports CONNECT BY.</div></details><details class="toggle method-toggle" open><summary><section id="method.supports_match_recognize" class="method trait-impl"><a href="#method.supports_match_recognize" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_match_recognize" class="fn">supports_match_recognize</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if the dialect supports the MATCH_RECOGNIZE operation.</div></details><details class="toggle method-toggle" open><summary><section id="method.supports_start_transaction_modifier" class="method trait-impl"><a href="#method.supports_start_transaction_modifier" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_start_transaction_modifier" class="fn">supports_start_transaction_modifier</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if the dialect supports <code>BEGIN {DEFERRED | IMMEDIATE | EXCLUSIVE | TRY | CATCH} [TRANSACTION]</code> statements</div></details><details class="toggle method-toggle" open><summary><section id="method.supports_window_function_null_treatment_arg" class="method trait-impl"><a href="#method.supports_window_function_null_treatment_arg" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_window_function_null_treatment_arg" class="fn">supports_window_function_null_treatment_arg</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if the dialects supports specifying null treatment
|
||
as part of a window function’s parameter list as opposed
|
||
to after the parameter list. <a href="trait.Dialect.html#method.supports_window_function_null_treatment_arg">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.supports_dictionary_syntax" class="method trait-impl"><a href="#method.supports_dictionary_syntax" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_dictionary_syntax" class="fn">supports_dictionary_syntax</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if the dialect supports defining structs or objects using a
|
||
syntax like <code>{'x': 1, 'y': 2, 'z': 3}</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.supports_window_clause_named_window_reference" class="method trait-impl"><a href="#method.supports_window_clause_named_window_reference" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_window_clause_named_window_reference" class="fn">supports_window_clause_named_window_reference</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if the dialect supports referencing another named window
|
||
within a window clause declaration. <a href="trait.Dialect.html#method.supports_window_clause_named_window_reference">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.supports_parenthesized_set_variables" class="method trait-impl"><a href="#method.supports_parenthesized_set_variables" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_parenthesized_set_variables" class="fn">supports_parenthesized_set_variables</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if the dialect supports multiple variable assignment
|
||
using parentheses in a <code>SET</code> variable declaration. <a href="trait.Dialect.html#method.supports_parenthesized_set_variables">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.supports_select_wildcard_except" class="method trait-impl"><a href="#method.supports_select_wildcard_except" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_select_wildcard_except" class="fn">supports_select_wildcard_except</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if the dialect supports an <code>EXCEPT</code> clause following a
|
||
wildcard in a select list. <a href="trait.Dialect.html#method.supports_select_wildcard_except">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.support_map_literal_syntax" class="method trait-impl"><a href="#method.support_map_literal_syntax" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.support_map_literal_syntax" class="fn">support_map_literal_syntax</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if the dialect supports defining object using the
|
||
syntax like <code>Map {1: 10, 2: 20}</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.allow_extract_custom" class="method trait-impl"><a href="#method.allow_extract_custom" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.allow_extract_custom" class="fn">allow_extract_custom</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if this dialect allows the <code>EXTRACT</code> function to words other than [<code>Keyword</code>].</div></details><details class="toggle method-toggle" open><summary><section id="method.allow_extract_single_quotes" class="method trait-impl"><a href="#method.allow_extract_single_quotes" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.allow_extract_single_quotes" class="fn">allow_extract_single_quotes</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if this dialect allows the <code>EXTRACT</code> function to use single quotes in the part being extracted.</div></details><details class="toggle method-toggle" open><summary><section id="method.supports_create_index_with_clause" class="method trait-impl"><a href="#method.supports_create_index_with_clause" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_create_index_with_clause" class="fn">supports_create_index_with_clause</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Does the dialect support with clause in create index statement?
|
||
e.g. <code>CREATE INDEX idx ON t WITH (key = value, key2)</code></div></details><section id="method.supports_explain_with_utility_options" class="method trait-impl"><a href="#method.supports_explain_with_utility_options" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_explain_with_utility_options" class="fn">supports_explain_with_utility_options</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section><details class="toggle method-toggle" open><summary><section id="method.supports_limit_comma" class="method trait-impl"><a href="#method.supports_limit_comma" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_limit_comma" class="fn">supports_limit_comma</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Does the dialect support parsing <code>LIMIT 1, 2</code> as <code>LIMIT 2 OFFSET 1</code>?</div></details><details class="toggle method-toggle" open><summary><section id="method.supports_from_first_select" class="method trait-impl"><a href="#method.supports_from_first_select" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_from_first_select" class="fn">supports_from_first_select</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Return true if the dialect supports “FROM-first” selects. <a href="trait.Dialect.html#method.supports_from_first_select">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.supports_projection_trailing_commas" class="method trait-impl"><a href="#method.supports_projection_trailing_commas" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_projection_trailing_commas" class="fn">supports_projection_trailing_commas</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Does the dialect support trailing commas in the projection list?</div></details><section id="method.supports_asc_desc_in_column_definition" class="method trait-impl"><a href="#method.supports_asc_desc_in_column_definition" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_asc_desc_in_column_definition" class="fn">supports_asc_desc_in_column_definition</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section><details class="toggle method-toggle" open><summary><section id="method.supports_try_convert" class="method trait-impl"><a href="#method.supports_try_convert" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_try_convert" class="fn">supports_try_convert</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if this dialect supports the <code>TRY_CONVERT</code> function</div></details><details class="toggle method-toggle" open><summary><section id="method.supports_comment_on" class="method trait-impl"><a href="#method.supports_comment_on" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_comment_on" class="fn">supports_comment_on</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if this dialect supports the <code>COMMENT</code> statement</div></details><details class="toggle method-toggle" open><summary><section id="method.supports_load_extension" class="method trait-impl"><a href="#method.supports_load_extension" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_load_extension" class="fn">supports_load_extension</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if the dialect supports the <code>LOAD extension</code> statement</div></details><details class="toggle method-toggle" open><summary><section id="method.supports_named_fn_args_with_assignment_operator" class="method trait-impl"><a href="#method.supports_named_fn_args_with_assignment_operator" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_named_fn_args_with_assignment_operator" class="fn">supports_named_fn_args_with_assignment_operator</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if the dialect supports named arguments of the form <code>FUN(a := '1', b := '2')</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.supports_struct_literal" class="method trait-impl"><a href="#method.supports_struct_literal" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_struct_literal" class="fn">supports_struct_literal</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Return true if the dialect supports the STRUCT literal <a href="trait.Dialect.html#method.supports_struct_literal">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.supports_empty_projections" class="method trait-impl"><a href="#method.supports_empty_projections" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_empty_projections" class="fn">supports_empty_projections</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Return true if the dialect supports empty projections in SELECT statements <a href="trait.Dialect.html#method.supports_empty_projections">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.supports_nested_comments" class="method trait-impl"><a href="#method.supports_nested_comments" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_nested_comments" class="fn">supports_nested_comments</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if the dialect supports nested comments
|
||
e.g. <code>/* /* nested */ */</code></div></details><details class="toggle method-toggle" open><summary><section id="method.supports_user_host_grantee" class="method trait-impl"><a href="#method.supports_user_host_grantee" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_user_host_grantee" class="fn">supports_user_host_grantee</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Does the dialect support MySQL-style <code>'user'@'host'</code> grantee syntax?</div></details><details class="toggle method-toggle" open><summary><section id="method.supports_string_escape_constant" class="method trait-impl"><a href="#method.supports_string_escape_constant" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_string_escape_constant" class="fn">supports_string_escape_constant</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if this dialect supports the E’…’ syntax for string literals <a href="trait.Dialect.html#method.supports_string_escape_constant">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.supports_array_typedef_with_brackets" class="method trait-impl"><a href="#method.supports_array_typedef_with_brackets" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_array_typedef_with_brackets" class="fn">supports_array_typedef_with_brackets</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if the dialect supports array type definition with brackets with
|
||
an optional size. For example:
|
||
<code>CREATE TABLE my_table (arr1 INT[], arr2 INT[3])</code>
|
||
<code>SELECT x::INT[]</code></div></details><details class="toggle method-toggle" open><summary><section id="method.supports_match_against" class="method trait-impl"><a href="#method.supports_match_against" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_match_against" class="fn">supports_match_against</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Does the dialect support the <code>MATCH() AGAINST()</code> syntax?</div></details><details class="toggle method-toggle" open><summary><section id="method.supports_set_names" class="method trait-impl"><a href="#method.supports_set_names" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_set_names" class="fn">supports_set_names</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if the dialect supports <code>SET NAMES <charset_name> [COLLATE <collation_name>]</code>. <a href="trait.Dialect.html#method.supports_set_names">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.supports_comma_separated_set_assignments" class="method trait-impl"><a href="#method.supports_comma_separated_set_assignments" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_comma_separated_set_assignments" class="fn">supports_comma_separated_set_assignments</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if the dialect supports multiple <code>SET</code> statements
|
||
in a single statement. <a href="trait.Dialect.html#method.supports_comma_separated_set_assignments">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.supports_filter_during_aggregation" class="method trait-impl"><a href="#method.supports_filter_during_aggregation" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_filter_during_aggregation" class="fn">supports_filter_during_aggregation</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Does the dialect support <code>FILTER (WHERE expr)</code> for aggregate queries?</div></details><details class="toggle method-toggle" open><summary><section id="method.supports_select_wildcard_exclude" class="method trait-impl"><a href="#method.supports_select_wildcard_exclude" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_select_wildcard_exclude" class="fn">supports_select_wildcard_exclude</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if the dialect supports an exclude option
|
||
following a wildcard in the projection section. For example:
|
||
<code>SELECT * EXCLUDE col1 FROM tbl</code>. <a href="trait.Dialect.html#method.supports_select_wildcard_exclude">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.dialect" class="method trait-impl"><a href="#method.dialect" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.dialect" class="fn">dialect</a>(&self) -> <a class="struct" href="https://doc.rust-lang.org/nightly/core/any/struct.TypeId.html" title="struct core::any::TypeId">TypeId</a></h4></section></summary><div class='docblock'>Determine the <a href="https://doc.rust-lang.org/nightly/core/any/struct.TypeId.html" title="struct core::any::TypeId"><code>TypeId</code></a> of this dialect. <a href="trait.Dialect.html#method.dialect">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.is_nested_delimited_identifier_start" class="method trait-impl"><a href="#method.is_nested_delimited_identifier_start" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.is_nested_delimited_identifier_start" class="fn">is_nested_delimited_identifier_start</a>(&self, _ch: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.char.html">char</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Determine if a character starts a potential nested quoted identifier.
|
||
Example: RedShift supports the following quote styles to all mean the same thing: <a href="trait.Dialect.html#method.is_nested_delimited_identifier_start">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.peek_nested_delimited_identifier_quotes" class="method trait-impl"><a href="#method.peek_nested_delimited_identifier_quotes" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.peek_nested_delimited_identifier_quotes" class="fn">peek_nested_delimited_identifier_quotes</a>(
|
||
&self,
|
||
_chars: <a class="struct" href="https://doc.rust-lang.org/nightly/core/iter/adapters/peekable/struct.Peekable.html" title="struct core::iter::adapters::peekable::Peekable">Peekable</a><<a class="struct" href="https://doc.rust-lang.org/nightly/core/str/iter/struct.Chars.html" title="struct core::str::iter::Chars">Chars</a><'_>>,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.char.html">char</a>, <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.char.html">char</a>>)></h4></section></summary><div class='docblock'>Only applicable whenever <a href="trait.Dialect.html#method.is_nested_delimited_identifier_start" title="method sqlparser::dialect::Dialect::is_nested_delimited_identifier_start::is_nested_delimited_identifier_start"><code>Self::is_nested_delimited_identifier_start</code></a> returns true
|
||
If the next sequence of tokens potentially represent a nested identifier, then this method
|
||
returns a tuple containing the outer quote style, and if present, the inner (nested) quote style. <a href="trait.Dialect.html#method.peek_nested_delimited_identifier_quotes">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.identifier_quote_style" class="method trait-impl"><a href="#method.identifier_quote_style" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.identifier_quote_style" class="fn">identifier_quote_style</a>(&self, _identifier: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.char.html">char</a>></h4></section></summary><div class='docblock'>Return the character used to quote identifiers.</div></details><details class="toggle method-toggle" open><summary><section id="method.is_custom_operator_part" class="method trait-impl"><a href="#method.is_custom_operator_part" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.is_custom_operator_part" class="fn">is_custom_operator_part</a>(&self, _ch: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.char.html">char</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Most dialects do not have custom operators. Override this method to provide custom operators.</div></details><details class="toggle method-toggle" open><summary><section id="method.supports_string_literal_backslash_escape" class="method trait-impl"><a href="#method.supports_string_literal_backslash_escape" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_string_literal_backslash_escape" class="fn">supports_string_literal_backslash_escape</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Determine if the dialect supports escaping characters via ’' in string literals. <a href="trait.Dialect.html#method.supports_string_literal_backslash_escape">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.ignores_wildcard_escapes" class="method trait-impl"><a href="#method.ignores_wildcard_escapes" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.ignores_wildcard_escapes" class="fn">ignores_wildcard_escapes</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Determine whether the dialect strips the backslash when escaping LIKE wildcards (%, _). <a href="trait.Dialect.html#method.ignores_wildcard_escapes">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.supports_within_after_array_aggregation" class="method trait-impl"><a href="#method.supports_within_after_array_aggregation" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_within_after_array_aggregation" class="fn">supports_within_after_array_aggregation</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if the dialect supports <code>ARRAY_AGG() [WITHIN GROUP (ORDER BY)]</code> expressions.
|
||
Otherwise, the dialect should expect an <code>ORDER BY</code> without the <code>WITHIN GROUP</code> clause, e.g. <a href="https://jakewheat.github.io/sql-overview/sql-2016-foundation-grammar.html#array-aggregate-function"><code>ANSI</code></a></div></details><details class="toggle method-toggle" open><summary><section id="method.supports_outer_join_operator" class="method trait-impl"><a href="#method.supports_outer_join_operator" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_outer_join_operator" class="fn">supports_outer_join_operator</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if the dialect supports the <code>(+)</code> syntax for OUTER JOIN.</div></details><details class="toggle method-toggle" open><summary><section id="method.supports_execute_immediate" class="method trait-impl"><a href="#method.supports_execute_immediate" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_execute_immediate" class="fn">supports_execute_immediate</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if the dialect supports <code>EXECUTE IMMEDIATE</code> statements.</div></details><details class="toggle method-toggle" open><summary><section id="method.supports_in_empty_list" class="method trait-impl"><a href="#method.supports_in_empty_list" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_in_empty_list" class="fn">supports_in_empty_list</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if the dialect supports <code>(NOT) IN ()</code> expressions</div></details><details class="toggle method-toggle" open><summary><section id="method.supports_end_transaction_modifier" class="method trait-impl"><a href="#method.supports_end_transaction_modifier" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_end_transaction_modifier" class="fn">supports_end_transaction_modifier</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if the dialect supports <code>END {TRY | CATCH}</code> statements</div></details><details class="toggle method-toggle" open><summary><section id="method.supports_named_fn_args_with_eq_operator" class="method trait-impl"><a href="#method.supports_named_fn_args_with_eq_operator" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_named_fn_args_with_eq_operator" class="fn">supports_named_fn_args_with_eq_operator</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if the dialect supports named arguments of the form <code>FUN(a = '1', b = '2')</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.supports_named_fn_args_with_colon_operator" class="method trait-impl"><a href="#method.supports_named_fn_args_with_colon_operator" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_named_fn_args_with_colon_operator" class="fn">supports_named_fn_args_with_colon_operator</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if the dialect supports named arguments of the form <code>FUN(a : '1', b : '2')</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.supports_named_fn_args_with_rarrow_operator" class="method trait-impl"><a href="#method.supports_named_fn_args_with_rarrow_operator" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_named_fn_args_with_rarrow_operator" class="fn">supports_named_fn_args_with_rarrow_operator</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if the dialect supports named arguments of the form <code>FUN(a => '1', b => '2')</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.supports_named_fn_args_with_expr_name" class="method trait-impl"><a href="#method.supports_named_fn_args_with_expr_name" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_named_fn_args_with_expr_name" class="fn">supports_named_fn_args_with_expr_name</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if dialect supports argument name as arbitrary expression.
|
||
e.g. <code>FUN(LOWER('a'):'1', b:'2')</code>
|
||
Such function arguments are represented in the AST by the <code>FunctionArg::ExprNamed</code> variant,
|
||
otherwise use the <code>FunctionArg::Named</code> variant (compatible reason).</div></details><details class="toggle method-toggle" open><summary><section id="method.supports_numeric_prefix" class="method trait-impl"><a href="#method.supports_numeric_prefix" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_numeric_prefix" class="fn">supports_numeric_prefix</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if the dialect supports identifiers starting with a numeric
|
||
prefix such as tables named <code>59901_user_login</code></div></details><details class="toggle method-toggle" open><summary><section id="method.supports_numeric_literal_underscores" class="method trait-impl"><a href="#method.supports_numeric_literal_underscores" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_numeric_literal_underscores" class="fn">supports_numeric_literal_underscores</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if the dialect supports numbers containing underscores, e.g. <code>10_000_000</code></div></details><details class="toggle method-toggle" open><summary><section id="method.supports_lambda_functions" class="method trait-impl"><a href="#method.supports_lambda_functions" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_lambda_functions" class="fn">supports_lambda_functions</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if the dialect supports lambda functions, for example: <a href="trait.Dialect.html#method.supports_lambda_functions">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.convert_type_before_value" class="method trait-impl"><a href="#method.convert_type_before_value" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.convert_type_before_value" class="fn">convert_type_before_value</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if the dialect has a CONVERT function which accepts a type first
|
||
and an expression second, e.g. <code>CONVERT(varchar, 1)</code></div></details><details class="toggle method-toggle" open><summary><section id="method.supports_triple_quoted_string" class="method trait-impl"><a href="#method.supports_triple_quoted_string" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_triple_quoted_string" class="fn">supports_triple_quoted_string</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if the dialect supports triple quoted string
|
||
e.g. <code>"""abc"""</code></div></details><details class="toggle method-toggle" open><summary><section id="method.parse_prefix" class="method trait-impl"><a href="#method.parse_prefix" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.parse_prefix" class="fn">parse_prefix</a>(
|
||
&self,
|
||
_parser: &mut Parser<'_>,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<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="../ast/enum.Expr.html" title="enum sql::ast::Expr">Expr</a>, ParserError>></h4></section></summary><div class='docblock'>Dialect-specific prefix parser override</div></details><details class="toggle method-toggle" open><summary><section id="method.supports_trailing_commas" class="method trait-impl"><a href="#method.supports_trailing_commas" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_trailing_commas" class="fn">supports_trailing_commas</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Does the dialect support trailing commas around the query?</div></details><details class="toggle method-toggle" open><summary><section id="method.supports_from_trailing_commas" class="method trait-impl"><a href="#method.supports_from_trailing_commas" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_from_trailing_commas" class="fn">supports_from_trailing_commas</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if the dialect supports trailing commas in the <code>FROM</code> clause of a <code>SELECT</code> statement.
|
||
Example: <code>SELECT 1 FROM T, U, LIMIT 1</code></div></details><details class="toggle method-toggle" open><summary><section id="method.supports_column_definition_trailing_commas" class="method trait-impl"><a href="#method.supports_column_definition_trailing_commas" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_column_definition_trailing_commas" class="fn">supports_column_definition_trailing_commas</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if the dialect supports trailing commas in the
|
||
column definitions list of a <code>CREATE</code> statement.
|
||
Example: <code>CREATE TABLE T (x INT, y TEXT,)</code></div></details><details class="toggle method-toggle" open><summary><section id="method.supports_object_name_double_dot_notation" class="method trait-impl"><a href="#method.supports_object_name_double_dot_notation" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_object_name_double_dot_notation" class="fn">supports_object_name_double_dot_notation</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if the dialect supports double dot notation for object names <a href="trait.Dialect.html#method.supports_object_name_double_dot_notation">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.supports_select_expr_star" class="method trait-impl"><a href="#method.supports_select_expr_star" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_select_expr_star" class="fn">supports_select_expr_star</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Return true if the dialect supports wildcard expansion on
|
||
arbitrary expressions in projections. <a href="trait.Dialect.html#method.supports_select_expr_star">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.supports_pipe_operator" class="method trait-impl"><a href="#method.supports_pipe_operator" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_pipe_operator" class="fn">supports_pipe_operator</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Return true if the dialect supports pipe operator. <a href="trait.Dialect.html#method.supports_pipe_operator">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.supports_select_exclude" class="method trait-impl"><a href="#method.supports_select_exclude" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_select_exclude" class="fn">supports_select_exclude</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if the dialect supports an exclude option
|
||
as the last item in the projection section, not necessarily
|
||
after a wildcard. For example:
|
||
<code>SELECT *, c1, c2 EXCLUDE c3 FROM tbl</code> <a href="trait.Dialect.html#method.supports_select_exclude">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.supports_create_table_multi_schema_info_sources" class="method trait-impl"><a href="#method.supports_create_table_multi_schema_info_sources" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_create_table_multi_schema_info_sources" class="fn">supports_create_table_multi_schema_info_sources</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returne true if the dialect supports specifying multiple options
|
||
in a <code>CREATE TABLE</code> statement for the structure of the new table. For example:
|
||
<code>CREATE TABLE t (a INT, b INT) AS SELECT 1 AS b, 2 AS a</code></div></details><details class="toggle method-toggle" open><summary><section id="method.parse_infix" class="method trait-impl"><a href="#method.parse_infix" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.parse_infix" class="fn">parse_infix</a>(
|
||
&self,
|
||
_parser: &mut Parser<'_>,
|
||
_expr: &<a class="enum" href="../ast/enum.Expr.html" title="enum sql::ast::Expr">Expr</a>,
|
||
_precedence: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<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="../ast/enum.Expr.html" title="enum sql::ast::Expr">Expr</a>, ParserError>></h4></section></summary><div class='docblock'>Dialect-specific infix parser override <a href="trait.Dialect.html#method.parse_infix">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.get_next_precedence" class="method trait-impl"><a href="#method.get_next_precedence" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.get_next_precedence" class="fn">get_next_precedence</a>(
|
||
&self,
|
||
_parser: &Parser<'_>,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<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.u8.html">u8</a>, ParserError>></h4></section></summary><div class='docblock'>Dialect-specific precedence override <a href="trait.Dialect.html#method.get_next_precedence">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.get_next_precedence_default" class="method trait-impl"><a href="#method.get_next_precedence_default" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.get_next_precedence_default" class="fn">get_next_precedence_default</a>(
|
||
&self,
|
||
parser: &Parser<'_>,
|
||
) -> <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.u8.html">u8</a>, ParserError></h4></section></summary><div class='docblock'>Get the precedence of the next token, looking at the full token stream. <a href="trait.Dialect.html#method.get_next_precedence_default">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.parse_statement" class="method trait-impl"><a href="#method.parse_statement" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.parse_statement" class="fn">parse_statement</a>(
|
||
&self,
|
||
_parser: &mut Parser<'_>,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><Statement, ParserError>></h4></section></summary><div class='docblock'>Dialect-specific statement parser override <a href="trait.Dialect.html#method.parse_statement">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.parse_column_option" class="method trait-impl"><a href="#method.parse_column_option" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.parse_column_option" class="fn">parse_column_option</a>(
|
||
&self,
|
||
_parser: &mut Parser<'_>,
|
||
) -> <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/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<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/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="enum" href="../ast/enum.ColumnOption.html" title="enum sql::ast::ColumnOption">ColumnOption</a>>, ParserError>>, ParserError></h4></section></summary><div class='docblock'>Dialect-specific column option parser override <a href="trait.Dialect.html#method.parse_column_option">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.prec_value" class="method trait-impl"><a href="#method.prec_value" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.prec_value" class="fn">prec_value</a>(&self, prec: Precedence) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a></h4></section></summary><div class='docblock'>Decide the lexical Precedence of operators. <a href="trait.Dialect.html#method.prec_value">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.prec_unknown" class="method trait-impl"><a href="#method.prec_unknown" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.prec_unknown" class="fn">prec_unknown</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a></h4></section></summary><div class='docblock'>Returns the precedence when the precedence is otherwise unknown</div></details><details class="toggle method-toggle" open><summary><section id="method.describe_requires_table_keyword" class="method trait-impl"><a href="#method.describe_requires_table_keyword" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.describe_requires_table_keyword" class="fn">describe_requires_table_keyword</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if this dialect requires the <code>TABLE</code> keyword after <code>DESCRIBE</code> <a href="trait.Dialect.html#method.describe_requires_table_keyword">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.supports_dollar_placeholder" class="method trait-impl"><a href="#method.supports_dollar_placeholder" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_dollar_placeholder" class="fn">supports_dollar_placeholder</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if this dialect allows dollar placeholders
|
||
e.g. <code>SELECT $var</code> (SQLite)</div></details><details class="toggle method-toggle" open><summary><section id="method.require_interval_qualifier" class="method trait-impl"><a href="#method.require_interval_qualifier" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.require_interval_qualifier" class="fn">require_interval_qualifier</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Whether <code>INTERVAL</code> expressions require units (called “qualifiers” in the ANSI SQL spec) to be specified,
|
||
e.g. <code>INTERVAL 1 DAY</code> vs <code>INTERVAL 1</code>. <a href="trait.Dialect.html#method.require_interval_qualifier">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.supports_factorial_operator" class="method trait-impl"><a href="#method.supports_factorial_operator" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_factorial_operator" class="fn">supports_factorial_operator</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if the dialect supports <code>a!</code> expressions</div></details><details class="toggle method-toggle" open><summary><section id="method.supports_eq_alias_assignment" class="method trait-impl"><a href="#method.supports_eq_alias_assignment" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_eq_alias_assignment" class="fn">supports_eq_alias_assignment</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if this dialect supports treating the equals operator <code>=</code> within a <code>SelectItem</code>
|
||
as an alias assignment operator, rather than a boolean expression.
|
||
For example: the following statements are equivalent for such a dialect: <a href="trait.Dialect.html#method.supports_eq_alias_assignment">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.supports_bang_not_operator" class="method trait-impl"><a href="#method.supports_bang_not_operator" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_bang_not_operator" class="fn">supports_bang_not_operator</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if the dialect supports <code>!a</code> syntax for boolean <code>NOT</code> expressions.</div></details><details class="toggle method-toggle" open><summary><section id="method.supports_listen_notify" class="method trait-impl"><a href="#method.supports_listen_notify" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_listen_notify" class="fn">supports_listen_notify</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if the dialect supports the <code>LISTEN</code>, <code>UNLISTEN</code> and <code>NOTIFY</code> statements</div></details><details class="toggle method-toggle" open><summary><section id="method.supports_load_data" class="method trait-impl"><a href="#method.supports_load_data" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_load_data" class="fn">supports_load_data</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if the dialect supports the <code>LOAD DATA</code> statement</div></details><details class="toggle method-toggle" open><summary><section id="method.supports_top_before_distinct" class="method trait-impl"><a href="#method.supports_top_before_distinct" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_top_before_distinct" class="fn">supports_top_before_distinct</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if this dialect expects the <code>TOP</code> option
|
||
before the <code>ALL</code>/<code>DISTINCT</code> options in a <code>SELECT</code> statement.</div></details><details class="toggle method-toggle" open><summary><section id="method.supports_boolean_literals" class="method trait-impl"><a href="#method.supports_boolean_literals" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_boolean_literals" class="fn">supports_boolean_literals</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if the dialect supports boolean literals (<code>true</code> and <code>false</code>).
|
||
For example, in MSSQL these are treated as identifiers rather than boolean literals.</div></details><details class="toggle method-toggle" open><summary><section id="method.supports_show_like_before_in" class="method trait-impl"><a href="#method.supports_show_like_before_in" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_show_like_before_in" class="fn">supports_show_like_before_in</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if this dialect supports the <code>LIKE 'pattern'</code> option in
|
||
a <code>SHOW</code> statement before the <code>IN</code> option</div></details><details class="toggle method-toggle" open><summary><section id="method.supports_create_table_select" class="method trait-impl"><a href="#method.supports_create_table_select" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_create_table_select" class="fn">supports_create_table_select</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if the dialect supports the <code>CREATE TABLE SELECT</code> statement</div></details><details class="toggle method-toggle" open><summary><section id="method.supports_partiql" class="method trait-impl"><a href="#method.supports_partiql" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_partiql" class="fn">supports_partiql</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if the dialect supports PartiQL for querying semi-structured data
|
||
<a href="https://partiql.org/index.html">https://partiql.org/index.html</a></div></details><details class="toggle method-toggle" open><summary><section id="method.is_reserved_for_identifier" class="method trait-impl"><a href="#method.is_reserved_for_identifier" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.is_reserved_for_identifier" class="fn">is_reserved_for_identifier</a>(&self, kw: Keyword) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if the specified keyword is reserved and cannot be
|
||
used as an identifier without special handling like quoting.</div></details><details class="toggle method-toggle" open><summary><section id="method.get_reserved_keywords_for_table_factor" class="method trait-impl"><a href="#method.get_reserved_keywords_for_table_factor" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.get_reserved_keywords_for_table_factor" class="fn">get_reserved_keywords_for_table_factor</a>(&self) -> &[Keyword]</h4></section></summary><div class='docblock'>Returns reserved keywords when looking to parse a <code>TableFactor</code>.
|
||
See <a href="trait.Dialect.html#method.supports_from_trailing_commas" title="method sqlparser::dialect::Dialect::supports_from_trailing_commas::supports_from_trailing_commas">Self::supports_from_trailing_commas</a></div></details><details class="toggle method-toggle" open><summary><section id="method.get_reserved_keywords_for_select_item_operator" class="method trait-impl"><a href="#method.get_reserved_keywords_for_select_item_operator" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.get_reserved_keywords_for_select_item_operator" class="fn">get_reserved_keywords_for_select_item_operator</a>(&self) -> &[Keyword]</h4></section></summary><div class='docblock'>Returns reserved keywords that may prefix a select item expression
|
||
e.g. <code>SELECT CONNECT_BY_ROOT name FROM Tbl2</code> (Snowflake)</div></details><details class="toggle method-toggle" open><summary><section id="method.get_reserved_grantees_types" class="method trait-impl"><a href="#method.get_reserved_grantees_types" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.get_reserved_grantees_types" class="fn">get_reserved_grantees_types</a>(&self) -> &[GranteesType]</h4></section></summary><div class='docblock'>Returns grantee types that should be treated as identifiers</div></details><details class="toggle method-toggle" open><summary><section id="method.supports_table_sample_before_alias" class="method trait-impl"><a href="#method.supports_table_sample_before_alias" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_table_sample_before_alias" class="fn">supports_table_sample_before_alias</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if this dialect supports the <code>TABLESAMPLE</code> option
|
||
before the table alias option. For example: <a href="trait.Dialect.html#method.supports_table_sample_before_alias">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.supports_insert_set" class="method trait-impl"><a href="#method.supports_insert_set" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_insert_set" class="fn">supports_insert_set</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if this dialect supports the <code>INSERT INTO ... SET col1 = 1, ...</code> syntax. <a href="trait.Dialect.html#method.supports_insert_set">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.supports_insert_table_function" class="method trait-impl"><a href="#method.supports_insert_table_function" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_insert_table_function" class="fn">supports_insert_table_function</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Does the dialect support table function in insertion?</div></details><details class="toggle method-toggle" open><summary><section id="method.supports_insert_format" class="method trait-impl"><a href="#method.supports_insert_format" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_insert_format" class="fn">supports_insert_format</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Does the dialect support insert formats, e.g. <code>INSERT INTO ... FORMAT <format></code></div></details><details class="toggle method-toggle" open><summary><section id="method.supports_set_stmt_without_operator" class="method trait-impl"><a href="#method.supports_set_stmt_without_operator" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_set_stmt_without_operator" class="fn">supports_set_stmt_without_operator</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if this dialect supports <code>SET</code> statements without an explicit
|
||
assignment operator such as <code>=</code>. For example: <code>SET SHOWPLAN_XML ON</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.is_column_alias" class="method trait-impl"><a href="#method.is_column_alias" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.is_column_alias" class="fn">is_column_alias</a>(&self, kw: &Keyword, _parser: &mut Parser<'_>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if the specified keyword should be parsed as a column identifier.
|
||
See [keywords::RESERVED_FOR_COLUMN_ALIAS]</div></details><details class="toggle method-toggle" open><summary><section id="method.is_select_item_alias" class="method trait-impl"><a href="#method.is_select_item_alias" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.is_select_item_alias" class="fn">is_select_item_alias</a>(
|
||
&self,
|
||
explicit: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>,
|
||
kw: &Keyword,
|
||
parser: &mut Parser<'_>,
|
||
) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if the specified keyword should be parsed as a select item alias.
|
||
When explicit is true, the keyword is preceded by an <code>AS</code> word. Parser is provided
|
||
to enable looking ahead if needed.</div></details><details class="toggle method-toggle" open><summary><section id="method.is_table_alias" class="method trait-impl"><a href="#method.is_table_alias" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.is_table_alias" class="fn">is_table_alias</a>(&self, kw: &Keyword, _parser: &mut Parser<'_>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if the specified keyword should be parsed as a table identifier.
|
||
See [keywords::RESERVED_FOR_TABLE_ALIAS]</div></details><details class="toggle method-toggle" open><summary><section id="method.is_table_factor_alias" class="method trait-impl"><a href="#method.is_table_factor_alias" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.is_table_factor_alias" class="fn">is_table_factor_alias</a>(
|
||
&self,
|
||
explicit: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>,
|
||
kw: &Keyword,
|
||
parser: &mut Parser<'_>,
|
||
) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if the specified keyword should be parsed as a table factor alias.
|
||
When explicit is true, the keyword is preceded by an <code>AS</code> word. Parser is provided
|
||
to enable looking ahead if needed.</div></details><details class="toggle method-toggle" open><summary><section id="method.supports_timestamp_versioning" class="method trait-impl"><a href="#method.supports_timestamp_versioning" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_timestamp_versioning" class="fn">supports_timestamp_versioning</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if this dialect supports querying historical table data
|
||
by specifying which version of the data to query.</div></details><details class="toggle method-toggle" open><summary><section id="method.supports_table_hints" class="method trait-impl"><a href="#method.supports_table_hints" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_table_hints" class="fn">supports_table_hints</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if the dialect supports the table hints in the <code>FROM</code> clause.</div></details><details class="toggle method-toggle" open><summary><section id="method.requires_single_line_comment_whitespace" class="method trait-impl"><a href="#method.requires_single_line_comment_whitespace" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.requires_single_line_comment_whitespace" class="fn">requires_single_line_comment_whitespace</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if this dialect requires a whitespace character after <code>--</code> to start a single line comment. <a href="trait.Dialect.html#method.requires_single_line_comment_whitespace">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.supports_geometric_types" class="method trait-impl"><a href="#method.supports_geometric_types" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_geometric_types" class="fn">supports_geometric_types</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if the dialect supports geometric types. <a href="trait.Dialect.html#method.supports_geometric_types">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.supports_order_by_all" class="method trait-impl"><a href="#method.supports_order_by_all" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_order_by_all" class="fn">supports_order_by_all</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if the dialect supports <code>ORDER BY ALL</code>.
|
||
<code>ALL</code> which means all columns of the SELECT clause. <a href="trait.Dialect.html#method.supports_order_by_all">Read more</a></div></details><section id="method.supports_space_separated_column_options" class="method trait-impl"><a href="#method.supports_space_separated_column_options" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_space_separated_column_options" class="fn">supports_space_separated_column_options</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section><details class="toggle method-toggle" open><summary><section id="method.supports_alter_column_type_using" class="method trait-impl"><a href="#method.supports_alter_column_type_using" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_alter_column_type_using" class="fn">supports_alter_column_type_using</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if the dialect supports the <code>USING</code> clause in an <code>ALTER COLUMN</code> statement.
|
||
Example: <a href="trait.Dialect.html#method.supports_alter_column_type_using">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.supports_comma_separated_drop_column_list" class="method trait-impl"><a href="#method.supports_comma_separated_drop_column_list" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.supports_comma_separated_drop_column_list" class="fn">supports_comma_separated_drop_column_list</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if the dialect supports <code>ALTER TABLE tbl DROP COLUMN c1, ..., cn</code></div></details><details class="toggle method-toggle" open><summary><section id="method.is_identifier_generating_function_name" class="method trait-impl"><a href="#method.is_identifier_generating_function_name" class="anchor">§</a><h4 class="code-header">fn <a href="trait.Dialect.html#method.is_identifier_generating_function_name" class="fn">is_identifier_generating_function_name</a>(
|
||
&self,
|
||
_ident: &<a class="struct" href="../ast/struct.Ident.html" title="struct sql::ast::Ident">Ident</a>,
|
||
_name_parts: &[<a class="enum" href="../ast/enum.ObjectNamePart.html" title="enum sql::ast::ObjectNamePart">ObjectNamePart</a>],
|
||
) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns true if the dialect considers the specified ident as a function
|
||
that returns an identifier. Typically used to generate identifiers
|
||
programmatically. <a href="trait.Dialect.html#method.is_identifier_generating_function_name">Read more</a></div></details></div></details></div><h2 id="synthetic-implementations" class="section-header">Auto Trait Implementations<a href="#synthetic-implementations" class="anchor">§</a></h2><div id="synthetic-implementations-list"><section id="impl-Freeze-for-GenericDialect" class="impl"><a href="#impl-Freeze-for-GenericDialect" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Freeze.html" title="trait core::marker::Freeze">Freeze</a> for <a class="struct" href="struct.GenericDialect.html" title="struct sql::dialect::GenericDialect">GenericDialect</a></h3></section><section id="impl-RefUnwindSafe-for-GenericDialect" class="impl"><a href="#impl-RefUnwindSafe-for-GenericDialect" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="struct.GenericDialect.html" title="struct sql::dialect::GenericDialect">GenericDialect</a></h3></section><section id="impl-Send-for-GenericDialect" class="impl"><a href="#impl-Send-for-GenericDialect" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="struct.GenericDialect.html" title="struct sql::dialect::GenericDialect">GenericDialect</a></h3></section><section id="impl-Sync-for-GenericDialect" class="impl"><a href="#impl-Sync-for-GenericDialect" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="struct.GenericDialect.html" title="struct sql::dialect::GenericDialect">GenericDialect</a></h3></section><section id="impl-Unpin-for-GenericDialect" class="impl"><a href="#impl-Unpin-for-GenericDialect" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="struct.GenericDialect.html" title="struct sql::dialect::GenericDialect">GenericDialect</a></h3></section><section id="impl-UnwindSafe-for-GenericDialect" class="impl"><a href="#impl-UnwindSafe-for-GenericDialect" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a> for <a class="struct" href="struct.GenericDialect.html" title="struct sql::dialect::GenericDialect">GenericDialect</a></h3></section></div><h2 id="blanket-implementations" class="section-header">Blanket Implementations<a href="#blanket-implementations" class="anchor">§</a></h2><div id="blanket-implementations-list"><details class="toggle implementors-toggle"><summary><section id="impl-Any-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/any.rs.html#138">Source</a><a href="#impl-Any-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T<div class="where">where
|
||
T: 'static + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.type_id" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/any.rs.html#139">Source</a><a href="#method.type_id" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html#tymethod.type_id" class="fn">type_id</a>(&self) -> <a class="struct" href="https://doc.rust-lang.org/nightly/core/any/struct.TypeId.html" title="struct core::any::TypeId">TypeId</a></h4></section></summary><div class='docblock'>Gets the <code>TypeId</code> of <code>self</code>. <a href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html#tymethod.type_id">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Borrow%3CT%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#212">Source</a><a href="#impl-Borrow%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a><T> for T<div class="where">where
|
||
T: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.borrow" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#214">Source</a><a href="#method.borrow" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html#tymethod.borrow" class="fn">borrow</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&T</a></h4></section></summary><div class='docblock'>Immutably borrows from an owned value. <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html#tymethod.borrow">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-BorrowMut%3CT%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#221">Source</a><a href="#impl-BorrowMut%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html" title="trait core::borrow::BorrowMut">BorrowMut</a><T> for T<div class="where">where
|
||
T: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.borrow_mut" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#222">Source</a><a href="#method.borrow_mut" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut" class="fn">borrow_mut</a>(&mut self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut T</a></h4></section></summary><div class='docblock'>Mutably borrows from an owned value. <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Conv-for-T" class="impl"><a href="#impl-Conv-for-T" class="anchor">§</a><h3 class="code-header">impl<T> Conv for T</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.conv" class="method trait-impl"><a href="#method.conv" class="anchor">§</a><h4 class="code-header">fn <a class="fn">conv</a><T>(self) -> T<div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><T>,</div></h4></section></summary><div class='docblock'>Converts <code>self</code> into <code>T</code> using <code>Into<T></code>. <a>Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Convert%3CT%3E-for-V" class="impl"><a href="#impl-Convert%3CT%3E-for-V" class="anchor">§</a><h3 class="code-header">impl<T, V> Convert<T> for V<div class="where">where
|
||
V: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><T>,</div></h3></section></summary><div class="impl-items"><section id="method.convert" class="method trait-impl"><a href="#method.convert" class="anchor">§</a><h4 class="code-header">fn <a class="fn">convert</a>(value: Self) -> T</h4></section><section id="method.convert_box" class="method trait-impl"><a href="#method.convert_box" class="anchor">§</a><h4 class="code-header">fn <a class="fn">convert_box</a>(value: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><Self>) -> <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><T></h4></section><section id="method.convert_vec" class="method trait-impl"><a href="#method.convert_vec" class="anchor">§</a><h4 class="code-header">fn <a class="fn">convert_vec</a>(value: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><Self>) -> <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><T></h4></section><section id="method.convert_vec_box" class="method trait-impl"><a href="#method.convert_vec_box" class="anchor">§</a><h4 class="code-header">fn <a class="fn">convert_vec_box</a>(value: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><Self>>) -> <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><T>></h4></section><section id="method.convert_matrix" class="method trait-impl"><a href="#method.convert_matrix" class="anchor">§</a><h4 class="code-header">fn <a class="fn">convert_matrix</a>(value: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><Self>>) -> <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><T>></h4></section><section id="method.convert_option" class="method trait-impl"><a href="#method.convert_option" class="anchor">§</a><h4 class="code-header">fn <a class="fn">convert_option</a>(value: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><T></h4></section><section id="method.convert_option_box" class="method trait-impl"><a href="#method.convert_option_box" class="anchor">§</a><h4 class="code-header">fn <a class="fn">convert_option_box</a>(value: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><Self>>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><T>></h4></section><section id="method.convert_option_vec" class="method trait-impl"><a href="#method.convert_option_vec" class="anchor">§</a><h4 class="code-header">fn <a class="fn">convert_option_vec</a>(value: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><Self>>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><T>></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-FmtForward-for-T" class="impl"><a href="#impl-FmtForward-for-T" class="anchor">§</a><h3 class="code-header">impl<T> FmtForward for T</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.fmt_binary" class="method trait-impl"><a href="#method.fmt_binary" class="anchor">§</a><h4 class="code-header">fn <a class="fn">fmt_binary</a>(self) -> FmtBinary<Self><div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Binary.html" title="trait core::fmt::Binary">Binary</a>,</div></h4></section></summary><div class='docblock'>Causes <code>self</code> to use its <code>Binary</code> implementation when <code>Debug</code>-formatted.</div></details><details class="toggle method-toggle" open><summary><section id="method.fmt_display" class="method trait-impl"><a href="#method.fmt_display" class="anchor">§</a><h4 class="code-header">fn <a class="fn">fmt_display</a>(self) -> FmtDisplay<Self><div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Display.html" title="trait core::fmt::Display">Display</a>,</div></h4></section></summary><div class='docblock'>Causes <code>self</code> to use its <code>Display</code> implementation when
|
||
<code>Debug</code>-formatted.</div></details><details class="toggle method-toggle" open><summary><section id="method.fmt_lower_exp" class="method trait-impl"><a href="#method.fmt_lower_exp" class="anchor">§</a><h4 class="code-header">fn <a class="fn">fmt_lower_exp</a>(self) -> FmtLowerExp<Self><div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.LowerExp.html" title="trait core::fmt::LowerExp">LowerExp</a>,</div></h4></section></summary><div class='docblock'>Causes <code>self</code> to use its <code>LowerExp</code> implementation when
|
||
<code>Debug</code>-formatted.</div></details><details class="toggle method-toggle" open><summary><section id="method.fmt_lower_hex" class="method trait-impl"><a href="#method.fmt_lower_hex" class="anchor">§</a><h4 class="code-header">fn <a class="fn">fmt_lower_hex</a>(self) -> FmtLowerHex<Self><div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.LowerHex.html" title="trait core::fmt::LowerHex">LowerHex</a>,</div></h4></section></summary><div class='docblock'>Causes <code>self</code> to use its <code>LowerHex</code> implementation when
|
||
<code>Debug</code>-formatted.</div></details><details class="toggle method-toggle" open><summary><section id="method.fmt_octal" class="method trait-impl"><a href="#method.fmt_octal" class="anchor">§</a><h4 class="code-header">fn <a class="fn">fmt_octal</a>(self) -> FmtOctal<Self><div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Octal.html" title="trait core::fmt::Octal">Octal</a>,</div></h4></section></summary><div class='docblock'>Causes <code>self</code> to use its <code>Octal</code> implementation when <code>Debug</code>-formatted.</div></details><details class="toggle method-toggle" open><summary><section id="method.fmt_pointer" class="method trait-impl"><a href="#method.fmt_pointer" class="anchor">§</a><h4 class="code-header">fn <a class="fn">fmt_pointer</a>(self) -> FmtPointer<Self><div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Pointer.html" title="trait core::fmt::Pointer">Pointer</a>,</div></h4></section></summary><div class='docblock'>Causes <code>self</code> to use its <code>Pointer</code> implementation when
|
||
<code>Debug</code>-formatted.</div></details><details class="toggle method-toggle" open><summary><section id="method.fmt_upper_exp" class="method trait-impl"><a href="#method.fmt_upper_exp" class="anchor">§</a><h4 class="code-header">fn <a class="fn">fmt_upper_exp</a>(self) -> FmtUpperExp<Self><div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.UpperExp.html" title="trait core::fmt::UpperExp">UpperExp</a>,</div></h4></section></summary><div class='docblock'>Causes <code>self</code> to use its <code>UpperExp</code> implementation when
|
||
<code>Debug</code>-formatted.</div></details><details class="toggle method-toggle" open><summary><section id="method.fmt_upper_hex" class="method trait-impl"><a href="#method.fmt_upper_hex" class="anchor">§</a><h4 class="code-header">fn <a class="fn">fmt_upper_hex</a>(self) -> FmtUpperHex<Self><div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.UpperHex.html" title="trait core::fmt::UpperHex">UpperHex</a>,</div></h4></section></summary><div class='docblock'>Causes <code>self</code> to use its <code>UpperHex</code> implementation when
|
||
<code>Debug</code>-formatted.</div></details><details class="toggle method-toggle" open><summary><section id="method.fmt_list" class="method trait-impl"><a href="#method.fmt_list" class="anchor">§</a><h4 class="code-header">fn <a class="fn">fmt_list</a>(self) -> FmtList<Self><div class="where">where
|
||
&'a Self: for<'a> <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/collect/trait.IntoIterator.html" title="trait core::iter::traits::collect::IntoIterator">IntoIterator</a>,</div></h4></section></summary><div class='docblock'>Formats each item in a sequence. <a>Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-From%3CT%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#785">Source</a><a href="#impl-From%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><T> for T</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#788">Source</a><a href="#method.from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(t: T) -> T</h4></section></summary><div class="docblock"><p>Returns the argument unchanged.</p>
|
||
</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-FutureExt-for-T" class="impl"><a href="#impl-FutureExt-for-T" class="anchor">§</a><h3 class="code-header">impl<T> FutureExt for T</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.with_context" class="method trait-impl"><a href="#method.with_context" class="anchor">§</a><h4 class="code-header">fn <a class="fn">with_context</a>(self, otel_cx: Context) -> WithContext<Self></h4></section></summary><div class='docblock'>Attaches the provided <a href="Context"><code>Context</code></a> to this type, returning a <code>WithContext</code>
|
||
wrapper. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.with_current_context" class="method trait-impl"><a href="#method.with_current_context" class="anchor">§</a><h4 class="code-header">fn <a class="fn">with_current_context</a>(self) -> WithContext<Self></h4></section></summary><div class='docblock'>Attaches the current <a href="Context"><code>Context</code></a> to this type, returning a <code>WithContext</code>
|
||
wrapper. <a>Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Instrument-for-T" class="impl"><a href="#impl-Instrument-for-T" class="anchor">§</a><h3 class="code-header">impl<T> Instrument for T</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.instrument" class="method trait-impl"><a href="#method.instrument" class="anchor">§</a><h4 class="code-header">fn <a class="fn">instrument</a>(self, span: Span) -> Instrumented<Self></h4></section></summary><div class='docblock'>Instruments this type with the provided [<code>Span</code>], returning an
|
||
<code>Instrumented</code> wrapper. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.in_current_span" class="method trait-impl"><a href="#method.in_current_span" class="anchor">§</a><h4 class="code-header">fn <a class="fn">in_current_span</a>(self) -> Instrumented<Self></h4></section></summary><div class='docblock'>Instruments this type with the <a href="super::Span::current()">current</a> <a href="crate::Span"><code>Span</code></a>, returning an
|
||
<code>Instrumented</code> wrapper. <a>Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Into%3CU%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#767-769">Source</a><a href="#impl-Into%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T, U> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><U> for T<div class="where">where
|
||
U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><T>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#777">Source</a><a href="#method.into" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html#tymethod.into" class="fn">into</a>(self) -> U</h4></section></summary><div class="docblock"><p>Calls <code>U::from(self)</code>.</p>
|
||
<p>That is, this conversion is whatever the implementation of
|
||
<code><a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><T> for U</code> chooses to do.</p>
|
||
</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoEither-for-T" class="impl"><a class="src rightside" href="https://docs.rs/either/1/src/either/into_either.rs.html#64">Source</a><a href="#impl-IntoEither-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://docs.rs/either/1/either/into_either/trait.IntoEither.html" title="trait either::into_either::IntoEither">IntoEither</a> for T</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into_either" class="method trait-impl"><a class="src rightside" href="https://docs.rs/either/1/src/either/into_either.rs.html#29">Source</a><a href="#method.into_either" class="anchor">§</a><h4 class="code-header">fn <a href="https://docs.rs/either/1/either/into_either/trait.IntoEither.html#method.into_either" class="fn">into_either</a>(self, into_left: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>) -> <a class="enum" href="https://docs.rs/either/1/either/enum.Either.html" title="enum either::Either">Either</a><Self, Self></h4></section></summary><div class='docblock'>Converts <code>self</code> into a <a href="https://docs.rs/either/1/either/enum.Either.html#variant.Left" title="variant either::Either::Left"><code>Left</code></a> variant of <a href="https://docs.rs/either/1/either/enum.Either.html" title="enum either::Either"><code>Either<Self, Self></code></a>
|
||
if <code>into_left</code> is <code>true</code>.
|
||
Converts <code>self</code> into a <a href="https://docs.rs/either/1/either/enum.Either.html#variant.Right" title="variant either::Either::Right"><code>Right</code></a> variant of <a href="https://docs.rs/either/1/either/enum.Either.html" title="enum either::Either"><code>Either<Self, Self></code></a>
|
||
otherwise. <a href="https://docs.rs/either/1/either/into_either/trait.IntoEither.html#method.into_either">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.into_either_with" class="method trait-impl"><a class="src rightside" href="https://docs.rs/either/1/src/either/into_either.rs.html#55-57">Source</a><a href="#method.into_either_with" class="anchor">§</a><h4 class="code-header">fn <a href="https://docs.rs/either/1/either/into_either/trait.IntoEither.html#method.into_either_with" class="fn">into_either_with</a><F>(self, into_left: F) -> <a class="enum" href="https://docs.rs/either/1/either/enum.Either.html" title="enum either::Either">Either</a><Self, Self><div class="where">where
|
||
F: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(&Self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>,</div></h4></section></summary><div class='docblock'>Converts <code>self</code> into a <a href="https://docs.rs/either/1/either/enum.Either.html#variant.Left" title="variant either::Either::Left"><code>Left</code></a> variant of <a href="https://docs.rs/either/1/either/enum.Either.html" title="enum either::Either"><code>Either<Self, Self></code></a>
|
||
if <code>into_left(&self)</code> returns <code>true</code>.
|
||
Converts <code>self</code> into a <a href="https://docs.rs/either/1/either/enum.Either.html#variant.Right" title="variant either::Either::Right"><code>Right</code></a> variant of <a href="https://docs.rs/either/1/either/enum.Either.html" title="enum either::Either"><code>Either<Self, Self></code></a>
|
||
otherwise. <a href="https://docs.rs/either/1/either/into_either/trait.IntoEither.html#method.into_either_with">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoRequest%3CT%3E-for-T" class="impl"><a href="#impl-IntoRequest%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T> IntoRequest<T> for T</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into_request" class="method trait-impl"><a href="#method.into_request" class="anchor">§</a><h4 class="code-header">fn <a class="fn">into_request</a>(self) -> Request<T></h4></section></summary><div class='docblock'>Wrap the input message <code>T</code> in a <code>tonic::Request</code></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-LayerExt%3CL%3E-for-L" class="impl"><a href="#impl-LayerExt%3CL%3E-for-L" class="anchor">§</a><h3 class="code-header">impl<L> LayerExt<L> for L</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.named_layer" class="method trait-impl"><a href="#method.named_layer" class="anchor">§</a><h4 class="code-header">fn <a class="fn">named_layer</a><S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S><div class="where">where
|
||
L: Layer<S>,</div></h4></section></summary><div class='docblock'>Applies the layer to a service and wraps it in [<code>Layered</code>].</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Pipe-for-T" class="impl"><a href="#impl-Pipe-for-T" class="anchor">§</a><h3 class="code-header">impl<T> Pipe for T<div class="where">where
|
||
T: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.pipe" class="method trait-impl"><a href="#method.pipe" class="anchor">§</a><h4 class="code-header">fn <a class="fn">pipe</a><R>(self, func: impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(Self) -> R) -> R<div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Pipes by value. This is generally the method you want to use. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.pipe_ref" class="method trait-impl"><a href="#method.pipe_ref" class="anchor">§</a><h4 class="code-header">fn <a class="fn">pipe_ref</a><'a, R>(&'a self, func: impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(&'a Self) -> R) -> R<div class="where">where
|
||
R: 'a,</div></h4></section></summary><div class='docblock'>Borrows <code>self</code> and passes that borrow into the pipe function. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.pipe_ref_mut" class="method trait-impl"><a href="#method.pipe_ref_mut" class="anchor">§</a><h4 class="code-header">fn <a class="fn">pipe_ref_mut</a><'a, R>(&'a mut self, func: impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(&'a mut Self) -> R) -> R<div class="where">where
|
||
R: 'a,</div></h4></section></summary><div class='docblock'>Mutably borrows <code>self</code> and passes that borrow into the pipe function. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.pipe_borrow" class="method trait-impl"><a href="#method.pipe_borrow" class="anchor">§</a><h4 class="code-header">fn <a class="fn">pipe_borrow</a><'a, B, R>(&'a self, func: impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a B</a>) -> R) -> R<div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a><B>,
|
||
B: 'a + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,
|
||
R: 'a,</div></h4></section></summary><div class='docblock'>Borrows <code>self</code>, then passes <code>self.borrow()</code> into the pipe function. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.pipe_borrow_mut" class="method trait-impl"><a href="#method.pipe_borrow_mut" class="anchor">§</a><h4 class="code-header">fn <a class="fn">pipe_borrow_mut</a><'a, B, R>(
|
||
&'a mut self,
|
||
func: impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a mut B</a>) -> R,
|
||
) -> R<div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html" title="trait core::borrow::BorrowMut">BorrowMut</a><B>,
|
||
B: 'a + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,
|
||
R: 'a,</div></h4></section></summary><div class='docblock'>Mutably borrows <code>self</code>, then passes <code>self.borrow_mut()</code> into the pipe
|
||
function. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.pipe_as_ref" class="method trait-impl"><a href="#method.pipe_as_ref" class="anchor">§</a><h4 class="code-header">fn <a class="fn">pipe_as_ref</a><'a, U, R>(&'a self, func: impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a U</a>) -> R) -> R<div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a><U>,
|
||
U: 'a + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,
|
||
R: 'a,</div></h4></section></summary><div class='docblock'>Borrows <code>self</code>, then passes <code>self.as_ref()</code> into the pipe function.</div></details><details class="toggle method-toggle" open><summary><section id="method.pipe_as_mut" class="method trait-impl"><a href="#method.pipe_as_mut" class="anchor">§</a><h4 class="code-header">fn <a class="fn">pipe_as_mut</a><'a, U, R>(&'a mut self, func: impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a mut U</a>) -> R) -> R<div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.AsMut.html" title="trait core::convert::AsMut">AsMut</a><U>,
|
||
U: 'a + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,
|
||
R: 'a,</div></h4></section></summary><div class='docblock'>Mutably borrows <code>self</code>, then passes <code>self.as_mut()</code> into the pipe
|
||
function.</div></details><details class="toggle method-toggle" open><summary><section id="method.pipe_deref" class="method trait-impl"><a href="#method.pipe_deref" class="anchor">§</a><h4 class="code-header">fn <a class="fn">pipe_deref</a><'a, T, R>(&'a self, func: impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a T</a>) -> R) -> R<div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/deref/trait.Deref.html" title="trait core::ops::deref::Deref">Deref</a><Target = T>,
|
||
T: 'a + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,
|
||
R: 'a,</div></h4></section></summary><div class='docblock'>Borrows <code>self</code>, then passes <code>self.deref()</code> into the pipe function.</div></details><details class="toggle method-toggle" open><summary><section id="method.pipe_deref_mut" class="method trait-impl"><a href="#method.pipe_deref_mut" class="anchor">§</a><h4 class="code-header">fn <a class="fn">pipe_deref_mut</a><'a, T, R>(
|
||
&'a mut self,
|
||
func: impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a mut T</a>) -> R,
|
||
) -> R<div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/deref/trait.DerefMut.html" title="trait core::ops::deref::DerefMut">DerefMut</a><Target = T> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/deref/trait.Deref.html" title="trait core::ops::deref::Deref">Deref</a>,
|
||
T: 'a + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,
|
||
R: 'a,</div></h4></section></summary><div class='docblock'>Mutably borrows <code>self</code>, then passes <code>self.deref_mut()</code> into the pipe
|
||
function.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-PolicyExt-for-T" class="impl"><a href="#impl-PolicyExt-for-T" class="anchor">§</a><h3 class="code-header">impl<T> PolicyExt for T<div class="where">where
|
||
T: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.and" class="method trait-impl"><a href="#method.and" class="anchor">§</a><h4 class="code-header">fn <a class="fn">and</a><P, B, E>(self, other: P) -> And<T, P><div class="where">where
|
||
T: Policy<B, E>,
|
||
P: Policy<B, E>,</div></h4></section></summary><div class='docblock'>Create a new <code>Policy</code> that returns [<code>Action::Follow</code>] only if <code>self</code> and <code>other</code> return
|
||
<code>Action::Follow</code>. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.or" class="method trait-impl"><a href="#method.or" class="anchor">§</a><h4 class="code-header">fn <a class="fn">or</a><P, B, E>(self, other: P) -> Or<T, P><div class="where">where
|
||
T: Policy<B, E>,
|
||
P: Policy<B, E>,</div></h4></section></summary><div class='docblock'>Create a new <code>Policy</code> that returns [<code>Action::Follow</code>] if either <code>self</code> or <code>other</code> returns
|
||
<code>Action::Follow</code>. <a>Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Same-for-T" class="impl"><a class="src rightside" href="https://docs.rs/typenum/1.18.0/src/typenum/type_operators.rs.html#34">Source</a><a href="#impl-Same-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://docs.rs/typenum/1.18.0/typenum/type_operators/trait.Same.html" title="trait typenum::type_operators::Same">Same</a> for T</h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output" class="associatedtype trait-impl"><a class="src rightside" href="https://docs.rs/typenum/1.18.0/src/typenum/type_operators.rs.html#35">Source</a><a href="#associatedtype.Output" class="anchor">§</a><h4 class="code-header">type <a href="https://docs.rs/typenum/1.18.0/typenum/type_operators/trait.Same.html#associatedtype.Output" class="associatedtype">Output</a> = T</h4></section></summary><div class='docblock'>Should always be <code>Self</code></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-ServiceExt-for-T" class="impl"><a href="#impl-ServiceExt-for-T" class="anchor">§</a><h3 class="code-header">impl<T> ServiceExt for T</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.propagate_header" class="method trait-impl"><a href="#method.propagate_header" class="anchor">§</a><h4 class="code-header">fn <a class="fn">propagate_header</a>(self, header: HeaderName) -> PropagateHeader<Self><div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Propagate a header from the request to the response. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.add_extension" class="method trait-impl"><a href="#method.add_extension" class="anchor">§</a><h4 class="code-header">fn <a class="fn">add_extension</a><T>(self, value: T) -> AddExtension<Self, T><div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Add some shareable value to <a href="https://docs.rs/http/latest/http/struct.Extensions.html">request extensions</a>. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.map_request_body" class="method trait-impl"><a href="#method.map_request_body" class="anchor">§</a><h4 class="code-header">fn <a class="fn">map_request_body</a><F>(self, f: F) -> MapRequestBody<Self, F><div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Apply a transformation to the request body. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.map_response_body" class="method trait-impl"><a href="#method.map_response_body" class="anchor">§</a><h4 class="code-header">fn <a class="fn">map_response_body</a><F>(self, f: F) -> MapResponseBody<Self, F><div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Apply a transformation to the response body. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.compression" class="method trait-impl"><a href="#method.compression" class="anchor">§</a><h4 class="code-header">fn <a class="fn">compression</a>(self) -> Compression<Self><div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Compresses response bodies. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.decompression" class="method trait-impl"><a href="#method.decompression" class="anchor">§</a><h4 class="code-header">fn <a class="fn">decompression</a>(self) -> Decompression<Self><div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Decompress response bodies. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.trace_for_http" class="method trait-impl"><a href="#method.trace_for_http" class="anchor">§</a><h4 class="code-header">fn <a class="fn">trace_for_http</a>(self) -> Trace<Self, SharedClassifier<ServerErrorsAsFailures>><div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>High level tracing that classifies responses using HTTP status codes. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.trace_for_grpc" class="method trait-impl"><a href="#method.trace_for_grpc" class="anchor">§</a><h4 class="code-header">fn <a class="fn">trace_for_grpc</a>(self) -> Trace<Self, SharedClassifier<GrpcErrorsAsFailures>><div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>High level tracing that classifies responses using gRPC headers. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.follow_redirects" class="method trait-impl"><a href="#method.follow_redirects" class="anchor">§</a><h4 class="code-header">fn <a class="fn">follow_redirects</a>(self) -> FollowRedirect<Self><div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Follow redirect resposes using the <a href="crate::follow_redirect::policy::Standard"><code>Standard</code></a> policy. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.sensitive_headers" class="method trait-impl"><a href="#method.sensitive_headers" class="anchor">§</a><h4 class="code-header">fn <a class="fn">sensitive_headers</a>(
|
||
self,
|
||
headers: impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/collect/trait.IntoIterator.html" title="trait core::iter::traits::collect::IntoIterator">IntoIterator</a><Item = HeaderName>,
|
||
) -> SetSensitiveRequestHeaders<SetSensitiveResponseHeaders<Self>><div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Mark headers as <a href="https://docs.rs/http/latest/http/header/struct.HeaderValue.html#method.set_sensitive">sensitive</a> on both requests and responses. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.sensitive_request_headers" class="method trait-impl"><a href="#method.sensitive_request_headers" class="anchor">§</a><h4 class="code-header">fn <a class="fn">sensitive_request_headers</a>(
|
||
self,
|
||
headers: impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/collect/trait.IntoIterator.html" title="trait core::iter::traits::collect::IntoIterator">IntoIterator</a><Item = HeaderName>,
|
||
) -> SetSensitiveRequestHeaders<Self><div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Mark headers as <a href="https://docs.rs/http/latest/http/header/struct.HeaderValue.html#method.set_sensitive">sensitive</a> on requests. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.sensitive_response_headers" class="method trait-impl"><a href="#method.sensitive_response_headers" class="anchor">§</a><h4 class="code-header">fn <a class="fn">sensitive_response_headers</a>(
|
||
self,
|
||
headers: impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/collect/trait.IntoIterator.html" title="trait core::iter::traits::collect::IntoIterator">IntoIterator</a><Item = HeaderName>,
|
||
) -> SetSensitiveResponseHeaders<Self><div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Mark headers as <a href="https://docs.rs/http/latest/http/header/struct.HeaderValue.html#method.set_sensitive">sensitive</a> on responses. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.override_request_header" class="method trait-impl"><a href="#method.override_request_header" class="anchor">§</a><h4 class="code-header">fn <a class="fn">override_request_header</a><M>(
|
||
self,
|
||
header_name: HeaderName,
|
||
make: M,
|
||
) -> SetRequestHeader<Self, M><div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Insert a header into the request. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.append_request_header" class="method trait-impl"><a href="#method.append_request_header" class="anchor">§</a><h4 class="code-header">fn <a class="fn">append_request_header</a><M>(
|
||
self,
|
||
header_name: HeaderName,
|
||
make: M,
|
||
) -> SetRequestHeader<Self, M><div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Append a header into the request. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.insert_request_header_if_not_present" class="method trait-impl"><a href="#method.insert_request_header_if_not_present" class="anchor">§</a><h4 class="code-header">fn <a class="fn">insert_request_header_if_not_present</a><M>(
|
||
self,
|
||
header_name: HeaderName,
|
||
make: M,
|
||
) -> SetRequestHeader<Self, M><div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Insert a header into the request, if the header is not already present. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.override_response_header" class="method trait-impl"><a href="#method.override_response_header" class="anchor">§</a><h4 class="code-header">fn <a class="fn">override_response_header</a><M>(
|
||
self,
|
||
header_name: HeaderName,
|
||
make: M,
|
||
) -> SetResponseHeader<Self, M><div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Insert a header into the response. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.append_response_header" class="method trait-impl"><a href="#method.append_response_header" class="anchor">§</a><h4 class="code-header">fn <a class="fn">append_response_header</a><M>(
|
||
self,
|
||
header_name: HeaderName,
|
||
make: M,
|
||
) -> SetResponseHeader<Self, M><div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Append a header into the response. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.insert_response_header_if_not_present" class="method trait-impl"><a href="#method.insert_response_header_if_not_present" class="anchor">§</a><h4 class="code-header">fn <a class="fn">insert_response_header_if_not_present</a><M>(
|
||
self,
|
||
header_name: HeaderName,
|
||
make: M,
|
||
) -> SetResponseHeader<Self, M><div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Insert a header into the response, if the header is not already present. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.set_request_id" class="method trait-impl"><a href="#method.set_request_id" class="anchor">§</a><h4 class="code-header">fn <a class="fn">set_request_id</a><M>(
|
||
self,
|
||
header_name: HeaderName,
|
||
make_request_id: M,
|
||
) -> SetRequestId<Self, M><div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,
|
||
M: MakeRequestId,</div></h4></section></summary><div class='docblock'>Add request id header and extension. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.set_x_request_id" class="method trait-impl"><a href="#method.set_x_request_id" class="anchor">§</a><h4 class="code-header">fn <a class="fn">set_x_request_id</a><M>(self, make_request_id: M) -> SetRequestId<Self, M><div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,
|
||
M: MakeRequestId,</div></h4></section></summary><div class='docblock'>Add request id header and extension, using <code>x-request-id</code> as the header name. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.propagate_request_id" class="method trait-impl"><a href="#method.propagate_request_id" class="anchor">§</a><h4 class="code-header">fn <a class="fn">propagate_request_id</a>(
|
||
self,
|
||
header_name: HeaderName,
|
||
) -> PropagateRequestId<Self><div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Propgate request ids from requests to responses. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.propagate_x_request_id" class="method trait-impl"><a href="#method.propagate_x_request_id" class="anchor">§</a><h4 class="code-header">fn <a class="fn">propagate_x_request_id</a>(self) -> PropagateRequestId<Self><div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Propgate request ids from requests to responses, using <code>x-request-id</code> as the header name. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.catch_panic" class="method trait-impl"><a href="#method.catch_panic" class="anchor">§</a><h4 class="code-header">fn <a class="fn">catch_panic</a>(self) -> CatchPanic<Self, DefaultResponseForPanic><div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Catch panics and convert them into <code>500 Internal Server</code> responses. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.request_body_limit" class="method trait-impl"><a href="#method.request_body_limit" class="anchor">§</a><h4 class="code-header">fn <a class="fn">request_body_limit</a>(self, limit: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -> RequestBodyLimit<Self><div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Intercept requests with over-sized payloads and convert them into
|
||
<code>413 Payload Too Large</code> responses. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.trim_trailing_slash" class="method trait-impl"><a href="#method.trim_trailing_slash" class="anchor">§</a><h4 class="code-header">fn <a class="fn">trim_trailing_slash</a>(self) -> NormalizePath<Self><div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Remove trailing slashes from paths. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.append_trailing_slash" class="method trait-impl"><a href="#method.append_trailing_slash" class="anchor">§</a><h4 class="code-header">fn <a class="fn">append_trailing_slash</a>(self) -> NormalizePath<Self><div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Append trailing slash to paths. <a>Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Tap-for-T" class="impl"><a href="#impl-Tap-for-T" class="anchor">§</a><h3 class="code-header">impl<T> Tap for T</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.tap" class="method trait-impl"><a href="#method.tap" class="anchor">§</a><h4 class="code-header">fn <a class="fn">tap</a>(self, func: impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(&Self)) -> Self</h4></section></summary><div class='docblock'>Immutable access to a value. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.tap_mut" class="method trait-impl"><a href="#method.tap_mut" class="anchor">§</a><h4 class="code-header">fn <a class="fn">tap_mut</a>(self, func: impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(&mut Self)) -> Self</h4></section></summary><div class='docblock'>Mutable access to a value. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.tap_borrow" class="method trait-impl"><a href="#method.tap_borrow" class="anchor">§</a><h4 class="code-header">fn <a class="fn">tap_borrow</a><B>(self, func: impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&B</a>)) -> Self<div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a><B>,
|
||
B: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Immutable access to the <code>Borrow<B></code> of a value. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.tap_borrow_mut" class="method trait-impl"><a href="#method.tap_borrow_mut" class="anchor">§</a><h4 class="code-header">fn <a class="fn">tap_borrow_mut</a><B>(self, func: impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut B</a>)) -> Self<div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html" title="trait core::borrow::BorrowMut">BorrowMut</a><B>,
|
||
B: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Mutable access to the <code>BorrowMut<B></code> of a value. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.tap_ref" class="method trait-impl"><a href="#method.tap_ref" class="anchor">§</a><h4 class="code-header">fn <a class="fn">tap_ref</a><R>(self, func: impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&R</a>)) -> Self<div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a><R>,
|
||
R: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Immutable access to the <code>AsRef<R></code> view of a value. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.tap_ref_mut" class="method trait-impl"><a href="#method.tap_ref_mut" class="anchor">§</a><h4 class="code-header">fn <a class="fn">tap_ref_mut</a><R>(self, func: impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut R</a>)) -> Self<div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.AsMut.html" title="trait core::convert::AsMut">AsMut</a><R>,
|
||
R: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Mutable access to the <code>AsMut<R></code> view of a value. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.tap_deref" class="method trait-impl"><a href="#method.tap_deref" class="anchor">§</a><h4 class="code-header">fn <a class="fn">tap_deref</a><T>(self, func: impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&T</a>)) -> Self<div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/deref/trait.Deref.html" title="trait core::ops::deref::Deref">Deref</a><Target = T>,
|
||
T: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Immutable access to the <code>Deref::Target</code> of a value. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.tap_deref_mut" class="method trait-impl"><a href="#method.tap_deref_mut" class="anchor">§</a><h4 class="code-header">fn <a class="fn">tap_deref_mut</a><T>(self, func: impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut T</a>)) -> Self<div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/deref/trait.DerefMut.html" title="trait core::ops::deref::DerefMut">DerefMut</a><Target = T> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/deref/trait.Deref.html" title="trait core::ops::deref::Deref">Deref</a>,
|
||
T: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Mutable access to the <code>Deref::Target</code> of a value. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.tap_dbg" class="method trait-impl"><a href="#method.tap_dbg" class="anchor">§</a><h4 class="code-header">fn <a class="fn">tap_dbg</a>(self, func: impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(&Self)) -> Self</h4></section></summary><div class='docblock'>Calls <code>.tap()</code> only in debug builds, and is erased in release builds.</div></details><details class="toggle method-toggle" open><summary><section id="method.tap_mut_dbg" class="method trait-impl"><a href="#method.tap_mut_dbg" class="anchor">§</a><h4 class="code-header">fn <a class="fn">tap_mut_dbg</a>(self, func: impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(&mut Self)) -> Self</h4></section></summary><div class='docblock'>Calls <code>.tap_mut()</code> only in debug builds, and is erased in release
|
||
builds.</div></details><details class="toggle method-toggle" open><summary><section id="method.tap_borrow_dbg" class="method trait-impl"><a href="#method.tap_borrow_dbg" class="anchor">§</a><h4 class="code-header">fn <a class="fn">tap_borrow_dbg</a><B>(self, func: impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&B</a>)) -> Self<div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a><B>,
|
||
B: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Calls <code>.tap_borrow()</code> only in debug builds, and is erased in release
|
||
builds.</div></details><details class="toggle method-toggle" open><summary><section id="method.tap_borrow_mut_dbg" class="method trait-impl"><a href="#method.tap_borrow_mut_dbg" class="anchor">§</a><h4 class="code-header">fn <a class="fn">tap_borrow_mut_dbg</a><B>(self, func: impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut B</a>)) -> Self<div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html" title="trait core::borrow::BorrowMut">BorrowMut</a><B>,
|
||
B: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Calls <code>.tap_borrow_mut()</code> only in debug builds, and is erased in release
|
||
builds.</div></details><details class="toggle method-toggle" open><summary><section id="method.tap_ref_dbg" class="method trait-impl"><a href="#method.tap_ref_dbg" class="anchor">§</a><h4 class="code-header">fn <a class="fn">tap_ref_dbg</a><R>(self, func: impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&R</a>)) -> Self<div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a><R>,
|
||
R: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Calls <code>.tap_ref()</code> only in debug builds, and is erased in release
|
||
builds.</div></details><details class="toggle method-toggle" open><summary><section id="method.tap_ref_mut_dbg" class="method trait-impl"><a href="#method.tap_ref_mut_dbg" class="anchor">§</a><h4 class="code-header">fn <a class="fn">tap_ref_mut_dbg</a><R>(self, func: impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut R</a>)) -> Self<div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.AsMut.html" title="trait core::convert::AsMut">AsMut</a><R>,
|
||
R: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Calls <code>.tap_ref_mut()</code> only in debug builds, and is erased in release
|
||
builds.</div></details><details class="toggle method-toggle" open><summary><section id="method.tap_deref_dbg" class="method trait-impl"><a href="#method.tap_deref_dbg" class="anchor">§</a><h4 class="code-header">fn <a class="fn">tap_deref_dbg</a><T>(self, func: impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&T</a>)) -> Self<div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/deref/trait.Deref.html" title="trait core::ops::deref::Deref">Deref</a><Target = T>,
|
||
T: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Calls <code>.tap_deref()</code> only in debug builds, and is erased in release
|
||
builds.</div></details><details class="toggle method-toggle" open><summary><section id="method.tap_deref_mut_dbg" class="method trait-impl"><a href="#method.tap_deref_mut_dbg" class="anchor">§</a><h4 class="code-header">fn <a class="fn">tap_deref_mut_dbg</a><T>(self, func: impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut T</a>)) -> Self<div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/deref/trait.DerefMut.html" title="trait core::ops::deref::DerefMut">DerefMut</a><Target = T> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/deref/trait.Deref.html" title="trait core::ops::deref::Deref">Deref</a>,
|
||
T: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Calls <code>.tap_deref_mut()</code> only in debug builds, and is erased in release
|
||
builds.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-TryConv-for-T" class="impl"><a href="#impl-TryConv-for-T" class="anchor">§</a><h3 class="code-header">impl<T> TryConv for T</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.try_conv" class="method trait-impl"><a href="#method.try_conv" class="anchor">§</a><h4 class="code-header">fn <a class="fn">try_conv</a><T>(self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><T, Self::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html#associatedtype.Error" title="type core::convert::TryInto::Error">Error</a>><div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html" title="trait core::convert::TryInto">TryInto</a><T>,</div></h4></section></summary><div class='docblock'>Attempts to convert <code>self</code> into <code>T</code> using <code>TryInto<T></code>. <a>Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-TryFrom%3CU%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#827-829">Source</a><a href="#impl-TryFrom%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T, U> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><U> for T<div class="where">where
|
||
U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><T>,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Error-1" class="associatedtype trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#831">Source</a><a href="#associatedtype.Error-1" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/nightly/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></h4></section></summary><div class='docblock'>The type returned in the event of a conversion error.</div></details><details class="toggle method-toggle" open><summary><section id="method.try_from" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#834">Source</a><a href="#method.try_from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#tymethod.try_from" class="fn">try_from</a>(value: U) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><T, <T as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><U>>::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>></h4></section></summary><div class='docblock'>Performs the conversion.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-TryInto%3CU%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#811-813">Source</a><a href="#impl-TryInto%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T, U> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html" title="trait core::convert::TryInto">TryInto</a><U> for T<div class="where">where
|
||
U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><T>,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Error" class="associatedtype trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#815">Source</a><a href="#associatedtype.Error" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html#associatedtype.Error" class="associatedtype">Error</a> = <U as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><T>>::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a></h4></section></summary><div class='docblock'>The type returned in the event of a conversion error.</div></details><details class="toggle method-toggle" open><summary><section id="method.try_into" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#818">Source</a><a href="#method.try_into" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html#tymethod.try_into" class="fn">try_into</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><U, <U as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><T>>::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>></h4></section></summary><div class='docblock'>Performs the conversion.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-VZip%3CV%3E-for-T" class="impl"><a href="#impl-VZip%3CV%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<V, T> VZip<V> for T<div class="where">where
|
||
V: MultiLane<T>,</div></h3></section></summary><div class="impl-items"><section id="method.vzip" class="method trait-impl"><a href="#method.vzip" class="anchor">§</a><h4 class="code-header">fn <a class="fn">vzip</a>(self) -> V</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-WithSubscriber-for-T" class="impl"><a href="#impl-WithSubscriber-for-T" class="anchor">§</a><h3 class="code-header">impl<T> WithSubscriber for T</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.with_subscriber" class="method trait-impl"><a href="#method.with_subscriber" class="anchor">§</a><h4 class="code-header">fn <a class="fn">with_subscriber</a><S>(self, subscriber: S) -> WithDispatch<Self><div class="where">where
|
||
S: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><Dispatch>,</div></h4></section></summary><div class='docblock'>Attaches the provided <a href="super::Subscriber"><code>Subscriber</code></a> to this type, returning a
|
||
[<code>WithDispatch</code>] wrapper. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.with_current_subscriber" class="method trait-impl"><a href="#method.with_current_subscriber" class="anchor">§</a><h4 class="code-header">fn <a class="fn">with_current_subscriber</a>(self) -> WithDispatch<Self></h4></section></summary><div class='docblock'>Attaches the current <a href="crate::dispatcher#setting-the-default-subscriber">default</a> <a href="super::Subscriber"><code>Subscriber</code></a> to this type, returning a
|
||
[<code>WithDispatch</code>] wrapper. <a>Read more</a></div></details></div></details><section id="impl-Allocation-for-T" class="impl"><a href="#impl-Allocation-for-T" class="anchor">§</a><h3 class="code-header">impl<T> Allocation for T<div class="where">where
|
||
T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a> + <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>,</div></h3></section><section id="impl-Any-for-T-1" class="impl"><a href="#impl-Any-for-T-1" class="anchor">§</a><h3 class="code-header">impl<T> Any for T<div class="where">where
|
||
T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html" title="trait core::any::Any">Any</a>,</div></h3></section><section id="impl-ErasedDestructor-for-T" class="impl"><a href="#impl-ErasedDestructor-for-T" class="anchor">§</a><h3 class="code-header">impl<T> ErasedDestructor for T<div class="where">where
|
||
T: 'static,</div></h3></section><section id="impl-MaybeSend-for-T" class="impl"><a href="#impl-MaybeSend-for-T" class="anchor">§</a><h3 class="code-header">impl<T> MaybeSend for T<div class="where">where
|
||
T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>,</div></h3></section></div></section></div></main></body></html> |