Files
GopherGate/target/doc/tower_layer/trait.Layer.html
2026-02-26 12:00:21 -05:00

203 lines
100 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="Decorates a `Service`, transforming either the request or the response."><title>Layer in tower_layer - 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-ca0dd0c4.css"><meta name="rustdoc-vars" data-root-path="../" data-static-root-path="../static.files/" data-current-crate="tower_layer" data-themes="" data-resource-suffix="" data-rustdoc-version="1.93.1 (01f6ddf75 2026-02-11) (Arch Linux rust 1:1.93.1-1)" data-channel="1.93.1" data-search-js="search-9e2438ea.js" data-stringdex-js="stringdex-a3946164.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-a410ff4d.js"></script><noscript><link rel="stylesheet" href="../static.files/noscript-263c88ec.css"></noscript><link rel="alternate icon" type="image/png" href="../static.files/favicon-32x32-eab170b8.png"><link rel="icon" type="image/svg+xml" href="../static.files/favicon-044be391.svg"></head><body class="rustdoc trait"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><rustdoc-topbar><h2><a href="#">Layer</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../tower_layer/index.html">tower_<wbr>layer</a><span class="version">0.3.3</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Layer</a></h2><h3><a href="#">Sections</a></h3><ul class="block top-toc"><li><a href="#log" title="Log">Log</a></li></ul><h3><a href="#required-associated-types">Required Associated Types</a></h3><ul class="block"><li><a href="#associatedtype.Service" title="Service">Service</a></li></ul><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.layer" title="layer">layer</a></li></ul><h3><a href="#foreign-impls">Implementations on Foreign Types</a></h3><ul class="block"><li><a href="#impl-Layer%3CS%3E-for-%26T" title="&#38;&#39;a T">&#38;&#39;a T</a></li><li><a href="#impl-Layer%3CS%3E-for-()" title="()">()</a></li><li><a href="#impl-Layer%3CS%3E-for-(L1,+L2)" title="(L1, L2)">(L1, L2)</a></li><li><a href="#impl-Layer%3CS%3E-for-(L1,+L2,+L3)" title="(L1, L2, L3)">(L1, L2, L3)</a></li><li><a href="#impl-Layer%3CS%3E-for-(L1,+L2,+L3,+L4)" title="(L1, L2, L3, L4)">(L1, L2, L3, L4)</a></li><li><a href="#impl-Layer%3CS%3E-for-(L1,+L2,+L3,+L4,+L5)" title="(L1, L2, L3, L4, L5)">(L1, L2, L3, L4, L5)</a></li><li><a href="#impl-Layer%3CS%3E-for-(L1,+L2,+L3,+L4,+L5,+L6)" title="(L1, L2, L3, L4, L5, L6)">(L1, L2, L3, L4, L5, L6)</a></li><li><a href="#impl-Layer%3CS%3E-for-(L1,+L2,+L3,+L4,+L5,+L6,+L7)" title="(L1, L2, L3, L4, L5, L6, L7)">(L1, L2, L3, L4, L5, L6, L7)</a></li><li><a href="#impl-Layer%3CS%3E-for-(L1,+L2,+L3,+L4,+L5,+L6,+L7,+L8)" title="(L1, L2, L3, L4, L5, L6, L7, L8)">(L1, L2, L3, L4, L5, L6, L7, L8)</a></li><li><a href="#impl-Layer%3CS%3E-for-(L1,+L2,+L3,+L4,+L5,+L6,+L7,+L8,+L9)" title="(L1, L2, L3, L4, L5, L6, L7, L8, L9)">(L1, L2, L3, L4, L5, L6, L7, L8, L9)</a></li><li><a href="#impl-Layer%3CS%3E-for-(L1,+L2,+L3,+L4,+L5,+L6,+L7,+L8,+L9,+L10)" title="(L1, L2, L3, L4, L5, L6, L7, L8, L9, L10)">(L1, L2, L3, L4, L5, L6, L7, L8, L9, L10)</a></li><li><a href="#impl-Layer%3CS%3E-for-(L1,+L2,+L3,+L4,+L5,+L6,+L7,+L8,+L9,+L10,+L11)" title="(L1, L2, L3, L4, L5, L6, L7, L8, L9, L10, L11)">(L1, L2, L3, L4, L5, L6, L7, L8, L9, L10, L11)</a></li><li><a href="#impl-Layer%3CS%3E-for-(L1,+L2,+L3,+L4,+L5,+L6,+L7,+L8,+L9,+L10,+L11,+L12)" title="(L1, L2, L3, L4, L5, L6, L7, L8, L9, L10, L11, L12)">(L1, L2, L3, L4, L5, L6, L7, L8, L9, L10, L11, L12)</a></li><li><a href="#impl-Layer%3CS%3E-for-(L1,+L2,+L3,+L4,+L5,+L6,+L7,+L8,+L9,+L10,+L11,+L12,+L13)" title="(L1, L2, L3, L4, L5, L6, L7, L8, L9, L10, L11, L12, L13)">(L1, L2, L3, L4, L5, L6, L7, L8, L9, L10, L11, L12, L13)</a></li><li><a href="#impl-Layer%3CS%3E-for-(L1,+L2,+L3,+L4,+L5,+L6,+L7,+L8,+L9,+L10,+L11,+L12,+L13,+L14)" title="(L1, L2, L3, L4, L5, L6, L7, L8, L9, L10, L11, L12, L13, L14)">(L1, L2, L3, L4, L5, L6, L7, L8, L9, L10, L11, L12, L13, L14)</a></li><li><a href="#impl-Layer%3CS%3E-for-(L1,+L2,+L3,+L4,+L5,+L6,+L7,+L8,+L9,+L10,+L11,+L12,+L13,+L14,+L15)" title="(L1, L2, L3, L4, L5, L6, L7, L8, L9, L10, L11, L12, L13, L14, L15)">(L1, L2, L3, L4, L5, L6, L7, L8, L9, L10, L11, L12, L13, L14, L15)</a></li><li><a href="#impl-Layer%3CS%3E-for-(L1,+L2,+L3,+L4,+L5,+L6,+L7,+L8,+L9,+L10,+L11,+L12,+L13,+L14,+L15,+L16)" title="(L1, L2, L3, L4, L5, L6, L7, L8, L9, L10, L11, L12, L13, L14, L15, L16)">(L1, L2, L3, L4, L5, L6, L7, L8, L9, L10, L11, L12, L13, L14, L15, L16)</a></li><li><a href="#impl-Layer%3CS%3E-for-(L1,)" title="(L1,)">(L1,)</a></li></ul><h3><a href="#implementors">Implementors</a></h3></section><div id="rustdoc-modnav"><h2 class="in-crate"><a href="index.html">In crate tower_<wbr>layer</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">tower_layer</a></div><h1>Trait <span class="trait">Layer</span>&nbsp;<button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../src/tower_layer/lib.rs.html#95-101">Source</a> </span></div><pre class="rust item-decl"><code>pub trait Layer&lt;S&gt; {
type <a href="#associatedtype.Service" class="associatedtype">Service</a>;
// Required method
fn <a href="#tymethod.layer" class="fn">layer</a>(&amp;self, inner: S) -&gt; Self::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>;
}</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Decorates a <a href="https://docs.rs/tower/*/tower/trait.Service.html"><code>Service</code></a>, transforming either the request or the response.</p>
<p>Often, many of the pieces needed for writing network applications can be
reused across multiple services. The <code>Layer</code> trait can be used to write
reusable components that can be applied to very different kinds of services;
for example, it can be applied to services operating on different protocols,
and to both the client and server side of a network transaction.</p>
<h2 id="log"><a class="doc-anchor" href="#log">§</a>Log</h2>
<p>Take request logging as an example:</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code>
<span class="kw">pub struct </span>LogLayer {
target: <span class="kw-2">&amp;</span><span class="lifetime">'static </span>str,
}
<span class="kw">impl</span>&lt;S&gt; Layer&lt;S&gt; <span class="kw">for </span>LogLayer {
<span class="kw">type </span>Service = LogService&lt;S&gt;;
<span class="kw">fn </span>layer(<span class="kw-2">&amp;</span><span class="self">self</span>, service: S) -&gt; <span class="self">Self</span>::Service {
LogService {
target: <span class="self">self</span>.target,
service
}
}
}
<span class="comment">// This service implements the Log behavior
</span><span class="kw">pub struct </span>LogService&lt;S&gt; {
target: <span class="kw-2">&amp;</span><span class="lifetime">'static </span>str,
service: S,
}
<span class="kw">impl</span>&lt;S, Request&gt; Service&lt;Request&gt; <span class="kw">for </span>LogService&lt;S&gt;
<span class="kw">where
</span>S: Service&lt;Request&gt;,
Request: fmt::Debug,
{
<span class="kw">type </span>Response = S::Response;
<span class="kw">type </span>Error = S::Error;
<span class="kw">type </span>Future = S::Future;
<span class="kw">fn </span>poll_ready(<span class="kw-2">&amp;mut </span><span class="self">self</span>, cx: <span class="kw-2">&amp;mut </span>Context&lt;<span class="lifetime">'_</span>&gt;) -&gt; Poll&lt;<span class="prelude-ty">Result</span>&lt;(), <span class="self">Self</span>::Error&gt;&gt; {
<span class="self">self</span>.service.poll_ready(cx)
}
<span class="kw">fn </span>call(<span class="kw-2">&amp;mut </span><span class="self">self</span>, request: Request) -&gt; <span class="self">Self</span>::Future {
<span class="comment">// Insert log statement here or other functionality
</span><span class="macro">println!</span>(<span class="string">"request = {:?}, target = {:?}"</span>, request, <span class="self">self</span>.target);
<span class="self">self</span>.service.call(request)
}
}</code></pre></div>
<p>The above log implementation is decoupled from the underlying protocol and
is also decoupled from client or server concerns. In other words, the same
log middleware could be used in either a client or a server.</p>
</div></details><h2 id="required-associated-types" class="section-header">Required Associated Types<a href="#required-associated-types" class="anchor">§</a></h2><div class="methods"><details class="toggle" open><summary><section id="associatedtype.Service" class="method"><a class="src rightside" href="../src/tower_layer/lib.rs.html#97">Source</a><h4 class="code-header">type <a href="#associatedtype.Service" class="associatedtype">Service</a></h4></section></summary><div class="docblock"><p>The wrapped service</p>
</div></details></div><h2 id="required-methods" class="section-header">Required Methods<a href="#required-methods" class="anchor">§</a></h2><div class="methods"><details class="toggle method-toggle" open><summary><section id="tymethod.layer" class="method"><a class="src rightside" href="../src/tower_layer/lib.rs.html#100">Source</a><h4 class="code-header">fn <a href="#tymethod.layer" class="fn">layer</a>(&amp;self, inner: S) -&gt; Self::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a></h4></section></summary><div class="docblock"><p>Wrap the given service with the middleware, returning a new service
that has been decorated with the middleware.</p>
</div></details></div><h2 id="foreign-impls" class="section-header">Implementations on Foreign Types<a href="#foreign-impls" class="anchor">§</a></h2><details class="toggle implementors-toggle"><summary><section id="impl-Layer%3CS%3E-for-%26T" class="impl"><a class="src rightside" href="../src/tower_layer/lib.rs.html#103-112">Source</a><a href="#impl-Layer%3CS%3E-for-%26T" class="anchor">§</a><h3 class="code-header">impl&lt;'a, T, S&gt; <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;S&gt; for <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.reference.html">&amp;'a T</a><div class="where">where
T: ?<a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a> + <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;S&gt;,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Service-1" class="associatedtype trait-impl"><a class="src rightside" href="../src/tower_layer/lib.rs.html#107">Source</a><a href="#associatedtype.Service-1" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Service" class="associatedtype">Service</a> = &lt;T as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;S&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a></h4></section><section id="method.layer" class="method trait-impl"><a class="src rightside" href="../src/tower_layer/lib.rs.html#109-111">Source</a><a href="#method.layer" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.layer" class="fn">layer</a>(&amp;self, inner: S) -&gt; Self::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Layer%3CS%3E-for-()" class="impl"><a class="src rightside" href="../src/tower_layer/tuple.rs.html#3-9">Source</a><a href="#impl-Layer%3CS%3E-for-()" class="anchor">§</a><h3 class="code-header">impl&lt;S&gt; <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;S&gt; for <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.unit.html">()</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Service-2" class="associatedtype trait-impl"><a class="src rightside" href="../src/tower_layer/tuple.rs.html#4">Source</a><a href="#associatedtype.Service-2" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Service" class="associatedtype">Service</a> = S</h4></section><section id="method.layer-1" class="method trait-impl"><a class="src rightside" href="../src/tower_layer/tuple.rs.html#6-8">Source</a><a href="#method.layer-1" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.layer" class="fn">layer</a>(&amp;self, service: S) -&gt; Self::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Layer%3CS%3E-for-(L1,)" class="impl"><a class="src rightside" href="../src/tower_layer/tuple.rs.html#11-21">Source</a><a href="#impl-Layer%3CS%3E-for-(L1,)" class="anchor">§</a><h3 class="code-header">impl&lt;S, L1&gt; <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;S&gt; for <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.tuple.html">(L1,)</a><div class="where">where
L1: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;S&gt;,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Service-3" class="associatedtype trait-impl"><a class="src rightside" href="../src/tower_layer/tuple.rs.html#15">Source</a><a href="#associatedtype.Service-3" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Service" class="associatedtype">Service</a> = &lt;L1 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;S&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a></h4></section><section id="method.layer-2" class="method trait-impl"><a class="src rightside" href="../src/tower_layer/tuple.rs.html#17-20">Source</a><a href="#method.layer-2" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.layer" class="fn">layer</a>(&amp;self, service: S) -&gt; Self::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Layer%3CS%3E-for-(L1,+L2)" class="impl"><a class="src rightside" href="../src/tower_layer/tuple.rs.html#23-34">Source</a><a href="#impl-Layer%3CS%3E-for-(L1,+L2)" class="anchor">§</a><h3 class="code-header">impl&lt;S, L1, L2&gt; <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;S&gt; for <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.tuple.html">(L1, L2)</a><div class="where">where
L1: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;L2::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;,
L2: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;S&gt;,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Service-4" class="associatedtype trait-impl"><a class="src rightside" href="../src/tower_layer/tuple.rs.html#28">Source</a><a href="#associatedtype.Service-4" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Service" class="associatedtype">Service</a> = &lt;L1 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;&lt;L2 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;S&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a></h4></section><section id="method.layer-3" class="method trait-impl"><a class="src rightside" href="../src/tower_layer/tuple.rs.html#30-33">Source</a><a href="#method.layer-3" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.layer" class="fn">layer</a>(&amp;self, service: S) -&gt; Self::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Layer%3CS%3E-for-(L1,+L2,+L3)" class="impl"><a class="src rightside" href="../src/tower_layer/tuple.rs.html#36-48">Source</a><a href="#impl-Layer%3CS%3E-for-(L1,+L2,+L3)" class="anchor">§</a><h3 class="code-header">impl&lt;S, L1, L2, L3&gt; <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;S&gt; for <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.tuple.html">(L1, L2, L3)</a><div class="where">where
L1: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;L2::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;,
L2: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;L3::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;,
L3: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;S&gt;,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Service-5" class="associatedtype trait-impl"><a class="src rightside" href="../src/tower_layer/tuple.rs.html#42">Source</a><a href="#associatedtype.Service-5" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Service" class="associatedtype">Service</a> = &lt;L1 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;&lt;L2 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;&lt;L3 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;S&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a></h4></section><section id="method.layer-4" class="method trait-impl"><a class="src rightside" href="../src/tower_layer/tuple.rs.html#44-47">Source</a><a href="#method.layer-4" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.layer" class="fn">layer</a>(&amp;self, service: S) -&gt; Self::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Layer%3CS%3E-for-(L1,+L2,+L3,+L4)" class="impl"><a class="src rightside" href="../src/tower_layer/tuple.rs.html#50-63">Source</a><a href="#impl-Layer%3CS%3E-for-(L1,+L2,+L3,+L4)" class="anchor">§</a><h3 class="code-header">impl&lt;S, L1, L2, L3, L4&gt; <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;S&gt; for <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.tuple.html">(L1, L2, L3, L4)</a><div class="where">where
L1: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;L2::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;,
L2: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;L3::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;,
L3: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;L4::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;,
L4: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;S&gt;,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Service-6" class="associatedtype trait-impl"><a class="src rightside" href="../src/tower_layer/tuple.rs.html#57">Source</a><a href="#associatedtype.Service-6" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Service" class="associatedtype">Service</a> = &lt;L1 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;&lt;L2 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;&lt;L3 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;&lt;L4 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;S&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a></h4></section><section id="method.layer-5" class="method trait-impl"><a class="src rightside" href="../src/tower_layer/tuple.rs.html#59-62">Source</a><a href="#method.layer-5" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.layer" class="fn">layer</a>(&amp;self, service: S) -&gt; Self::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Layer%3CS%3E-for-(L1,+L2,+L3,+L4,+L5)" class="impl"><a class="src rightside" href="../src/tower_layer/tuple.rs.html#65-79">Source</a><a href="#impl-Layer%3CS%3E-for-(L1,+L2,+L3,+L4,+L5)" class="anchor">§</a><h3 class="code-header">impl&lt;S, L1, L2, L3, L4, L5&gt; <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;S&gt; for <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.tuple.html">(L1, L2, L3, L4, L5)</a><div class="where">where
L1: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;L2::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;,
L2: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;L3::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;,
L3: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;L4::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;,
L4: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;L5::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;,
L5: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;S&gt;,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Service-7" class="associatedtype trait-impl"><a class="src rightside" href="../src/tower_layer/tuple.rs.html#73">Source</a><a href="#associatedtype.Service-7" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Service" class="associatedtype">Service</a> = &lt;L1 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;&lt;L2 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;&lt;L3 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;&lt;L4 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;&lt;L5 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;S&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a></h4></section><section id="method.layer-6" class="method trait-impl"><a class="src rightside" href="../src/tower_layer/tuple.rs.html#75-78">Source</a><a href="#method.layer-6" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.layer" class="fn">layer</a>(&amp;self, service: S) -&gt; Self::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Layer%3CS%3E-for-(L1,+L2,+L3,+L4,+L5,+L6)" class="impl"><a class="src rightside" href="../src/tower_layer/tuple.rs.html#81-96">Source</a><a href="#impl-Layer%3CS%3E-for-(L1,+L2,+L3,+L4,+L5,+L6)" class="anchor">§</a><h3 class="code-header">impl&lt;S, L1, L2, L3, L4, L5, L6&gt; <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;S&gt; for <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.tuple.html">(L1, L2, L3, L4, L5, L6)</a><div class="where">where
L1: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;L2::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;,
L2: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;L3::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;,
L3: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;L4::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;,
L4: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;L5::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;,
L5: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;L6::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;,
L6: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;S&gt;,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Service-8" class="associatedtype trait-impl"><a class="src rightside" href="../src/tower_layer/tuple.rs.html#90">Source</a><a href="#associatedtype.Service-8" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Service" class="associatedtype">Service</a> = &lt;L1 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;&lt;L2 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;&lt;L3 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;&lt;L4 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;&lt;L5 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;&lt;L6 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;S&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a></h4></section><section id="method.layer-7" class="method trait-impl"><a class="src rightside" href="../src/tower_layer/tuple.rs.html#92-95">Source</a><a href="#method.layer-7" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.layer" class="fn">layer</a>(&amp;self, service: S) -&gt; Self::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Layer%3CS%3E-for-(L1,+L2,+L3,+L4,+L5,+L6,+L7)" class="impl"><a class="src rightside" href="../src/tower_layer/tuple.rs.html#98-114">Source</a><a href="#impl-Layer%3CS%3E-for-(L1,+L2,+L3,+L4,+L5,+L6,+L7)" class="anchor">§</a><h3 class="code-header">impl&lt;S, L1, L2, L3, L4, L5, L6, L7&gt; <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;S&gt; for <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.tuple.html">(L1, L2, L3, L4, L5, L6, L7)</a><div class="where">where
L1: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;L2::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;,
L2: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;L3::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;,
L3: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;L4::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;,
L4: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;L5::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;,
L5: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;L6::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;,
L6: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;L7::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;,
L7: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;S&gt;,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Service-9" class="associatedtype trait-impl"><a class="src rightside" href="../src/tower_layer/tuple.rs.html#108">Source</a><a href="#associatedtype.Service-9" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Service" class="associatedtype">Service</a> = &lt;L1 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;&lt;L2 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;&lt;L3 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;&lt;L4 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;&lt;L5 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;&lt;L6 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;&lt;L7 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;S&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a></h4></section><section id="method.layer-8" class="method trait-impl"><a class="src rightside" href="../src/tower_layer/tuple.rs.html#110-113">Source</a><a href="#method.layer-8" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.layer" class="fn">layer</a>(&amp;self, service: S) -&gt; Self::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Layer%3CS%3E-for-(L1,+L2,+L3,+L4,+L5,+L6,+L7,+L8)" class="impl"><a class="src rightside" href="../src/tower_layer/tuple.rs.html#116-133">Source</a><a href="#impl-Layer%3CS%3E-for-(L1,+L2,+L3,+L4,+L5,+L6,+L7,+L8)" class="anchor">§</a><h3 class="code-header">impl&lt;S, L1, L2, L3, L4, L5, L6, L7, L8&gt; <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;S&gt; for <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.tuple.html">(L1, L2, L3, L4, L5, L6, L7, L8)</a><div class="where">where
L1: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;L2::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;,
L2: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;L3::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;,
L3: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;L4::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;,
L4: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;L5::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;,
L5: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;L6::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;,
L6: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;L7::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;,
L7: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;L8::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;,
L8: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;S&gt;,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Service-10" class="associatedtype trait-impl"><a class="src rightside" href="../src/tower_layer/tuple.rs.html#127">Source</a><a href="#associatedtype.Service-10" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Service" class="associatedtype">Service</a> = &lt;L1 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;&lt;L2 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;&lt;L3 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;&lt;L4 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;&lt;L5 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;&lt;L6 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;&lt;L7 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;&lt;L8 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;S&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a></h4></section><section id="method.layer-9" class="method trait-impl"><a class="src rightside" href="../src/tower_layer/tuple.rs.html#129-132">Source</a><a href="#method.layer-9" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.layer" class="fn">layer</a>(&amp;self, service: S) -&gt; Self::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Layer%3CS%3E-for-(L1,+L2,+L3,+L4,+L5,+L6,+L7,+L8,+L9)" class="impl"><a class="src rightside" href="../src/tower_layer/tuple.rs.html#135-153">Source</a><a href="#impl-Layer%3CS%3E-for-(L1,+L2,+L3,+L4,+L5,+L6,+L7,+L8,+L9)" class="anchor">§</a><h3 class="code-header">impl&lt;S, L1, L2, L3, L4, L5, L6, L7, L8, L9&gt; <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;S&gt; for <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.tuple.html">(L1, L2, L3, L4, L5, L6, L7, L8, L9)</a><div class="where">where
L1: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;L2::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;,
L2: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;L3::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;,
L3: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;L4::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;,
L4: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;L5::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;,
L5: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;L6::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;,
L6: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;L7::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;,
L7: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;L8::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;,
L8: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;L9::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;,
L9: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;S&gt;,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Service-11" class="associatedtype trait-impl"><a class="src rightside" href="../src/tower_layer/tuple.rs.html#147">Source</a><a href="#associatedtype.Service-11" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Service" class="associatedtype">Service</a> = &lt;L1 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;&lt;L2 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;&lt;L3 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;&lt;L4 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;&lt;L5 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;&lt;L6 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;&lt;L7 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;&lt;L8 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;&lt;L9 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;S&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a></h4></section><section id="method.layer-10" class="method trait-impl"><a class="src rightside" href="../src/tower_layer/tuple.rs.html#149-152">Source</a><a href="#method.layer-10" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.layer" class="fn">layer</a>(&amp;self, service: S) -&gt; Self::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Layer%3CS%3E-for-(L1,+L2,+L3,+L4,+L5,+L6,+L7,+L8,+L9,+L10)" class="impl"><a class="src rightside" href="../src/tower_layer/tuple.rs.html#155-175">Source</a><a href="#impl-Layer%3CS%3E-for-(L1,+L2,+L3,+L4,+L5,+L6,+L7,+L8,+L9,+L10)" class="anchor">§</a><h3 class="code-header">impl&lt;S, L1, L2, L3, L4, L5, L6, L7, L8, L9, L10&gt; <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;S&gt; for <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.tuple.html">(L1, L2, L3, L4, L5, L6, L7, L8, L9, L10)</a><div class="where">where
L1: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;L2::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;,
L2: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;L3::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;,
L3: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;L4::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;,
L4: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;L5::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;,
L5: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;L6::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;,
L6: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;L7::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;,
L7: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;L8::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;,
L8: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;L9::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;,
L9: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;L10::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;,
L10: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;S&gt;,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Service-12" class="associatedtype trait-impl"><a class="src rightside" href="../src/tower_layer/tuple.rs.html#169">Source</a><a href="#associatedtype.Service-12" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Service" class="associatedtype">Service</a> = &lt;L1 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;&lt;L2 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;&lt;L3 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;&lt;L4 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;&lt;L5 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;&lt;L6 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;&lt;L7 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;&lt;L8 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;&lt;L9 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;&lt;L10 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;S&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a></h4></section><section id="method.layer-11" class="method trait-impl"><a class="src rightside" href="../src/tower_layer/tuple.rs.html#171-174">Source</a><a href="#method.layer-11" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.layer" class="fn">layer</a>(&amp;self, service: S) -&gt; Self::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Layer%3CS%3E-for-(L1,+L2,+L3,+L4,+L5,+L6,+L7,+L8,+L9,+L10,+L11)" class="impl"><a class="src rightside" href="../src/tower_layer/tuple.rs.html#177-198">Source</a><a href="#impl-Layer%3CS%3E-for-(L1,+L2,+L3,+L4,+L5,+L6,+L7,+L8,+L9,+L10,+L11)" class="anchor">§</a><h3 class="code-header">impl&lt;S, L1, L2, L3, L4, L5, L6, L7, L8, L9, L10, L11&gt; <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;S&gt; for <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.tuple.html">(L1, L2, L3, L4, L5, L6, L7, L8, L9, L10, L11)</a><div class="where">where
L1: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;L2::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;,
L2: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;L3::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;,
L3: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;L4::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;,
L4: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;L5::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;,
L5: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;L6::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;,
L6: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;L7::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;,
L7: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;L8::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;,
L8: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;L9::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;,
L9: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;L10::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;,
L10: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;L11::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;,
L11: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;S&gt;,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Service-13" class="associatedtype trait-impl"><a class="src rightside" href="../src/tower_layer/tuple.rs.html#192">Source</a><a href="#associatedtype.Service-13" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Service" class="associatedtype">Service</a> = &lt;L1 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;&lt;L2 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;&lt;L3 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;&lt;L4 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;&lt;L5 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;&lt;L6 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;&lt;L7 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;&lt;L8 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;&lt;L9 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;&lt;L10 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;&lt;L11 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;S&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a></h4></section><section id="method.layer-12" class="method trait-impl"><a class="src rightside" href="../src/tower_layer/tuple.rs.html#194-197">Source</a><a href="#method.layer-12" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.layer" class="fn">layer</a>(&amp;self, service: S) -&gt; Self::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Layer%3CS%3E-for-(L1,+L2,+L3,+L4,+L5,+L6,+L7,+L8,+L9,+L10,+L11,+L12)" class="impl"><a class="src rightside" href="../src/tower_layer/tuple.rs.html#200-222">Source</a><a href="#impl-Layer%3CS%3E-for-(L1,+L2,+L3,+L4,+L5,+L6,+L7,+L8,+L9,+L10,+L11,+L12)" class="anchor">§</a><h3 class="code-header">impl&lt;S, L1, L2, L3, L4, L5, L6, L7, L8, L9, L10, L11, L12&gt; <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;S&gt; for <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.tuple.html">(L1, L2, L3, L4, L5, L6, L7, L8, L9, L10, L11, L12)</a><div class="where">where
L1: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;L2::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;,
L2: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;L3::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;,
L3: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;L4::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;,
L4: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;L5::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;,
L5: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;L6::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;,
L6: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;L7::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;,
L7: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;L8::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;,
L8: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;L9::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;,
L9: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;L10::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;,
L10: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;L11::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;,
L11: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;L12::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;,
L12: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;S&gt;,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Service-14" class="associatedtype trait-impl"><a class="src rightside" href="../src/tower_layer/tuple.rs.html#216">Source</a><a href="#associatedtype.Service-14" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Service" class="associatedtype">Service</a> = &lt;L1 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;&lt;L2 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;&lt;L3 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;&lt;L4 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;&lt;L5 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;&lt;L6 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;&lt;L7 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;&lt;L8 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;&lt;L9 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;&lt;L10 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;&lt;L11 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;&lt;L12 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;S&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a></h4></section><section id="method.layer-13" class="method trait-impl"><a class="src rightside" href="../src/tower_layer/tuple.rs.html#218-221">Source</a><a href="#method.layer-13" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.layer" class="fn">layer</a>(&amp;self, service: S) -&gt; Self::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Layer%3CS%3E-for-(L1,+L2,+L3,+L4,+L5,+L6,+L7,+L8,+L9,+L10,+L11,+L12,+L13)" class="impl"><a class="src rightside" href="../src/tower_layer/tuple.rs.html#224-247">Source</a><a href="#impl-Layer%3CS%3E-for-(L1,+L2,+L3,+L4,+L5,+L6,+L7,+L8,+L9,+L10,+L11,+L12,+L13)" class="anchor">§</a><h3 class="code-header">impl&lt;S, L1, L2, L3, L4, L5, L6, L7, L8, L9, L10, L11, L12, L13&gt; <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;S&gt; for <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.tuple.html">(L1, L2, L3, L4, L5, L6, L7, L8, L9, L10, L11, L12, L13)</a><div class="where">where
L1: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;L2::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;,
L2: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;L3::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;,
L3: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;L4::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;,
L4: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;L5::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;,
L5: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;L6::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;,
L6: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;L7::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;,
L7: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;L8::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;,
L8: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;L9::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;,
L9: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;L10::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;,
L10: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;L11::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;,
L11: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;L12::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;,
L12: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;L13::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;,
L13: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;S&gt;,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Service-15" class="associatedtype trait-impl"><a class="src rightside" href="../src/tower_layer/tuple.rs.html#241">Source</a><a href="#associatedtype.Service-15" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Service" class="associatedtype">Service</a> = &lt;L1 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;&lt;L2 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;&lt;L3 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;&lt;L4 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;&lt;L5 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;&lt;L6 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;&lt;L7 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;&lt;L8 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;&lt;L9 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;&lt;L10 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;&lt;L11 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;&lt;L12 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;&lt;L13 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;S&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a></h4></section><section id="method.layer-14" class="method trait-impl"><a class="src rightside" href="../src/tower_layer/tuple.rs.html#243-246">Source</a><a href="#method.layer-14" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.layer" class="fn">layer</a>(&amp;self, service: S) -&gt; Self::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Layer%3CS%3E-for-(L1,+L2,+L3,+L4,+L5,+L6,+L7,+L8,+L9,+L10,+L11,+L12,+L13,+L14)" class="impl"><a class="src rightside" href="../src/tower_layer/tuple.rs.html#249-273">Source</a><a href="#impl-Layer%3CS%3E-for-(L1,+L2,+L3,+L4,+L5,+L6,+L7,+L8,+L9,+L10,+L11,+L12,+L13,+L14)" class="anchor">§</a><h3 class="code-header">impl&lt;S, L1, L2, L3, L4, L5, L6, L7, L8, L9, L10, L11, L12, L13, L14&gt; <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;S&gt; for <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.tuple.html">(L1, L2, L3, L4, L5, L6, L7, L8, L9, L10, L11, L12, L13, L14)</a><div class="where">where
L1: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;L2::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;,
L2: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;L3::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;,
L3: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;L4::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;,
L4: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;L5::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;,
L5: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;L6::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;,
L6: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;L7::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;,
L7: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;L8::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;,
L8: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;L9::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;,
L9: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;L10::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;,
L10: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;L11::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;,
L11: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;L12::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;,
L12: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;L13::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;,
L13: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;L14::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;,
L14: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;S&gt;,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Service-16" class="associatedtype trait-impl"><a class="src rightside" href="../src/tower_layer/tuple.rs.html#267">Source</a><a href="#associatedtype.Service-16" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Service" class="associatedtype">Service</a> = &lt;L1 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;&lt;L2 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;&lt;L3 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;&lt;L4 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;&lt;L5 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;&lt;L6 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;&lt;L7 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;&lt;L8 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;&lt;L9 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;&lt;L10 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;&lt;L11 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;&lt;L12 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;&lt;L13 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;&lt;L14 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;S&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a></h4></section><section id="method.layer-15" class="method trait-impl"><a class="src rightside" href="../src/tower_layer/tuple.rs.html#269-272">Source</a><a href="#method.layer-15" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.layer" class="fn">layer</a>(&amp;self, service: S) -&gt; Self::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Layer%3CS%3E-for-(L1,+L2,+L3,+L4,+L5,+L6,+L7,+L8,+L9,+L10,+L11,+L12,+L13,+L14,+L15)" class="impl"><a class="src rightside" href="../src/tower_layer/tuple.rs.html#276-301">Source</a><a href="#impl-Layer%3CS%3E-for-(L1,+L2,+L3,+L4,+L5,+L6,+L7,+L8,+L9,+L10,+L11,+L12,+L13,+L14,+L15)" class="anchor">§</a><h3 class="code-header">impl&lt;S, L1, L2, L3, L4, L5, L6, L7, L8, L9, L10, L11, L12, L13, L14, L15&gt; <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;S&gt; for <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.tuple.html">(L1, L2, L3, L4, L5, L6, L7, L8, L9, L10, L11, L12, L13, L14, L15)</a><div class="where">where
L1: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;L2::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;,
L2: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;L3::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;,
L3: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;L4::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;,
L4: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;L5::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;,
L5: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;L6::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;,
L6: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;L7::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;,
L7: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;L8::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;,
L8: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;L9::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;,
L9: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;L10::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;,
L10: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;L11::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;,
L11: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;L12::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;,
L12: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;L13::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;,
L13: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;L14::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;,
L14: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;L15::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;,
L15: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;S&gt;,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Service-17" class="associatedtype trait-impl"><a class="src rightside" href="../src/tower_layer/tuple.rs.html#295">Source</a><a href="#associatedtype.Service-17" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Service" class="associatedtype">Service</a> = &lt;L1 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;&lt;L2 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;&lt;L3 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;&lt;L4 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;&lt;L5 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;&lt;L6 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;&lt;L7 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;&lt;L8 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;&lt;L9 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;&lt;L10 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;&lt;L11 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;&lt;L12 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;&lt;L13 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;&lt;L14 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;&lt;L15 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;S&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a></h4></section><section id="method.layer-16" class="method trait-impl"><a class="src rightside" href="../src/tower_layer/tuple.rs.html#297-300">Source</a><a href="#method.layer-16" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.layer" class="fn">layer</a>(&amp;self, service: S) -&gt; Self::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Layer%3CS%3E-for-(L1,+L2,+L3,+L4,+L5,+L6,+L7,+L8,+L9,+L10,+L11,+L12,+L13,+L14,+L15,+L16)" class="impl"><a class="src rightside" href="../src/tower_layer/tuple.rs.html#304-330">Source</a><a href="#impl-Layer%3CS%3E-for-(L1,+L2,+L3,+L4,+L5,+L6,+L7,+L8,+L9,+L10,+L11,+L12,+L13,+L14,+L15,+L16)" class="anchor">§</a><h3 class="code-header">impl&lt;S, L1, L2, L3, L4, L5, L6, L7, L8, L9, L10, L11, L12, L13, L14, L15, L16&gt; <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;S&gt; for <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.tuple.html">(L1, L2, L3, L4, L5, L6, L7, L8, L9, L10, L11, L12, L13, L14, L15, L16)</a><div class="where">where
L1: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;L2::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;,
L2: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;L3::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;,
L3: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;L4::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;,
L4: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;L5::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;,
L5: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;L6::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;,
L6: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;L7::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;,
L7: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;L8::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;,
L8: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;L9::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;,
L9: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;L10::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;,
L10: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;L11::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;,
L11: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;L12::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;,
L12: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;L13::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;,
L13: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;L14::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;,
L14: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;L15::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;,
L15: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;L16::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;,
L16: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;S&gt;,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Service-18" class="associatedtype trait-impl"><a class="src rightside" href="../src/tower_layer/tuple.rs.html#324">Source</a><a href="#associatedtype.Service-18" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Service" class="associatedtype">Service</a> = &lt;L1 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;&lt;L2 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;&lt;L3 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;&lt;L4 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;&lt;L5 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;&lt;L6 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;&lt;L7 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;&lt;L8 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;&lt;L9 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;&lt;L10 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;&lt;L11 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;&lt;L12 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;&lt;L13 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;&lt;L14 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;&lt;L15 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;&lt;L16 as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;S&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a></h4></section><section id="method.layer-17" class="method trait-impl"><a class="src rightside" href="../src/tower_layer/tuple.rs.html#326-329">Source</a><a href="#method.layer-17" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.layer" class="fn">layer</a>(&amp;self, service: S) -&gt; Self::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a></h4></section></div></details><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"><details class="toggle implementors-toggle"><summary><section id="impl-Layer%3CS%3E-for-LayerFn%3CF%3E" class="impl"><a class="src rightside" href="../src/tower_layer/layer_fn.rs.html#77-86">Source</a><a href="#impl-Layer%3CS%3E-for-LayerFn%3CF%3E" class="anchor">§</a><h3 class="code-header">impl&lt;F, S, Out&gt; <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;S&gt; for <a class="struct" href="struct.LayerFn.html" title="struct tower_layer::LayerFn">LayerFn</a>&lt;F&gt;<div class="where">where
F: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/ops/function/trait.Fn.html" title="trait core::ops::function::Fn">Fn</a>(S) -&gt; Out,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Service-19" class="associatedtype trait-impl"><a class="src rightside" href="../src/tower_layer/layer_fn.rs.html#81">Source</a><a href="#associatedtype.Service-19" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Service" class="associatedtype">Service</a> = Out</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Layer%3CS%3E-for-Identity" class="impl"><a class="src rightside" href="../src/tower_layer/identity.rs.html#25-31">Source</a><a href="#impl-Layer%3CS%3E-for-Identity" class="anchor">§</a><h3 class="code-header">impl&lt;S&gt; <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;S&gt; for <a class="struct" href="struct.Identity.html" title="struct tower_layer::Identity">Identity</a></h3><div class="docblock"><p>Decorates a <a href="https://docs.rs/tower-service/latest/tower_service/trait.Service.html"><code>Service</code></a>, transforming either the request or the response.</p>
</div></section></summary><div class="impl-items"><section id="associatedtype.Service-20" class="associatedtype trait-impl"><a class="src rightside" href="../src/tower_layer/identity.rs.html#26">Source</a><a href="#associatedtype.Service-20" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Service" class="associatedtype">Service</a> = S</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Layer%3CS%3E-for-Stack%3CInner,+Outer%3E" class="impl"><a class="src rightside" href="../src/tower_layer/stack.rs.html#18-30">Source</a><a href="#impl-Layer%3CS%3E-for-Stack%3CInner,+Outer%3E" class="anchor">§</a><h3 class="code-header">impl&lt;S, Inner, Outer&gt; <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;S&gt; for <a class="struct" href="struct.Stack.html" title="struct tower_layer::Stack">Stack</a>&lt;Inner, Outer&gt;<div class="where">where
Inner: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;S&gt;,
Outer: <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;Inner::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.Service-21" class="associatedtype trait-impl"><a class="src rightside" href="../src/tower_layer/stack.rs.html#23">Source</a><a href="#associatedtype.Service-21" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Service" class="associatedtype">Service</a> = &lt;Outer as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;&lt;Inner as <a class="trait" href="trait.Layer.html" title="trait tower_layer::Layer">Layer</a>&lt;S&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a>&gt;&gt;::<a class="associatedtype" href="trait.Layer.html#associatedtype.Service" title="type tower_layer::Layer::Service">Service</a></h4></section></div></details></div><script src="../trait.impl/tower_layer/trait.Layer.js" data-ignore-extern-crates="std" async></script></section></div></main></body></html>