<!DOCTYPE html><htmllang="en"><head><metacharset="utf-8"><metaname="viewport"content="width=device-width, initial-scale=1.0"><metaname="generator"content="rustdoc"><metaname="description"content="API documentation for the Rust `HeaderName` struct in crate `actix_web`."><metaname="keywords"content="rust, rustlang, rust-lang, HeaderName"><title>actix_web::http::header::HeaderName - Rust</title><linkrel="stylesheet"type="text/css"href="../../../normalize.css"><linkrel="stylesheet"type="text/css"href="../../../rustdoc.css"id="mainThemeStyle"><linkrel="stylesheet"type="text/css"href="../../../dark.css"><linkrel="stylesheet"type="text/css"href="../../../light.css"id="themeStyle"><scriptsrc="../../../storage.js"></script></head><bodyclass="rustdoc struct"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><navclass="sidebar"><divclass="sidebar-menu">☰</div><pclass='location'>Struct HeaderName</p><divclass="sidebar-elems"><divclass="block items"><aclass="sidebar-title"href="#methods">Methods</a><divclass="sidebar-links"><ahref="#method.from_bytes">from_bytes</a><ahref="#method.from_lowercase">from_lowercase</a><ahref="#method.from_static">from_static</a><ahref="#method.as_str">as_str</a></div><aclass="sidebar-title"href="#implementations">Trait Implementations</a><divclass="sidebar-links"><ahref="#impl-Eq">Eq</a><ahref="#impl-PartialEq%3CHeaderName%3E">PartialEq<HeaderName></a><ahref="#impl-PartialEq%3C%26%27a%20HeaderName%3E">PartialEq<&'a HeaderName></a><ahref="#impl-PartialEq%3Cstr%3E">PartialEq<str></a><ahref="#impl-PartialEq%3C%26%27a%20str%3E">PartialEq<&'a str></a><ahref="#impl-Hash">Hash</a><ahref="#impl-FromStr">FromStr</a><ahref="#impl-Borrow%3Cstr%3E">Borrow<str></a><ahref="#impl-From%3CHeaderName%3E">From<HeaderName></a><ahref="#impl-From%3C%26%27a%20HeaderName%3E">From<&'a HeaderName></a><ahref="#impl-AsRef%3C%5Bu8%5D%3E">AsRef<[u8]></a><ahref="#impl-AsRef%3Cstr%3E">AsRef<str></a><ahref="#impl-IntoHeaderName">IntoHeaderName</a><ahref="#impl-Clone">Clone</a><ahref="#impl-HttpTryFrom%3C%26%27a%20str%3E">HttpTryFrom<&'a str></a><ahref="#impl-HttpTryFrom%3CBytes%3E">HttpTryFrom<Bytes></a><ahref="#impl-HttpTryFrom%3CHeaderName%3E">HttpTryFrom<HeaderName></a><ahref="#impl-HttpTryFrom%3C%26%27a%20%5Bu8%5D%3E">HttpTryFrom<&'a [u8]></a><ahref="#impl-Debug">Debug</a><ahref="#impl-AsHeaderName">AsHeaderName</a></div><aclass="sidebar-title"href="#synthetic-implementations">Auto Trait Implementations</a><divclass="sidebar-links"><ahref="#impl-Send">Send</a><ahref="#impl-Sync">Sync</a></div></div><pclass='location'><ahref='../../index.html'>actix_web</a>::<wbr><ahref='../index.html'>http</a>::<wbr><ahref='index.html'>header</a></p><script>window.sidebarCurrent={name:'HeaderName',ty:'struct',relpath:''};</script><scriptdefersrc="sidebar-items.js"></script></div></nav><divclass="theme-picker"><buttonid="theme-picker"aria-label="Pick another theme!"><imgsrc="../../../brush.svg"width="18"alt="Pick another theme!"></button><divid="theme-choices"></div></div><scriptsrc="../../../theme.js"></script><navclass="sub"><formclass="search-form js-only"><divclass="search-container"><inputclass="search-input"name="search"autocomplete="off"placeholder="Click or press ‘S’ to search, ‘?’ for more options…"type="search"><aid="settings-menu"href="../../../settings.html"><imgsrc="../../../wheel.svg"width="18"alt="Change settings"></a></div></form></nav><sectionid="main"class="content"><h1class='fqn'><spanclass='in-band'>Struct <ahref='../../index.html'>actix_web</a>::<wbr><ahref='../index.html'>http</a>::<wbr><ahref='index.html'>header</a>::<wbr><aclass="struct"href=''>HeaderName</a></span><spanclass='out-of-band'><spanid='render-detail'><aid="toggle-all-docs"href="javascript:void(0)"title="collapse all docs">[<spanclass='inne
</div><h4id='method.from_lowercase'class="method"><spanid='from_lowercase.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>pub fn <ahref='#method.from_lowercase'class='fnname'>from_lowercase</a>(src: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">&[</a><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">]</a>) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><<aclass="struct"href="../../../actix_web/http/header/struct.HeaderName.html"title="struct actix_web::http::header::HeaderName">HeaderName</a>, <aclass="struct"href="../../../actix_web/http/header/struct.InvalidHeaderName.html"title="struct actix_web::http::header::InvalidHeaderName">InvalidHeaderName</a>></code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><aclass='srclink'href='https://docs.rs/http/0.1.8/src/http/header/name.rs.html#1574-1595'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>Converts a slice of bytes to an HTTP header name.</p>
<spanclass="comment">// Parsing a header that contains invalid symbols(s):</span>
<spanclass="ident">HeaderName</span>::<spanclass="ident">from_static</span>(<spanclass="string">"content{}{}length"</span>); <spanclass="comment">// This line panics!</span>
<spanclass="comment">// Parsing a header that contains invalid uppercase characters.</span>
<spanclass="kw">let</span><spanclass="ident">b</span><spanclass="op">=</span><spanclass="ident">HeaderName</span>::<spanclass="ident">from_static</span>(<spanclass="string">"FOOBAR"</span>); <spanclass="comment">// This line panics!</span></pre>
</div><h4id='method.as_str'class="method"><spanid='as_str.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>pub fn <ahref='#method.as_str'class='fnname'>as_str</a>(&self) ->&<aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a></code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><aclass='srclink'href='https://docs.rs/http/0.1.8/src/http/header/name.rs.html#1664-1669'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>Returns a <code>str</code> representation of the header.</p>
<divid='implementations-list'><h3id='impl-Eq'class='impl'><spanclass='in-band'><tableclass='table-display'><tbody><tr><td><code>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/cmp/trait.Eq.html"title="trait core::cmp::Eq">Eq</a> for <aclass="struct"href="../../../actix_web/http/header/struct.HeaderName.html"title="struct actix_web::http::header::HeaderName">HeaderName</a></code><ahref='#impl-Eq'class='anchor'></a></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><aclass='srclink'href='https://docs.rs/http/0.1.8/src/http/header/name.rs.html#31'title='goto source code'>[src]</a></span></td></tr></tbody></table></h3><divclass='impl-items'></div><h3id='impl-PartialEq%3CHeaderName%3E'class='impl'><spanclass='in-band'><tableclass='table-display'><tbody><tr><td><code>impl<'a><aclass="trait"href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html"title="trait core::cmp::PartialEq">PartialEq</a><<aclass="struct"href="../../../actix_web/http/header/struct.HeaderName.html"title="struct actix_web::http::header::HeaderName">HeaderName</a>> for &'a <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a></code><ahref='#impl-PartialEq%3CHeaderName%3E'class='anchor'></a></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><aclass='srclink'href='https://docs.rs/http/0.1.8/src/http/header/name.rs.html#1849-1856'title='goto source code'>[src]</a></span></td></tr></tbody></table></h3><divclass='impl-items'><h4id='method.eq'class="method"><spanid='eq.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq'class='fnname'>eq</a>(&self, other: &<aclass="struct"href="../../../actix_web/http/header/struct.HeaderName.html"title="struct actix_web::http::header::HeaderName">HeaderName</a>) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><aclass='srclink'href='https://docs.rs/http/0.1.8/src/http/header/name.rs.html#1853-1855'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>Performs a case-insensitive comparison of the string against the header
</div>fn <ahref='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#method.ne'class='fnname'>ne</a>(&self, other: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>Rhs) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><divclass='since'title='Stable since Rust version 1.0.0'>1.0.0</div><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#126'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>This method tests for <code>!=</code>.</p>
</div></div><h3id='impl-PartialEq%3CHeaderName%3E-1'class='impl'><spanclass='in-band'><tableclass='table-display'><tbody><tr><td><code>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html"title="trait core::cmp::PartialEq">PartialEq</a><<aclass="struct"href="../../../actix_web/http/header/struct.HeaderName.html"title="struct actix_web::http::header::HeaderName">HeaderName</a>> for <aclass="struct"href="../../../actix_web/http/header/struct.HeaderName.html"title="struct actix_web::http::header::HeaderName">HeaderName</a></code><ahref='#impl-PartialEq%3CHeaderName%3E-1'class='anchor'></a></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><aclass='srclink'href='https://docs.rs/http/0.1.8/src/http/header/name.rs.html#31'title='goto source code'>[src]</a></span></td></tr></tbody></table></h3><divclass='impl-items'><h4id='method.eq-1'class="method"><spanid='eq.v-1'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq'class='fnname'>eq</a>(&self, other: &<aclass="struct"href="../../../actix_web/http/header/struct.HeaderName.html"title="struct actix_web::http::header::HeaderName">HeaderName</a>) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><aclass='srclink'href='https://docs.rs/http/0.1.8/src/http/header/name.rs.html#31'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <ahref="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p>
</div></div><h3id='impl-PartialEq%3C%26%27a%20HeaderName%3E'class='impl'><spanclass='in-band'><tableclass='table-display'><tbody><tr><td><code>impl<'a><aclass="trait"href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html"title="trait core::cmp::PartialEq">PartialEq</a><&'a <aclass="struct"href="../../../actix_web/http/header/struct.HeaderName.html"title="struct actix_web::http::header::HeaderName">HeaderName</a>> for <aclass="struct"href="../../../actix_web/http/header/struct.HeaderName.html"title="struct actix_web::http::header::HeaderName">HeaderName</a></code><ahref='#impl-PartialEq%3C%26%27a%20HeaderName%3E'class='anchor'></a></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><aclass='srclink'href='https://docs.rs/http/0.1.8/src/http/header/name.rs.html#1785-1790'title='goto source code'>[src]</a></span></td></tr></tbody></table></h3><divclass='impl-items'><h4id='method.eq-2'class="method"><spanid='eq.v-2'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq'class='fnname'>eq</a>(&self, other: &&'a <aclass="struct"href="../../../actix_web/http/header/struct.HeaderName.html"title="struct actix_web::http::header::HeaderName">HeaderName</a>) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><aclass='srclink'href='https://docs.rs/http/0.1.8/src/http/header/name.rs.html#1787-1789'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <ahref="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p>
</div>fn <ahref='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#method.ne'class='fnname'>ne</a>(&self, other: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>Rhs) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><divclass='since'title='Stable since Rust version 1.0.0'>1.0.0</div><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#126'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>This method tests for <code>!=</code>.</p>
</div></div><h3id='impl-PartialEq%3CHeaderName%3E-2'class='impl'><spanclass='in-band'><tableclass='table-display'><tbody><tr><td><code>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html"title="trait core::cmp::PartialEq">PartialEq</a><<aclass="struct"href="../../../actix_web/http/header/struct.HeaderName.html"title="struct actix_web::http::header::HeaderName">HeaderName</a>> for <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a></code><ahref='#impl-PartialEq%3CHeaderName%3E-2'class='anchor'></a></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><aclass='srclink'href='https://docs.rs/http/0.1.8/src/http/header/name.rs.html#1820-1837'title='goto source code'>[src]</a></span></td></tr></tbody></table></h3><divclass='impl-items'><h4id='method.eq-3'class="method"><spanid='eq.v-3'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq'class='fnname'>eq</a>(&self, other: &<aclass="struct"href="../../../actix_web/http/header/struct.HeaderName.html"title="struct actix_web::http::header::HeaderName">HeaderName</a>) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><aclass='srclink'href='https://docs.rs/http/0.1.8/src/http/header/name.rs.html#1834-1836'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>Performs a case-insensitive comparison of the string against the header
</div>fn <ahref='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#method.ne'class='fnname'>ne</a>(&self, other: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>Rhs) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><divclass='since'title='Stable since Rust version 1.0.0'>1.0.0</div><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#126'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>This method tests for <code>!=</code>.</p>
</div></div><h3id='impl-PartialEq%3CHeaderName%3E-3'class='impl'><spanclass='in-band'><tableclass='table-display'><tbody><tr><td><code>impl<'a><aclass="trait"href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html"title="trait core::cmp::PartialEq">PartialEq</a><<aclass="struct"href="../../../actix_web/http/header/struct.HeaderName.html"title="struct actix_web::http::header::HeaderName">HeaderName</a>> for &'a <aclass="struct"href="../../../actix_web/http/header/struct.HeaderName.html"title="struct actix_web::http::header::HeaderName">HeaderName</a></code><ahref='#impl-PartialEq%3CHeaderName%3E-3'class='anchor'></a></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><aclass='srclink'href='https://docs.rs/http/0.1.8/src/http/header/name.rs.html#1793-1798'title='goto source code'>[src]</a></span></td></tr></tbody></table></h3><divclass='impl-items'><h4id='method.eq-4'class="method"><spanid='eq.v-4'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq'class='fnname'>eq</a>(&self, other: &<aclass="struct"href="../../../actix_web/http/header/struct.HeaderName.html"title="struct actix_web::http::header::HeaderName">HeaderName</a>) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><aclass='srclink'href='https://docs.rs/http/0.1.8/src/http/header/name.rs.html#1795-1797'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <ahref="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p>
</div>fn <ahref='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#method.ne'class='fnname'>ne</a>(&self, other: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>Rhs) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><divclass='since'title='Stable since Rust version 1.0.0'>1.0.0</div><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#126'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>This method tests for <code>!=</code>.</p>
</div></div><h3id='impl-PartialEq%3Cstr%3E'class='impl'><spanclass='in-band'><tableclass='table-display'><tbody><tr><td><code>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html"title="trait core::cmp::PartialEq">PartialEq</a><<aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>> for <aclass="struct"href="../../../actix_web/http/header/struct.HeaderName.html"title="struct actix_web::http::header::HeaderName">HeaderName</a></code><ahref='#impl-PartialEq%3Cstr%3E'class='anchor'></a></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><aclass='srclink'href='https://docs.rs/http/0.1.8/src/http/header/name.rs.html#1800-1817'title='goto source code'>[src]</a></span></td></tr></tbody></table></h3><divclass='impl-items'><h4id='method.eq-5'class="method"><spanid='eq.v-5'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq'class='fnname'>eq</a>(&self, other: &<aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><aclass='srclink'href='https://docs.rs/http/0.1.8/src/http/header/name.rs.html#1814-1816'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>Performs a case-insensitive comparison of the string against the header
</div>fn <ahref='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#method.ne'class='fnname'>ne</a>(&self, other: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>Rhs) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><divclass='since'title='Stable since Rust version 1.0.0'>1.0.0</div><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#126'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>This method tests for <code>!=</code>.</p>
</div></div><h3id='impl-PartialEq%3C%26%27a%20str%3E'class='impl'><spanclass='in-band'><tableclass='table-display'><tbody><tr><td><code>impl<'a><aclass="trait"href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html"title="trait core::cmp::PartialEq">PartialEq</a><&'a <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>> for <aclass="struct"href="../../../actix_web/http/header/struct.HeaderName.html"title="struct actix_web::http::header::HeaderName">HeaderName</a></code><ahref='#impl-PartialEq%3C%26%27a%20str%3E'class='anchor'></a></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><aclass='srclink'href='https://docs.rs/http/0.1.8/src/http/header/name.rs.html#1839-1846'title='goto source code'>[src]</a></span></td></tr></tbody></table></h3><divclass='impl-items'><h4id='method.eq-6'class="method"><spanid='eq.v-6'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq'class='fnname'>eq</a>(&self, other: &&'a <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><aclass='srclink'href='https://docs.rs/http/0.1.8/src/http/header/name.rs.html#1843-1845'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>Performs a case-insensitive comparison of the string against the header
</div>fn <ahref='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#method.ne'class='fnname'>ne</a>(&self, other: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>Rhs) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><divclass='since'title='Stable since Rust version 1.0.0'>1.0.0</div><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#126'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>This method tests for <code>!=</code>.</p>
</div></div><h3id='impl-Hash'class='impl'><spanclass='in-band'><tableclass='table-display'><tbody><tr><td><code>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html"title="trait core::hash::Hash">Hash</a> for <aclass="struct"href="../../../actix_web/http/header/struct.HeaderName.html"title="struct actix_web::http::header::HeaderName">HeaderName</a></code><ahref='#impl-Hash'class='anchor'></a></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><aclass='srclink'href='https://docs.rs/http/0.1.8/src/http/header/name.rs.html#31'title='goto source code'>[src]</a></span></td></tr></tbody></table></h3><divclass='impl-items'><h4id='method.hash'class="method"><spanid='hash.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#tymethod.hash'class='fnname'>hash</a><__H>(&self, state: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>__H) <spanclass="where fmt-newline">where<br> __H: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/hash/trait.Hasher.html"title="trait core::hash::Hasher">Hasher</a>, </span></code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><aclass='srclink'href='https://docs.rs/http/0.1.8/src/http/header/name.rs.html#31'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>Feeds this value into the given [<code>Hasher</code>]. <ahref="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#tymethod.hash">Read more</a></p>
</div><h4id='method.hash_slice'class="method"><spanid='hash_slice.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#method.hash_slice'class='fnname'>hash_slice</a><H>(data: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">&[Self]</a>, state: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>H) <spanclass="where fmt-newline">where<br> H: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/hash/trait.Hasher.html"title="trait core::hash::Hasher">Hasher</a>, </span></code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><divclass='since'title='Stable since Rust version 1.3.0'>1.3.0</div><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/hash/mod.rs.html#203-209'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>Feeds a slice of this type into the given [<code>Hasher</code>]. <ahref="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#method.hash_slice">Read more</a></p>
<divclass='docblock'><p>The associated error which can be returned from parsing.</p>
</div><h4id='method.from_str'class="method"><spanid='from_str.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://doc.rust-lang.org/nightly/core/str/trait.FromStr.html#tymethod.from_str'class='fnname'>from_str</a>(s: &<aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html"title="enum core::result::Result">Result</a><<aclass="struct"href="../../../actix_web/http/header/struct.HeaderName.html"title="struct actix_web::http::header::HeaderName">HeaderName</a>, <aclass="struct"href="../../../actix_web/http/header/struct.InvalidHeaderName.html"title="struct actix_web::http::header::InvalidHeaderName">InvalidHeaderName</a>></code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><aclass='srclink'href='https://docs.rs/http/0.1.8/src/http/header/name.rs.html#1675-1680'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>Parses a string <code>s</code> to return a value of this type. <ahref="https://doc.rust-lang.org/nightly/core/str/trait.FromStr.html#tymethod.from_str">Read more</a></p>
</div></div><h3id='impl-Borrow%3Cstr%3E'class='impl'><spanclass='in-band'><tableclass='table-display'><tbody><tr><td><code>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html"title="trait core::borrow::Borrow">Borrow</a><<aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>> for <aclass="struct"href="../../../actix_web/http/header/struct.HeaderName.html"title="struct actix_web::http::header::HeaderName">HeaderName</a></code><ahref='#impl-Borrow%3Cstr%3E'class='anchor'></a></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><aclass='srclink'href='https://docs.rs/http/0.1.8/src/http/header/name.rs.html#1695-1699'title='goto source code'>[src]</a></span></td></tr></tbody></table></h3><divclass='impl-items'><h4id='method.borrow'class="method"><spanid='borrow.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html#tymethod.borrow'class='fnname'>borrow</a>(&self) ->&<aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a></code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><aclass='srclink'href='https://docs.rs/http/0.1.8/src/http/header/name.rs.html#1696-1698'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>Immutably borrows from an owned value. <ahref="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html#tymethod.borrow">Read more</a></p>
</div></div><h3id='impl-From%3CHeaderName%3E'class='impl'><spanclass='in-band'><tableclass='table-display'><tbody><tr><td><code>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html"title="trait core::convert::From">From</a><<aclass="struct"href="../../../actix_web/http/header/struct.HeaderName.html"title="struct actix_web::http::header::HeaderName">HeaderName</a>> for <aclass="struct"href="https://docs.rs/bytes/0.4.9/bytes/bytes/struct.Bytes.html"title="struct bytes::bytes::Bytes">Bytes</a></code><ahref='#impl-From%3CHeaderName%3E'class='anchor'></a></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><aclass='srclink'href='https://docs.rs/http/0.1.8/src/http/header/name.rs.html#1738-1743'title='goto source code'>[src]</a></span></td></tr></tbody></table></h3><divclass='impl-items'><h4id='method.from'class="method"><spanid='from.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from'class='fnname'>from</a>(name: <aclass="struct"href="../../../actix_web/http/header/struct.HeaderName.html"title="struct actix_web::http::header::HeaderName">HeaderName</a>) -><aclass="struct"href="https://docs.rs/bytes/0.4.9/bytes/bytes/struct.Bytes.html"title="struct bytes::bytes::Bytes">Bytes</a></code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><aclass='srclink'href='https://docs.rs/http/0.1.8/src/http/header/name.rs.html#1740-1742'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>Performs the conversion.</p>
</div></div><h3id='impl-From%3CHeaderName%3E-1'class='impl'><spanclass='in-band'><tableclass='table-display'><tbody><tr><td><code>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html"title="trait core::convert::From">From</a><<aclass="struct"href="../../../actix_web/http/header/struct.HeaderName.html"title="struct actix_web::http::header::HeaderName">HeaderName</a>> for <aclass="struct"href="../../../actix_web/http/header/struct.HeaderValue.html"title="struct actix_web::http::header::HeaderValue">HeaderValue</a></code><ahref='#impl-From%3CHeaderName%3E-1'class='anchor'></a></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><aclass='srclink'href='https://docs.rs/http/0.1.8/src/http/header/value.rs.html#353-361'title='goto source code'>[src]</a></span></td></tr></tbody></table></h3><divclass='impl-items'><h4id='method.from-1'class="method"><spanid='from.v-1'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from'class='fnname'>from</a>(h: <aclass="struct"href="../../../actix_web/http/header/struct.HeaderName.html"title="struct actix_web::http::header::HeaderName">HeaderName</a>) -><aclass="struct"href="../../../actix_web/http/header/struct.HeaderValue.html"title="struct actix_web::http::header::HeaderValue">HeaderValue</a></code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><aclass='srclink'href='https://docs.rs/http/0.1.8/src/http/header/value.rs.html#355-360'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>Performs the conversion.</p>
</div></div><h3id='impl-From%3C%26%27a%20HeaderName%3E'class='impl'><spanclass='in-band'><tableclass='table-display'><tbody><tr><td><code>impl<'a><aclass="trait"href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html"title="trait core::convert::From">From</a><&'a <aclass="struct"href="../../../actix_web/http/header/struct.HeaderName.html"title="struct actix_web::http::header::HeaderName">HeaderName</a>> for <aclass="struct"href="../../../actix_web/http/header/struct.HeaderName.html"title="struct actix_web::http::header::HeaderName">HeaderName</a></code><ahref='#impl-From%3C%26%27a%20HeaderName%3E'class='anchor'></a></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><aclass='srclink'href='https://docs.rs/http/0.1.8/src/http/header/name.rs.html#1713-1717'title='goto source code'>[src]</a></span></td></tr></tbody></table></h3><divclass='impl-items'><h4id='method.from-2'class="method"><spanid='from.v-2'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from'class='fnname'>from</a>(src: &'a <aclass="struct"href="../../../actix_web/http/header/struct.HeaderName.html"title="struct actix_web::http::header::HeaderName">HeaderName</a>) -><aclass="struct"href="../../../actix_web/http/header/struct.HeaderName.html"title="struct actix_web::http::header::HeaderName">HeaderName</a></code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><aclass='srclink'href='https://docs.rs/http/0.1.8/src/http/header/name.rs.html#1714-1716'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>Performs the conversion.</p>
</div></div><h3id='impl-AsRef%3C%5Bu8%5D%3E'class='impl'><spanclass='in-band'><tableclass='table-display'><tbody><tr><td><code>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html"title="trait core::convert::AsRef">AsRef</a><<aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">[</a><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">]</a>> for <aclass="struct"href="../../../actix_web/http/header/struct.HeaderName.html"title="struct actix_web::http::header::HeaderName">HeaderName</a></code><ahref='#impl-AsRef%3C%5Bu8%5D%3E'class='anchor'></a></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><aclass='srclink'href='https://docs.rs/http/0.1.8/src/http/header/name.rs.html#1689-1693'title='goto source code'>[src]</a></span></td></tr></tbody></table></h3><divclass='impl-items'><h4id='method.as_ref'class="method"><divclass="important-traits"><divclass='tooltip'>ⓘ<spanclass='tooltiptext'>Important traits for <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">&'a [</a><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">]</a></span></div><divclass="content hidden"><h3class="important">Important traits for <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">&'a [</a><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">]</a></h3><codeclass="content"><spanclass="where fmt-newline">impl<'a><aclass="trait"href="https://doc.rust-lang.org/nightly/std/io/trait.Read.html"title="trait std::io::Read">Read</a> for <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">&'a [</a><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">]</a></span><spanclass="where fmt-newline">impl<'a><aclass="trait"href="https://doc.rust-lang.org/nightly/std/io/trait.Write.html"title="trait std::io::Write">Write</a> for <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">&'a mut [</a><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">]</a></span></code></div></div><spanid='as_ref.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html#tymethod.as_ref'class='fnname'>as_ref</a>(&self) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">&[</a><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">]</a></code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><aclass='srclink'href='https://docs.rs/http/0.1.8/src/http/header/name.rs.html#1690-1692'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>Performs the conversion.</p>
</div></div><h3id='impl-AsRef%3Cstr%3E'class='impl'><spanclass='in-band'><tableclass='table-display'><tbody><tr><td><code>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html"title="trait core::convert::AsRef">AsRef</a><<aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>> for <aclass="struct"href="../../../actix_web/http/header/struct.HeaderName.html"title="struct actix_web::http::header::HeaderName">HeaderName</a></code><ahref='#impl-AsRef%3Cstr%3E'class='anchor'></a></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><aclass='srclink'href='https://docs.rs/http/0.1.8/src/http/header/name.rs.html#1683-1687'title='goto source code'>[src]</a></span></td></tr></tbody></table></h3><divclass='impl-items'><h4id='method.as_ref-1'class="method"><spanid='as_ref.v-1'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html#tymethod.as_ref'class='fnname'>as_ref</a>(&self) ->&<aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a></code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><aclass='srclink'href='https://docs.rs/http/0.1.8/src/http/header/name.rs.html#1684-1686'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>Performs the conversion.</p>
</div></div><h3id='impl-IntoHeaderName'class='impl'><spanclass='in-band'><tableclass='table-display'><tbody><tr><td><code>impl<'a><aclass="trait"href="../../../actix_web/http/header/trait.IntoHeaderName.html"title="trait actix_web::http::header::IntoHeaderName">IntoHeaderName</a> for &'a <aclass="struct"href="../../../actix_web/http/header/struct.HeaderName.html"title="struct actix_web::http::header::HeaderName">HeaderName</a></code><ahref='#impl-IntoHeaderName'class='anchor'></a></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><aclass='srclink'href='https://docs.rs/http/0.1.8/src/http/header/map.rs.html#3131'title='goto source code'>[src]</a></span></td></tr></tbody></table></h3><divclass='impl-items'></div><h3id='impl-IntoHeaderName-1'class='impl'><spanclass='in-band'><tableclass='table-display'><tbody><tr><td><code>impl <aclass="trait"href="../../../actix_web/http/header/trait.IntoHeaderName.html"title="trait actix_web::http::header::IntoHeaderName">IntoHeaderName</a> for <aclass="struct"href="../../../actix_web/http/header/struct.HeaderName.html"title="struct actix_web::http::header::HeaderName">HeaderName</a></code><ahref='#impl-IntoHeaderName-1'class='anchor'></a></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><aclass='srclink'href='https://docs.rs/http/0.1.8/src/http/header/map.rs.html#3116'title='goto source code'>[src]</a></span></td></tr></tbody></table></h3><divclass='impl-items'></div><h3id='impl-Clone'class='impl'><spanclass='in-band'><tableclass='table-display'><tbody><tr><td><code>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html"title="trait core::clone::Clone">Clone</a> for <aclass="struct"href="../../../actix_web/http/header/struct.HeaderName.html"title="struct actix_web::http::header::HeaderName">HeaderName</a></code><ahref='#impl-Clone'class='anchor'></a></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><aclass='srclink'href='https://docs.rs/http/0.1.8/src/http/header/name.rs.html#31'title='goto source code'>[src]</a></span></td></tr></tbody></table></h3><divclass='impl-items'><h4id='method.clone'class="method"><spanid='clone.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone'class='fnname'>clone</a>(&self) -><aclass="struct"href="../../../actix_web/http/header/struct.HeaderName.html"title="struct actix_web::http::header::HeaderName">HeaderName</a></code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><aclass='srclink'href='https://docs.rs/http/0.1.8/src/http/header/name.rs.html#31'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>Returns a copy of the value. <ahref="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone">Read more</a></p>
</div><h4id='method.clone_from'class="method"><spanid='clone_from.v'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from'class='fnname'>clone_from</a>(&mut self, source: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>Self)</code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><divclass='since'title='Stable since Rust version 1.0.0'>1.0.0</div><aclass='srclink'href='https://doc.rust-lang.org/nightly/src/core/clone.rs.html#130-132'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>Performs copy-assignment from <code>source</code>. <ahref="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from">Read more</a></p>
Auto Trait Implementations<ahref='#synthetic-implementations'class='anchor'></a>
</h2>
<divid='synthetic-implementations-list'>
<h3id='impl-Send'class='impl'><spanclass='in-band'><tableclass='table-display'><tbody><tr><td><code>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html"title="trait core::marker::Send">Send</a> for <aclass="struct"href="../../../actix_web/http/header/struct.HeaderName.html"title="struct actix_web::http::header::HeaderName">HeaderName</a></code><ahref='#impl-Send'class='anchor'></a></span></td><td><spanclass='out-of-band'></span></td></tr></tbody></table></h3><divclass='impl-items'></div><h3id='impl-Sync'class='impl'><spanclass='in-band'><tableclass='table-display'><tbody><tr><td><code>impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html"title="trait core::marker::Sync">Sync</a> for <aclass="struct"href="../../../actix_web/http/header/struct.HeaderName.html"title="struct actix_web::http::header::HeaderName">HeaderName</a></code><ahref='#impl-Sync'class='anchor'></a></span></td><td><spanclass='out-of-band'></span></td></tr></tbody></table></h3><divclass='impl-items'></div></div></section><sectionid="search"class="content hidden"></section><sectionclass="footer"></section><asideid="help"class="hidden"><div><h1class="hidden">Help</h1><divclass="shortcuts"><h2>Keyboard Shortcuts</h2><dl><dt><kbd>?</kbd></dt><dd>Show this help dialog</dd><dt><kbd>S</kbd></dt><dd>Focus the search field</dd><dt><kbd>↑</kbd></dt><dd>Move up in search results</dd><dt><kbd>↓</kbd></dt><dd>Move down in search results</dd><dt><kbd>↹</kbd></dt><dd>Switch tab</dd><dt><kbd>⏎</kbd></dt><dd>Go to active search result</dd><dt><kbd>+</kbd></dt><dd>Expand all sections</dd><dt><kbd>-</kbd></dt><dd>Collapse all sections</dd></dl></div><divclass="infos"><h2>Search Tricks</h2><p>Prefix searches with a type followed by a colon (e.g. <code>fn:</code>) to restrict the search to a given type.</p><p>Accepted types are: <code>fn</code>, <code>mod</code>, <code>struct</code>, <code>enum</code>, <code>trait</code>, <code>type</code>, <code>macro</code>, and <code>const</code>.</p><p>Search functions by type signature (e.g. <code>vec -> usize</code> or <code>* -> vec</code>)</p><p>Search multiple things at once by splitting your query with comma (e.g. <code>str,u8</code> or <code>String,struct:Vec,test</code>)</p></div></div></aside><script>window.rootPath="../../../";window.currentCrate="actix_web";</script><scriptsrc="../../../aliases.js"></script><scriptsrc="../../../main.js"></script><scriptdefersrc="../../../search-index.js"></script></body></html>