Files
mercator_service/actix_web/http/header/trait.IntoHeaderValue.html

11 lines
62 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `IntoHeaderValue` trait in crate `actix_web`."><meta name="keywords" content="rust, rustlang, rust-lang, IntoHeaderValue"><title>actix_web::http::header::IntoHeaderValue - Rust</title><link rel="stylesheet" type="text/css" href="../../../normalize.css"><link rel="stylesheet" type="text/css" href="../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../../dark.css"><link rel="stylesheet" type="text/css" href="../../../light.css" id="themeStyle"><script src="../../../storage.js"></script><noscript><link rel="stylesheet" href="../../../noscript.css"></noscript><link rel="shortcut icon" href="../../../favicon.ico"><style type="text/css">#crate-search{background-image:url("../../../down-arrow.svg");}</style></head><body class="rustdoc trait"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">&#9776;</div><a href='../../../actix_web/index.html'><div class='logo-container'><img src='../../../rust-logo.png' alt='logo'></div></a><p class='location'>Trait IntoHeaderValue</p><div class="sidebar-elems"><div class="block items"><a class="sidebar-title" href="#associated-types">Associated Types</a><div class="sidebar-links"><a href="#associatedtype.Error">Error</a></div><a class="sidebar-title" href="#required-methods">Required Methods</a><div class="sidebar-links"><a href="#tymethod.try_into">try_into</a></div><a class="sidebar-title" href="#foreign-impls">Implementations on Foreign Types</a><div class="sidebar-links"><a href="#impl-IntoHeaderValue-for-%26%27a%20%5Bu8%5D">&amp;&#39;a [u8]</a><a href="#impl-IntoHeaderValue-for-%26%27a%20str">&amp;&#39;a str</a><a href="#impl-IntoHeaderValue-for-Mime">Mime</a><a href="#impl-IntoHeaderValue-for-String">String</a><a href="#impl-IntoHeaderValue-for-Vec%3Cu8%3E">Vec&lt;u8&gt;</a><a href="#impl-IntoHeaderValue-for-u64">u64</a><a href="#impl-IntoHeaderValue-for-usize">usize</a></div><a class="sidebar-title" href="#implementors">Implementors</a></div><p class='location'><a href='../../index.html'>actix_web</a>::<wbr><a href='../index.html'>http</a>::<wbr><a href='index.html'>header</a></p><script>window.sidebarCurrent = {name: 'IntoHeaderValue', ty: 'trait', relpath: ''};</script><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!"><img src="../../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices"></div></div><script src="../../../theme.js"></script><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"></div><a id="settings-menu" href="../../../settings.html"><img src="../../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='out-of-band'><span id='render-detail'><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class='inner'>&#x2212;</span>]</a></span><a class='srclink' href='../../../src/actix_http/header/mod.rs.html#40-46' title='goto source code'>[src]</a></span><span class='in-band'>Trait <a href='../../index.html'>actix_web</a>::<wbr><a href='../index.html'>http</a>::<wbr><a href='index.html'>header</a>::<wbr><a class="trait" href=''>IntoHeaderValue</a></span></h1><div class="docblock type-decl hidden-by-usual-hider"><pre class='rust trait'>pub trait IntoHeaderValue {
type <a href='#associatedtype.Error' class="type">Error</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="../../../actix_web/http/struct.Error.html" title="struct actix_web::http::Error">Error</a>&gt;;
fn <a href='#tymethod.try_into' class='fnname'>try_into</a>(self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../../../actix_web/http/struct.HeaderValue.html" title="struct actix_web::http::HeaderValue">HeaderValue</a>, Self::<a class="type" href="../../../actix_web/http/header/trait.IntoHeaderValue.html#associatedtype.Error" title="type actix_web::http::header::IntoHeaderValue::Error">Error</a>&gt;;
}</pre></div><div class='docblock'><p>A trait for any object that can be Converted to a <code>HeaderValue</code></p>
</div>
<h2 id='associated-types' class='small-section-header'>Associated Types<a href='#associated-types' class='anchor'></a></h2><div class='methods'><h3 id='associatedtype.Error' class='method'><code id='Error.t'>type <a href='#associatedtype.Error' class="type">Error</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="../../../actix_web/http/struct.Error.html" title="struct actix_web::http::Error">Error</a>&gt;</code></h3><div class='docblock'><p>The type returned in the event of a conversion error.</p>
</div></div><span class='loading-content'>Loading content...</span>
<h2 id='required-methods' class='small-section-header'>Required methods<a href='#required-methods' class='anchor'></a></h2><div class='methods'><h3 id='tymethod.try_into' class='method'><code id='try_into.v'>fn <a href='#tymethod.try_into' class='fnname'>try_into</a>(self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../../../actix_web/http/struct.HeaderValue.html" title="struct actix_web::http::HeaderValue">HeaderValue</a>, Self::<a class="type" href="../../../actix_web/http/header/trait.IntoHeaderValue.html#associatedtype.Error" title="type actix_web::http::header::IntoHeaderValue::Error">Error</a>&gt;</code></h3><div class='docblock'><p>Try to convert value to a Header value.</p>
</div></div><span class='loading-content'>Loading content...</span>
<h2 id='foreign-impls' class='small-section-header'>Implementations on Foreign Types<a href='#foreign-impls' class='anchor'></a></h2><h3 id='impl-IntoHeaderValue-for-usize' class='impl'><code class='in-band'>impl <a class="trait" href="../../../actix_web/http/header/trait.IntoHeaderValue.html" title="trait actix_web::http::header::IntoHeaderValue">IntoHeaderValue</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a></code><a href='#impl-IntoHeaderValue-for-usize' class='anchor'></a><a class='srclink' href='../../../src/actix_http/header/mod.rs.html#102-110' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Error-1' class="type"><code id='Error.t-1'>type <a href='#associatedtype.Error' class="type">Error</a> = <a class="struct" href="../../../actix_web/http/header/struct.InvalidHeaderValueBytes.html" title="struct actix_web::http::header::InvalidHeaderValueBytes">InvalidHeaderValueBytes</a></code></h4><h4 id='method.try_into' class="method hidden"><code id='try_into.v-1'>fn <a href='#method.try_into' class='fnname'>try_into</a>(self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../../../actix_web/http/struct.HeaderValue.html" title="struct actix_web::http::HeaderValue">HeaderValue</a>, &lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a> as <a class="trait" href="../../../actix_web/http/header/trait.IntoHeaderValue.html" title="trait actix_web::http::header::IntoHeaderValue">IntoHeaderValue</a>&gt;::<a class="type" href="../../../actix_web/http/header/trait.IntoHeaderValue.html#associatedtype.Error" title="type actix_web::http::header::IntoHeaderValue::Error">Error</a>&gt;</code><a class='srclink' href='../../../src/actix_http/header/mod.rs.html#106-109' title='goto source code'>[src]</a></h4></div><h3 id='impl-IntoHeaderValue-for-%26%27a%20%5Bu8%5D' class='impl'><code class='in-band'>impl&lt;'a&gt; <a class="trait" href="../../../actix_web/http/header/trait.IntoHeaderValue.html" title="trait actix_web::http::header::IntoHeaderValue">IntoHeaderValue</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">&amp;'a [</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">]</a></code><a href='#impl-IntoHeaderValue-for-%26%27a%20%5Bu8%5D' class='anchor'></a><a class='srclink' href='../../../src/actix_http/header/mod.rs.html#66-73' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Error-2' class="type"><code id='Error.t-2'>type <a href='#associatedtype.Error' class="type">Error</a> = <a class="struct" href="../../../actix_web/http/header/struct.InvalidHeaderValue.html" title="struct actix_web::http::header::InvalidHeaderValue">InvalidHeaderValue</a></code></h4><h4 id='method.try_into-1' class="method hidden"><code id='try_into.v-2'>fn <a href='#method.try_into' class='fnname'>try_into</a>(self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../../../actix_web/http/struct.HeaderValue.html" title="struct actix_web::http::HeaderValue">HeaderValue</a>, &lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">&amp;'a [</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">]</a> as <a class="trait" href="../../../actix_web/http/header/trait.IntoHeaderValue.html" title="trait actix_web::http::header::IntoHeaderValue">IntoHeaderValue</a>&gt;::<a class="type" href="../../../actix_web/http/header/trait.IntoHeaderValue.html#associatedtype.Error" title="type actix_web::http::header::IntoHeaderValue::Error">Error</a>&gt;</code><a class='srclink' href='../../../src/actix_http/header/mod.rs.html#70-72' title='goto source code'>[src]</a></h4></div><h3 id='impl-IntoHeaderValue-for-u64' class='impl'><code class='in-band'>impl <a class="trait" href="../../../actix_web/http/header/trait.IntoHeaderValue.html" title="trait actix_web::http::header::IntoHeaderValue">IntoHeaderValue</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a></code><a href='#impl-IntoHeaderValue-for-u64' class='anchor'></a><a class='srclink' href='../../../src/actix_http/header/mod.rs.html#112-120' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Error-3' class="type"><code id='Error.t-3'>type <a href='#associatedtype.Error' class="type">Error</a> = <a class="struct" href="../../../actix_web/http/header/struct.InvalidHeaderValueBytes.html" title="struct actix_web::http::header::InvalidHeaderValueBytes">InvalidHeaderValueBytes</a></code></h4><h4 id='method.try_into-2' class="method hidden"><code id='try_into.v-3'>fn <a href='#method.try_into' class='fnname'>try_into</a>(self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../../../actix_web/http/struct.HeaderValue.html" title="struct actix_web::http::HeaderValue">HeaderValue</a>, &lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a> as <a class="trait" href="../../../actix_web/http/header/trait.IntoHeaderValue.html" title="trait actix_web::http::header::IntoHeaderValue">IntoHeaderValue</a>&gt;::<a class="type" href="../../../actix_web/http/header/trait.IntoHeaderValue.html#associatedtype.Error" title="type actix_web::http::header::IntoHeaderValue::Error">Error</a>&gt;</code><a class='srclink' href='../../../src/actix_http/header/mod.rs.html#116-119' title='goto source code'>[src]</a></h4></div><h3 id='impl-IntoHeaderValue-for-String' class='impl'><code class='in-band'>impl <a class="trait" href="../../../actix_web/http/header/trait.IntoHeaderValue.html" title="trait actix_web::http::header::IntoHeaderValue">IntoHeaderValue</a> for <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a></code><a href='#impl-IntoHeaderValue-for-String' class='anchor'></a><a class='srclink' href='../../../src/actix_http/header/mod.rs.html#93-100' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Error-4' class="type"><code id='Error.t-4'>type <a href='#associatedtype.Error' class="type">Error</a> = <a class="struct" href="../../../actix_web/http/header/struct.InvalidHeaderValueBytes.html" title="struct actix_web::http::header::InvalidHeaderValueBytes">InvalidHeaderValueBytes</a></code></h4><h4 id='method.try_into-3' class="method hidden"><code id='try_into.v-4'>fn <a href='#method.try_into' class='fnname'>try_into</a>(self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../../../actix_web/http/struct.HeaderValue.html" title="struct actix_web::http::HeaderValue">HeaderValue</a>, &lt;<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a> as <a class="trait" href="../../../actix_web/http/header/trait.IntoHeaderValue.html" title="trait actix_web::http::header::IntoHeaderValue">IntoHeaderValue</a>&gt;::<a class="type" href="../../../actix_web/http/header/trait.IntoHeaderValue.html#associatedtype.Error" title="type actix_web::http::header::IntoHeaderValue::Error">Error</a>&gt;</code><a class='srclink' href='../../../src/actix_http/header/mod.rs.html#97-99' title='goto source code'>[src]</a></h4></div><h3 id='impl-IntoHeaderValue-for-Vec%3Cu8%3E' class='impl'><code class='in-band'>impl <a class="trait" href="../../../actix_web/http/header/trait.IntoHeaderValue.html" title="trait actix_web::http::header::IntoHeaderValue">IntoHeaderValue</a> for <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>&gt;</code><a href='#impl-IntoHeaderValue-for-Vec%3Cu8%3E' class='anchor'></a><a class='srclink' href='../../../src/actix_http/header/mod.rs.html#84-91' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Error-5' class="type"><code id='Error.t-5'>type <a href='#associatedtype.Error' class="type">Error</a> = <a class="struct" href="../../../actix_web/http/header/struct.InvalidHeaderValueBytes.html" title="struct actix_web::http::header::InvalidHeaderValueBytes">InvalidHeaderValueBytes</a></code></h4><h4 id='method.try_into-4' class="method hidden"><code id='try_into.v-5'>fn <a href='#method.try_into' class='fnname'>try_into</a>(self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../../../actix_web/http/struct.HeaderValue.html" title="struct actix_web::http::HeaderValue">HeaderValue</a>, &lt;<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>&gt; as <a class="trait" href="../../../actix_web/http/header/trait.IntoHeaderValue.html" title="trait actix_web::http::header::IntoHeaderValue">IntoHeaderValue</a>&gt;::<a class="type" href="../../../actix_web/http/header/trait.IntoHeaderValue.html#associatedtype.Error" title="type actix_web::http::header::IntoHeaderValue::Error">Error</a>&gt;</code><a class='srclink' href='../../../src/actix_http/header/mod.rs.html#88-90' title='goto source code'>[src]</a></h4></div><h3 id='impl-IntoHeaderValue-for-Mime' class='impl'><code class='in-band'>impl <a class="trait" href="../../../actix_web/http/header/trait.IntoHeaderValue.html" title="trait actix_web::http::header::IntoHeaderValue">IntoHeaderValue</a> for <a class="struct" href="../../../mime/struct.Mime.html" title="struct mime::Mime">Mime</a></code><a href='#impl-IntoHeaderValue-for-Mime' class='anchor'></a><a class='srclink' href='../../../src/actix_http/header/mod.rs.html#122-129' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Error-6' class="type"><code id='Error.t-6'>type <a href='#associatedtype.Error' class="type">Error</a> = <a class="struct" href="../../../actix_web/http/header/struct.InvalidHeaderValueBytes.html" title="struct actix_web::http::header::InvalidHeaderValueBytes">InvalidHeaderValueBytes</a></code></h4><h4 id='method.try_into-5' class="method hidden"><code id='try_into.v-6'>fn <a href='#method.try_into' class='fnname'>try_into</a>(self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../../../actix_web/http/struct.HeaderValue.html" title="struct actix_web::http::HeaderValue">HeaderValue</a>, &lt;<a class="struct" href="../../../mime/struct.Mime.html" title="struct mime::Mime">Mime</a> as <a class="trait" href="../../../actix_web/http/header/trait.IntoHeaderValue.html" title="trait actix_web::http::header::IntoHeaderValue">IntoHeaderValue</a>&gt;::<a class="type" href="../../../actix_web/http/header/trait.IntoHeaderValue.html#associatedtype.Error" title="type actix_web::http::header::IntoHeaderValue::Error">Error</a>&gt;</code><a class='srclink' href='../../../src/actix_http/header/mod.rs.html#126-128' title='goto source code'>[src]</a></h4></div><h3 id='impl-IntoHeaderValue-for-%26%27a%20str' class='impl'><code class='in-band'>impl&lt;'a&gt; <a class="trait" href="../../../actix_web/http/header/trait.IntoHeaderValue.html" title="trait actix_web::http::header::IntoHeaderValue">IntoHeaderValue</a> for &amp;'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a></code><a href='#impl-IntoHeaderValue-for-%26%27a%20str' class='anchor'></a><a class='srclink' href='../../../src/actix_http/header/mod.rs.html#57-64' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Error-7' class="type"><code id='Error.t-7'>type <a href='#associatedtype.Error' class="type">Error</a> = <a class="struct" href="../../../actix_web/http/header/struct.InvalidHeaderValue.html" title="struct actix_web::http::header::InvalidHeaderValue">InvalidHeaderValue</a></code></h4><h4 id='method.try_into-6' class="method hidden"><code id='try_into.v-7'>fn <a href='#method.try_into' class='fnname'>try_into</a>(self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../../../actix_web/http/struct.HeaderValue.html" title="struct actix_web::http::HeaderValue">HeaderValue</a>, &lt;&amp;'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a> as <a class="trait" href="../../../actix_web/http/header/trait.IntoHeaderValue.html" title="trait actix_web::http::header::IntoHeaderValue">IntoHeaderValue</a>&gt;::<a class="type" href="../../../actix_web/http/header/trait.IntoHeaderValue.html#associatedtype.Error" title="type actix_web::http::header::IntoHeaderValue::Error">Error</a>&gt;</code><a class='srclink' href='../../../src/actix_http/header/mod.rs.html#61-63' title='goto source code'>[src]</a></h4></div><span class='loading-content'>Loading content...</span>
<h2 id='implementors' class='small-section-header'>Implementors<a href='#implementors' class='anchor'></a></h2><div class='item-list' id='implementors-list'><h3 id='impl-IntoHeaderValue' class='impl'><code class='in-band'>impl IntoHeaderValue for <a class="enum" href="../../../actix_web/http/header/enum.ContentRangeSpec.html" title="enum actix_web::http::header::ContentRangeSpec">ContentRangeSpec</a></code><a href='#impl-IntoHeaderValue' class='anchor'></a><a class='srclink' href='../../../src/actix_http/header/common/content_range.rs.html#200-208' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Error-8' class="type"><code id='Error.t-8'>type <a href='#associatedtype.Error-8' class="type">Error</a> = <a class="struct" href="../../../actix_web/http/header/struct.InvalidHeaderValueBytes.html" title="struct actix_web::http::header::InvalidHeaderValueBytes">InvalidHeaderValueBytes</a></code></h4><h4 id='method.try_into-7' class="method hidden"><code id='try_into.v-8'>fn <a href='#method.try_into-7' class='fnname'>try_into</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;self<br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../../../actix_web/http/struct.HeaderValue.html" title="struct actix_web::http::HeaderValue">HeaderValue</a>, &lt;<a class="enum" href="../../../actix_web/http/header/enum.ContentRangeSpec.html" title="enum actix_web::http::header::ContentRangeSpec">ContentRangeSpec</a> as <a class="trait" href="../../../actix_web/http/header/trait.IntoHeaderValue.html" title="trait actix_web::http::header::IntoHeaderValue">IntoHeaderValue</a>&gt;::<a class="type" href="../../../actix_web/http/header/trait.IntoHeaderValue.html#associatedtype.Error" title="type actix_web::http::header::IntoHeaderValue::Error">Error</a>&gt;</code><a class='srclink' href='../../../src/actix_http/header/common/content_range.rs.html#203-207' title='goto source code'>[src]</a></h4></div><h3 id='impl-IntoHeaderValue-1' class='impl'><code class='in-band'>impl IntoHeaderValue for <a class="enum" href="../../../actix_web/http/header/enum.IfMatch.html" title="enum actix_web::http::header::IfMatch">IfMatch</a></code><a href='#impl-IntoHeaderValue-1' class='anchor'></a><a class='srclink' href='../../../src/actix_http/header/common/mod.rs.html#287-296' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Error-9' class="type"><code id='Error.t-9'>type <a href='#associatedtype.Error-9' class="type">Error</a> = <a class="struct" href="../../../actix_web/http/header/struct.InvalidHeaderValueBytes.html" title="struct actix_web::http::header::InvalidHeaderValueBytes">InvalidHeaderValueBytes</a></code></h4><h4 id='method.try_into-8' class="method hidden"><code id='try_into.v-9'>fn <a href='#method.try_into-8' class='fnname'>try_into</a>(self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../../../actix_web/http/struct.HeaderValue.html" title="struct actix_web::http::HeaderValue">HeaderValue</a>, &lt;<a class="enum" href="../../../actix_web/http/header/enum.IfMatch.html" title="enum actix_web::http::header::IfMatch">IfMatch</a> as <a class="trait" href="../../../actix_web/http/header/trait.IntoHeaderValue.html" title="trait actix_web::http::header::IntoHeaderValue">IntoHeaderValue</a>&gt;::<a class="type" href="../../../actix_web/http/header/trait.IntoHeaderValue.html#associatedtype.Error" title="type actix_web::http::header::IntoHeaderValue::Error">Error</a>&gt;</code><a class='srclink' href='../../../src/actix_http/header/common/mod.rs.html#290-295' title='goto source code'>[src]</a></h4></div><h3 id='impl-IntoHeaderValue-2' class='impl'><code class='in-band'>impl IntoHeaderValue for <a class="enum" href="../../../actix_web/http/header/enum.IfNoneMatch.html" title="enum actix_web::http::header::IfNoneMatch">IfNoneMatch</a></code><a href='#impl-IntoHeaderValue-2' class='anchor'></a><a class='srclink' href='../../../src/actix_http/header/common/mod.rs.html#287-296' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Error-10' class="type"><code id='Error.t-10'>type <a href='#associatedtype.Error-10' class="type">Error</a> = <a class="struct" href="../../../actix_web/http/header/struct.InvalidHeaderValueBytes.html" title="struct actix_web::http::header::InvalidHeaderValueBytes">InvalidHeaderValueBytes</a></code></h4><h4 id='method.try_into-9' class="method hidden"><code id='try_into.v-10'>fn <a href='#method.try_into-9' class='fnname'>try_into</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;self<br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../../../actix_web/http/struct.HeaderValue.html" title="struct actix_web::http::HeaderValue">HeaderValue</a>, &lt;<a class="enum" href="../../../actix_web/http/header/enum.IfNoneMatch.html" title="enum actix_web::http::header::IfNoneMatch">IfNoneMatch</a> as <a class="trait" href="../../../actix_web/http/header/trait.IntoHeaderValue.html" title="trait actix_web::http::header::IntoHeaderValue">IntoHeaderValue</a>&gt;::<a class="type" href="../../../actix_web/http/header/trait.IntoHeaderValue.html#associatedtype.Error" title="type actix_web::http::header::IntoHeaderValue::Error">Error</a>&gt;</code><a class='srclink' href='../../../src/actix_http/header/common/mod.rs.html#290-295' title='goto source code'>[src]</a></h4></div><h3 id='impl-IntoHeaderValue-3' class='impl'><code class='in-band'>impl IntoHeaderValue for <a class="enum" href="../../../actix_web/http/header/enum.IfRange.html" title="enum actix_web::http::header::IfRange">IfRange</a></code><a href='#impl-IntoHeaderValue-3' class='anchor'></a><a class='srclink' href='../../../src/actix_http/header/common/if_range.rs.html#98-106' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Error-11' class="type"><code id='Error.t-11'>type <a href='#associatedtype.Error-11' class="type">Error</a> = <a class="struct" href="../../../actix_web/http/header/struct.InvalidHeaderValueBytes.html" title="struct actix_web::http::header::InvalidHeaderValueBytes">InvalidHeaderValueBytes</a></code></h4><h4 id='method.try_into-10' class="method hidden"><code id='try_into.v-11'>fn <a href='#method.try_into-10' class='fnname'>try_into</a>(self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../../../actix_web/http/struct.HeaderValue.html" title="struct actix_web::http::HeaderValue">HeaderValue</a>, &lt;<a class="enum" href="../../../actix_web/http/header/enum.IfRange.html" title="enum actix_web::http::header::IfRange">IfRange</a> as <a class="trait" href="../../../actix_web/http/header/trait.IntoHeaderValue.html" title="trait actix_web::http::header::IntoHeaderValue">IntoHeaderValue</a>&gt;::<a class="type" href="../../../actix_web/http/header/trait.IntoHeaderValue.html#associatedtype.Error" title="type actix_web::http::header::IntoHeaderValue::Error">Error</a>&gt;</code><a class='srclink' href='../../../src/actix_http/header/common/if_range.rs.html#101-105' title='goto source code'>[src]</a></h4></div><h3 id='impl-IntoHeaderValue-4' class='impl'><code class='in-band'>impl IntoHeaderValue for <a class="struct" href="../../../actix_web/http/header/struct.Accept.html" title="struct actix_web::http::header::Accept">Accept</a></code><a href='#impl-IntoHeaderValue-4' class='anchor'></a><a class='srclink' href='../../../src/actix_http/header/common/mod.rs.html#202-211' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Error-12' class="type"><code id='Error.t-12'>type <a href='#associatedtype.Error-12' class="type">Error</a> = <a class="struct" href="../../../actix_web/http/header/struct.InvalidHeaderValueBytes.html" title="struct actix_web::http::header::InvalidHeaderValueBytes">InvalidHeaderValueBytes</a></code></h4><h4 id='method.try_into-11' class="method hidden"><code id='try_into.v-12'>fn <a href='#method.try_into-11' class='fnname'>try_into</a>(self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../../../actix_web/http/struct.HeaderValue.html" title="struct actix_web::http::HeaderValue">HeaderValue</a>, &lt;<a class="struct" href="../../../actix_web/http/header/struct.Accept.html" title="struct actix_web::http::header::Accept">Accept</a> as <a class="trait" href="../../../actix_web/http/header/trait.IntoHeaderValue.html" title="trait actix_web::http::header::IntoHeaderValue">IntoHeaderValue</a>&gt;::<a class="type" href="../../../actix_web/http/header/trait.IntoHeaderValue.html#associatedtype.Error" title="type actix_web::http::header::IntoHeaderValue::Error">Error</a>&gt;</code><a class='srclink' href='../../../src/actix_http/header/common/mod.rs.html#205-210' title='goto source code'>[src]</a></h4></div><h3 id='impl-IntoHeaderValue-5' class='impl'><code class='in-band'>impl IntoHeaderValue for <a class="struct" href="../../../actix_web/http/header/struct.AcceptCharset.html" title="struct actix_web::http::header::AcceptCharset">AcceptCharset</a></code><a href='#impl-IntoHeaderValue-5' class='anchor'></a><a class='srclink' href='../../../src/actix_http/header/common/mod.rs.html#202-211' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Error-13' class="type"><code id='Error.t-13'>type <a href='#associatedtype.Error-13' class="type">Error</a> = <a class="struct" href="../../../actix_web/http/header/struct.InvalidHeaderValueBytes.html" title="struct actix_web::http::header::InvalidHeaderValueBytes">InvalidHeaderValueBytes</a></code></h4><h4 id='method.try_into-12' class="method hidden"><code id='try_into.v-13'>fn <a href='#method.try_into-12' class='fnname'>try_into</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;self<br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../../../actix_web/http/struct.HeaderValue.html" title="struct actix_web::http::HeaderValue">HeaderValue</a>, &lt;<a class="struct" href="../../../actix_web/http/header/struct.AcceptCharset.html" title="struct actix_web::http::header::AcceptCharset">AcceptCharset</a> as <a class="trait" href="../../../actix_web/http/header/trait.IntoHeaderValue.html" title="trait actix_web::http::header::IntoHeaderValue">IntoHeaderValue</a>&gt;::<a class="type" href="../../../actix_web/http/header/trait.IntoHeaderValue.html#associatedtype.Error" title="type actix_web::http::header::IntoHeaderValue::Error">Error</a>&gt;</code><a class='srclink' href='../../../src/actix_http/header/common/mod.rs.html#205-210' title='goto source code'>[src]</a></h4></div><h3 id='impl-IntoHeaderValue-6' class='impl'><code class='in-band'>impl IntoHeaderValue for <a class="struct" href="../../../actix_web/http/header/struct.AcceptLanguage.html" title="struct actix_web::http::header::AcceptLanguage">AcceptLanguage</a></code><a href='#impl-IntoHeaderValue-6' class='anchor'></a><a class='srclink' href='../../../src/actix_http/header/common/mod.rs.html#202-211' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Error-14' class="type"><code id='Error.t-14'>type <a href='#associatedtype.Error-14' class="type">Error</a> = <a class="struct" href="../../../actix_web/http/header/struct.InvalidHeaderValueBytes.html" title="struct actix_web::http::header::InvalidHeaderValueBytes">InvalidHeaderValueBytes</a></code></h4><h4 id='method.try_into-13' class="method hidden"><code id='try_into.v-14'>fn <a href='#method.try_into-13' class='fnname'>try_into</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;self<br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../../../actix_web/http/struct.HeaderValue.html" title="struct actix_web::http::HeaderValue">HeaderValue</a>, &lt;<a class="struct" href="../../../actix_web/http/header/struct.AcceptLanguage.html" title="struct actix_web::http::header::AcceptLanguage">AcceptLanguage</a> as <a class="trait" href="../../../actix_web/http/header/trait.IntoHeaderValue.html" title="trait actix_web::http::header::IntoHeaderValue">IntoHeaderValue</a>&gt;::<a class="type" href="../../../actix_web/http/header/trait.IntoHeaderValue.html#associatedtype.Error" title="type actix_web::http::header::IntoHeaderValue::Error">Error</a>&gt;</code><a class='srclink' href='../../../src/actix_http/header/common/mod.rs.html#205-210' title='goto source code'>[src]</a></h4></div><h3 id='impl-IntoHeaderValue-7' class='impl'><code class='in-band'>impl IntoHeaderValue for <a class="struct" href="../../../actix_web/http/header/struct.Allow.html" title="struct actix_web::http::header::Allow">Allow</a></code><a href='#impl-IntoHeaderValue-7' class='anchor'></a><a class='srclink' href='../../../src/actix_http/header/common/mod.rs.html#166-175' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Error-15' class="type"><code id='Error.t-15'>type <a href='#associatedtype.Error-15' class="type">Error</a> = <a class="struct" href="../../../actix_web/http/header/struct.InvalidHeaderValueBytes.html" title="struct actix_web::http::header::InvalidHeaderValueBytes">InvalidHeaderValueBytes</a></code></h4><h4 id='method.try_into-14' class="method hidden"><code id='try_into.v-15'>fn <a href='#method.try_into-14' class='fnname'>try_into</a>(self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../../../actix_web/http/struct.HeaderValue.html" title="struct actix_web::http::HeaderValue">HeaderValue</a>, &lt;<a class="struct" href="../../../actix_web/http/header/struct.Allow.html" title="struct actix_web::http::header::Allow">Allow</a> as <a class="trait" href="../../../actix_web/http/header/trait.IntoHeaderValue.html" title="trait actix_web::http::header::IntoHeaderValue">IntoHeaderValue</a>&gt;::<a class="type" href="../../../actix_web/http/header/trait.IntoHeaderValue.html#associatedtype.Error" title="type actix_web::http::header::IntoHeaderValue::Error">Error</a>&gt;</code><a class='srclink' href='../../../src/actix_http/header/common/mod.rs.html#169-174' title='goto source code'>[src]</a></h4></div><h3 id='impl-IntoHeaderValue-8' class='impl'><code class='in-band'>impl IntoHeaderValue for <a class="struct" href="../../../actix_web/http/header/struct.CacheControl.html" title="struct actix_web::http::header::CacheControl">CacheControl</a></code><a href='#impl-IntoHeaderValue-8' class='anchor'></a><a class='srclink' href='../../../src/actix_http/header/common/cache_control.rs.html#82-90' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Error-16' class="type"><code id='Error.t-16'>type <a href='#associatedtype.Error-16' class="type">Error</a> = <a class="struct" href="../../../actix_web/http/header/struct.InvalidHeaderValueBytes.html" title="struct actix_web::http::header::InvalidHeaderValueBytes">InvalidHeaderValueBytes</a></code></h4><h4 id='method.try_into-15' class="method hidden"><code id='try_into.v-16'>fn <a href='#method.try_into-15' class='fnname'>try_into</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;self<br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../../../actix_web/http/struct.HeaderValue.html" title="struct actix_web::http::HeaderValue">HeaderValue</a>, &lt;<a class="struct" href="../../../actix_web/http/header/struct.CacheControl.html" title="struct actix_web::http::header::CacheControl">CacheControl</a> as <a class="trait" href="../../../actix_web/http/header/trait.IntoHeaderValue.html" title="trait actix_web::http::header::IntoHeaderValue">IntoHeaderValue</a>&gt;::<a class="type" href="../../../actix_web/http/header/trait.IntoHeaderValue.html#associatedtype.Error" title="type actix_web::http::header::IntoHeaderValue::Error">Error</a>&gt;</code><a class='srclink' href='../../../src/actix_http/header/common/cache_control.rs.html#85-89' title='goto source code'>[src]</a></h4></div><h3 id='impl-IntoHeaderValue-9' class='impl'><code class='in-band'>impl IntoHeaderValue for <a class="struct" href="../../../actix_web/http/header/struct.ContentDisposition.html" title="struct actix_web::http::header::ContentDisposition">ContentDisposition</a></code><a href='#impl-IntoHeaderValue-9' class='anchor'></a><a class='srclink' href='../../../src/actix_http/header/common/content_disposition.rs.html#464-472' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Error-17' class="type"><code id='Error.t-17'>type <a href='#associatedtype.Error-17' class="type">Error</a> = <a class="struct" href="../../../actix_web/http/header/struct.InvalidHeaderValueBytes.html" title="struct actix_web::http::header::InvalidHeaderValueBytes">InvalidHeaderValueBytes</a></code></h4><h4 id='method.try_into-16' class="method hidden"><code id='try_into.v-17'>fn <a href='#method.try_into-16' class='fnname'>try_into</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;self<br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../../../actix_web/http/struct.HeaderValue.html" title="struct actix_web::http::HeaderValue">HeaderValue</a>, &lt;<a class="struct" href="../../../actix_web/http/header/struct.ContentDisposition.html" title="struct actix_web::http::header::ContentDisposition">ContentDisposition</a> as <a class="trait" href="../../../actix_web/http/header/trait.IntoHeaderValue.html" title="trait actix_web::http::header::IntoHeaderValue">IntoHeaderValue</a>&gt;::<a class="type" href="../../../actix_web/http/header/trait.IntoHeaderValue.html#associatedtype.Error" title="type actix_web::http::header::IntoHeaderValue::Error">Error</a>&gt;</code><a class='srclink' href='../../../src/actix_http/header/common/content_disposition.rs.html#467-471' title='goto source code'>[src]</a></h4></div><h3 id='impl-IntoHeaderValue-10' class='impl'><code class='in-band'>impl IntoHeaderValue for <a class="struct" href="../../../actix_web/http/header/struct.ContentLanguage.html" title="struct actix_web::http::header::ContentLanguage">ContentLanguage</a></code><a href='#impl-IntoHeaderValue-10' class='anchor'></a><a class='srclink' href='../../../src/actix_http/header/common/mod.rs.html#202-211' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Error-18' class="type"><code id='Error.t-18'>type <a href='#associatedtype.Error-18' class="type">Error</a> = <a class="struct" href="../../../actix_web/http/header/struct.InvalidHeaderValueBytes.html" title="struct actix_web::http::header::InvalidHeaderValueBytes">InvalidHeaderValueBytes</a></code></h4><h4 id='method.try_into-17' class="method hidden"><code id='try_into.v-18'>fn <a href='#method.try_into-17' class='fnname'>try_into</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;self<br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../../../actix_web/http/struct.HeaderValue.html" title="struct actix_web::http::HeaderValue">HeaderValue</a>, &lt;<a class="struct" href="../../../actix_web/http/header/struct.ContentLanguage.html" title="struct actix_web::http::header::ContentLanguage">ContentLanguage</a> as <a class="trait" href="../../../actix_web/http/header/trait.IntoHeaderValue.html" title="trait actix_web::http::header::IntoHeaderValue">IntoHeaderValue</a>&gt;::<a class="type" href="../../../actix_web/http/header/trait.IntoHeaderValue.html#associatedtype.Error" title="type actix_web::http::header::IntoHeaderValue::Error">Error</a>&gt;</code><a class='srclink' href='../../../src/actix_http/header/common/mod.rs.html#205-210' title='goto source code'>[src]</a></h4></div><h3 id='impl-IntoHeaderValue-11' class='impl'><code class='in-band'>impl IntoHeaderValue for <a class="struct" href="../../../actix_web/http/header/struct.ContentRange.html" title="struct actix_web::http::header::ContentRange">ContentRange</a></code><a href='#impl-IntoHeaderValue-11' class='anchor'></a><a class='srclink' href='../../../src/actix_http/header/common/mod.rs.html#238-244' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Error-19' class="type"><code id='Error.t-19'>type <a href='#associatedtype.Error-19' class="type">Error</a> = <a class="struct" href="../../../actix_web/http/header/struct.InvalidHeaderValueBytes.html" title="struct actix_web::http::header::InvalidHeaderValueBytes">InvalidHeaderValueBytes</a></code></h4><h4 id='method.try_into-18' class="method hidden"><code id='try_into.v-19'>fn <a href='#method.try_into-18' class='fnname'>try_into</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;self<br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../../../actix_web/http/struct.HeaderValue.html" title="struct actix_web::http::HeaderValue">HeaderValue</a>, &lt;<a class="struct" href="../../../actix_web/http/header/struct.ContentRange.html" title="struct actix_web::http::header::ContentRange">ContentRange</a> as <a class="trait" href="../../../actix_web/http/header/trait.IntoHeaderValue.html" title="trait actix_web::http::header::IntoHeaderValue">IntoHeaderValue</a>&gt;::<a class="type" href="../../../actix_web/http/header/trait.IntoHeaderValue.html#associatedtype.Error" title="type actix_web::http::header::IntoHeaderValue::Error">Error</a>&gt;</code><a class='srclink' href='../../../src/actix_http/header/common/mod.rs.html#241-243' title='goto source code'>[src]</a></h4></div><h3 id='impl-IntoHeaderValue-12' class='impl'><code class='in-band'>impl IntoHeaderValue for <a class="struct" href="../../../actix_web/http/header/struct.ContentType.html" title="struct actix_web::http::header::ContentType">ContentType</a></code><a href='#impl-IntoHeaderValue-12' class='anchor'></a><a class='srclink' href='../../../src/actix_http/header/common/mod.rs.html#238-244' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Error-20' class="type"><code id='Error.t-20'>type <a href='#associatedtype.Error-20' class="type">Error</a> = <a class="struct" href="../../../actix_web/http/header/struct.InvalidHeaderValueBytes.html" title="struct actix_web::http::header::InvalidHeaderValueBytes">InvalidHeaderValueBytes</a></code></h4><h4 id='method.try_into-19' class="method hidden"><code id='try_into.v-20'>fn <a href='#method.try_into-19' class='fnname'>try_into</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;self<br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../../../actix_web/http/struct.HeaderValue.html" title="struct actix_web::http::HeaderValue">HeaderValue</a>, &lt;<a class="struct" href="../../../actix_web/http/header/struct.ContentType.html" title="struct actix_web::http::header::ContentType">ContentType</a> as <a class="trait" href="../../../actix_web/http/header/trait.IntoHeaderValue.html" title="trait actix_web::http::header::IntoHeaderValue">IntoHeaderValue</a>&gt;::<a class="type" href="../../../actix_web/http/header/trait.IntoHeaderValue.html#associatedtype.Error" title="type actix_web::http::header::IntoHeaderValue::Error">Error</a>&gt;</code><a class='srclink' href='../../../src/actix_http/header/common/mod.rs.html#241-243' title='goto source code'>[src]</a></h4></div><h3 id='impl-IntoHeaderValue-13' class='impl'><code class='in-band'>impl IntoHeaderValue for <a class="struct" href="../../../actix_web/http/header/struct.Date.html" title="struct actix_web::http::header::Date">Date</a></code><a href='#impl-IntoHeaderValue-13' class='anchor'></a><a class='srclink' href='../../../src/actix_http/header/common/mod.rs.html#238-244' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Error-21' class="type"><code id='Error.t-21'>type <a href='#associatedtype.Error-21' class="type">Error</a> = <a class="struct" href="../../../actix_web/http/header/struct.InvalidHeaderValueBytes.html" title="struct actix_web::http::header::InvalidHeaderValueBytes">InvalidHeaderValueBytes</a></code></h4><h4 id='method.try_into-20' class="method hidden"><code id='try_into.v-21'>fn <a href='#method.try_into-20' class='fnname'>try_into</a>(self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../../../actix_web/http/struct.HeaderValue.html" title="struct actix_web::http::HeaderValue">HeaderValue</a>, &lt;<a class="struct" href="../../../actix_web/http/header/struct.Date.html" title="struct actix_web::http::header::Date">Date</a> as <a class="trait" href="../../../actix_web/http/header/trait.IntoHeaderValue.html" title="trait actix_web::http::header::IntoHeaderValue">IntoHeaderValue</a>&gt;::<a class="type" href="../../../actix_web/http/header/trait.IntoHeaderValue.html#associatedtype.Error" title="type actix_web::http::header::IntoHeaderValue::Error">Error</a>&gt;</code><a class='srclink' href='../../../src/actix_http/header/common/mod.rs.html#241-243' title='goto source code'>[src]</a></h4></div><h3 id='impl-IntoHeaderValue-14' class='impl'><code class='in-band'>impl IntoHeaderValue for <a class="struct" href="../../../actix_web/http/header/struct.ETag.html" title="struct actix_web::http::header::ETag">ETag</a></code><a href='#impl-IntoHeaderValue-14' class='anchor'></a><a class='srclink' href='../../../src/actix_http/header/common/mod.rs.html#238-244' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Error-22' class="type"><code id='Error.t-22'>type <a href='#associatedtype.Error-22' class="type">Error</a> = <a class="struct" href="../../../actix_web/http/header/struct.InvalidHeaderValueBytes.html" title="struct actix_web::http::header::InvalidHeaderValueBytes">InvalidHeaderValueBytes</a></code></h4><h4 id='method.try_into-21' class="method hidden"><code id='try_into.v-22'>fn <a href='#method.try_into-21' class='fnname'>try_into</a>(self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../../../actix_web/http/struct.HeaderValue.html" title="struct actix_web::http::HeaderValue">HeaderValue</a>, &lt;<a class="struct" href="../../../actix_web/http/header/struct.ETag.html" title="struct actix_web::http::header::ETag">ETag</a> as <a class="trait" href="../../../actix_web/http/header/trait.IntoHeaderValue.html" title="trait actix_web::http::header::IntoHeaderValue">IntoHeaderValue</a>&gt;::<a class="type" href="../../../actix_web/http/header/trait.IntoHeaderValue.html#associatedtype.Error" title="type actix_web::http::header::IntoHeaderValue::Error">Error</a>&gt;</code><a class='srclink' href='../../../src/actix_http/header/common/mod.rs.html#241-243' title='goto source code'>[src]</a></h4></div><h3 id='impl-IntoHeaderValue-15' class='impl'><code class='in-band'>impl IntoHeaderValue for <a class="struct" href="../../../actix_web/http/header/struct.EntityTag.html" title="struct actix_web::http::header::EntityTag">EntityTag</a></code><a href='#impl-IntoHeaderValue-15' class='anchor'></a><a class='srclink' href='../../../src/actix_http/header/shared/entity.rs.html#159-167' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Error-23' class="type"><code id='Error.t-23'>type <a href='#associatedtype.Error-23' class="type">Error</a> = <a class="struct" href="../../../actix_web/http/header/struct.InvalidHeaderValueBytes.html" title="struct actix_web::http::header::InvalidHeaderValueBytes">InvalidHeaderValueBytes</a></code></h4><h4 id='method.try_into-22' class="method hidden"><code id='try_into.v-23'>fn <a href='#method.try_into-22' class='fnname'>try_into</a>(self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../../../actix_web/http/struct.HeaderValue.html" title="struct actix_web::http::HeaderValue">HeaderValue</a>, &lt;<a class="struct" href="../../../actix_web/http/header/struct.EntityTag.html" title="struct actix_web::http::header::EntityTag">EntityTag</a> as <a class="trait" href="../../../actix_web/http/header/trait.IntoHeaderValue.html" title="trait actix_web::http::header::IntoHeaderValue">IntoHeaderValue</a>&gt;::<a class="type" href="../../../actix_web/http/header/trait.IntoHeaderValue.html#associatedtype.Error" title="type actix_web::http::header::IntoHeaderValue::Error">Error</a>&gt;</code><a class='srclink' href='../../../src/actix_http/header/shared/entity.rs.html#162-166' title='goto source code'>[src]</a></h4></div><h3 id='impl-IntoHeaderValue-16' class='impl'><code class='in-band'>impl IntoHeaderValue for <a class="struct" href="../../../actix_web/http/header/struct.Expires.html" title="struct actix_web::http::header::Expires">Expires</a></code><a href='#impl-IntoHeaderValue-16' class='anchor'></a><a class='srclink' href='../../../src/actix_http/header/common/mod.rs.html#238-244' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Error-24' class="type"><code id='Error.t-24'>type <a href='#associatedtype.Error-24' class="type">Error</a> = <a class="struct" href="../../../actix_web/http/header/struct.InvalidHeaderValueBytes.html" title="struct actix_web::http::header::InvalidHeaderValueBytes">InvalidHeaderValueBytes</a></code></h4><h4 id='method.try_into-23' class="method hidden"><code id='try_into.v-24'>fn <a href='#method.try_into-23' class='fnname'>try_into</a>(self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../../../actix_web/http/struct.HeaderValue.html" title="struct actix_web::http::HeaderValue">HeaderValue</a>, &lt;<a class="struct" href="../../../actix_web/http/header/struct.Expires.html" title="struct actix_web::http::header::Expires">Expires</a> as <a class="trait" href="../../../actix_web/http/header/trait.IntoHeaderValue.html" title="trait actix_web::http::header::IntoHeaderValue">IntoHeaderValue</a>&gt;::<a class="type" href="../../../actix_web/http/header/trait.IntoHeaderValue.html#associatedtype.Error" title="type actix_web::http::header::IntoHeaderValue::Error">Error</a>&gt;</code><a class='srclink' href='../../../src/actix_http/header/common/mod.rs.html#241-243' title='goto source code'>[src]</a></h4></div><h3 id='impl-IntoHeaderValue-17' class='impl'><code class='in-band'>impl IntoHeaderValue for <a class="struct" href="../../../actix_web/http/header/struct.HttpDate.html" title="struct actix_web::http::header::HttpDate">HttpDate</a></code><a href='#impl-IntoHeaderValue-17' class='anchor'></a><a class='srclink' href='../../../src/actix_http/header/shared/httpdate.rs.html#60-68' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Error-25' class="type"><code id='Error.t-25'>type <a href='#associatedtype.Error-25' class="type">Error</a> = <a class="struct" href="../../../actix_web/http/header/struct.InvalidHeaderValueBytes.html" title="struct actix_web::http::header::InvalidHeaderValueBytes">InvalidHeaderValueBytes</a></code></h4><h4 id='method.try_into-24' class="method hidden"><code id='try_into.v-25'>fn <a href='#method.try_into-24' class='fnname'>try_into</a>(self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../../../actix_web/http/struct.HeaderValue.html" title="struct actix_web::http::HeaderValue">HeaderValue</a>, &lt;<a class="struct" href="../../../actix_web/http/header/struct.HttpDate.html" title="struct actix_web::http::header::HttpDate">HttpDate</a> as <a class="trait" href="../../../actix_web/http/header/trait.IntoHeaderValue.html" title="trait actix_web::http::header::IntoHeaderValue">IntoHeaderValue</a>&gt;::<a class="type" href="../../../actix_web/http/header/trait.IntoHeaderValue.html#associatedtype.Error" title="type actix_web::http::header::IntoHeaderValue::Error">Error</a>&gt;</code><a class='srclink' href='../../../src/actix_http/header/shared/httpdate.rs.html#63-67' title='goto source code'>[src]</a></h4></div><h3 id='impl-IntoHeaderValue-18' class='impl'><code class='in-band'>impl IntoHeaderValue for <a class="struct" href="../../../actix_web/http/header/struct.IfModifiedSince.html" title="struct actix_web::http::header::IfModifiedSince">IfModifiedSince</a></code><a href='#impl-IntoHeaderValue-18' class='anchor'></a><a class='srclink' href='../../../src/actix_http/header/common/mod.rs.html#238-244' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Error-26' class="type"><code id='Error.t-26'>type <a href='#associatedtype.Error-26' class="type">Error</a> = <a class="struct" href="../../../actix_web/http/header/struct.InvalidHeaderValueBytes.html" title="struct actix_web::http::header::InvalidHeaderValueBytes">InvalidHeaderValueBytes</a></code></h4><h4 id='method.try_into-25' class="method hidden"><code id='try_into.v-26'>fn <a href='#method.try_into-25' class='fnname'>try_into</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;self<br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../../../actix_web/http/struct.HeaderValue.html" title="struct actix_web::http::HeaderValue">HeaderValue</a>, &lt;<a class="struct" href="../../../actix_web/http/header/struct.IfModifiedSince.html" title="struct actix_web::http::header::IfModifiedSince">IfModifiedSince</a> as <a class="trait" href="../../../actix_web/http/header/trait.IntoHeaderValue.html" title="trait actix_web::http::header::IntoHeaderValue">IntoHeaderValue</a>&gt;::<a class="type" href="../../../actix_web/http/header/trait.IntoHeaderValue.html#associatedtype.Error" title="type actix_web::http::header::IntoHeaderValue::Error">Error</a>&gt;</code><a class='srclink' href='../../../src/actix_http/header/common/mod.rs.html#241-243' title='goto source code'>[src]</a></h4></div><h3 id='impl-IntoHeaderValue-19' class='impl'><code class='in-band'>impl IntoHeaderValue for <a class="struct" href="../../../actix_web/http/header/struct.IfUnmodifiedSince.html" title="struct actix_web::http::header::IfUnmodifiedSince">IfUnmodifiedSince</a></code><a href='#impl-IntoHeaderValue-19' class='anchor'></a><a class='srclink' href='../../../src/actix_http/header/common/mod.rs.html#238-244' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Error-27' class="type"><code id='Error.t-27'>type <a href='#associatedtype.Error-27' class="type">Error</a> = <a class="struct" href="../../../actix_web/http/header/struct.InvalidHeaderValueBytes.html" title="struct actix_web::http::header::InvalidHeaderValueBytes">InvalidHeaderValueBytes</a></code></h4><h4 id='method.try_into-26' class="method hidden"><code id='try_into.v-27'>fn <a href='#method.try_into-26' class='fnname'>try_into</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;self<br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../../../actix_web/http/struct.HeaderValue.html" title="struct actix_web::http::HeaderValue">HeaderValue</a>, &lt;<a class="struct" href="../../../actix_web/http/header/struct.IfUnmodifiedSince.html" title="struct actix_web::http::header::IfUnmodifiedSince">IfUnmodifiedSince</a> as <a class="trait" href="../../../actix_web/http/header/trait.IntoHeaderValue.html" title="trait actix_web::http::header::IntoHeaderValue">IntoHeaderValue</a>&gt;::<a class="type" href="../../../actix_web/http/header/trait.IntoHeaderValue.html#associatedtype.Error" title="type actix_web::http::header::IntoHeaderValue::Error">Error</a>&gt;</code><a class='srclink' href='../../../src/actix_http/header/common/mod.rs.html#241-243' title='goto source code'>[src]</a></h4></div><h3 id='impl-IntoHeaderValue-20' class='impl'><code class='in-band'>impl IntoHeaderValue for <a class="struct" href="../../../actix_web/http/header/struct.LastModified.html" title="struct actix_web::http::header::LastModified">LastModified</a></code><a href='#impl-IntoHeaderValue-20' class='anchor'></a><a class='srclink' href='../../../src/actix_http/header/common/mod.rs.html#238-244' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Error-28' class="type"><code id='Error.t-28'>type <a href='#associatedtype.Error-28' class="type">Error</a> = <a class="struct" href="../../../actix_web/http/header/struct.InvalidHeaderValueBytes.html" title="struct actix_web::http::header::InvalidHeaderValueBytes">InvalidHeaderValueBytes</a></code></h4><h4 id='method.try_into-27' class="method hidden"><code id='try_into.v-28'>fn <a href='#method.try_into-27' class='fnname'>try_into</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;self<br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../../../actix_web/http/struct.HeaderValue.html" title="struct actix_web::http::HeaderValue">HeaderValue</a>, &lt;<a class="struct" href="../../../actix_web/http/header/struct.LastModified.html" title="struct actix_web::http::header::LastModified">LastModified</a> as <a class="trait" href="../../../actix_web/http/header/trait.IntoHeaderValue.html" title="trait actix_web::http::header::IntoHeaderValue">IntoHeaderValue</a>&gt;::<a class="type" href="../../../actix_web/http/header/trait.IntoHeaderValue.html#associatedtype.Error" title="type actix_web::http::header::IntoHeaderValue::Error">Error</a>&gt;</code><a class='srclink' href='../../../src/actix_http/header/common/mod.rs.html#241-243' title='goto source code'>[src]</a></h4></div><h3 id='impl-IntoHeaderValue-21' class='impl'><code class='in-band'>impl IntoHeaderValue for <a class="struct" href="../../../actix_web/http/struct.HeaderValue.html" title="struct actix_web::http::HeaderValue">HeaderValue</a></code><a href='#impl-IntoHeaderValue-21' class='anchor'></a><a class='srclink' href='../../../src/actix_http/header/mod.rs.html#48-55' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Error-29' class="type"><code id='Error.t-29'>type <a href='#associatedtype.Error-29' class="type">Error</a> = <a class="struct" href="../../../actix_web/http/header/struct.InvalidHeaderValue.html" title="struct actix_web::http::header::InvalidHeaderValue">InvalidHeaderValue</a></code></h4><h4 id='method.try_into-28' class="method hidden"><code id='try_into.v-29'>fn <a href='#method.try_into-28' class='fnname'>try_into</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;self<br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../../../actix_web/http/struct.HeaderValue.html" title="struct actix_web::http::HeaderValue">HeaderValue</a>, &lt;<a class="struct" href="../../../actix_web/http/struct.HeaderValue.html" title="struct actix_web::http::HeaderValue">HeaderValue</a> as <a class="trait" href="../../../actix_web/http/header/trait.IntoHeaderValue.html" title="trait actix_web::http::header::IntoHeaderValue">IntoHeaderValue</a>&gt;::<a class="type" href="../../../actix_web/http/header/trait.IntoHeaderValue.html#associatedtype.Error" title="type actix_web::http::header::IntoHeaderValue::Error">Error</a>&gt;</code><a class='srclink' href='../../../src/actix_http/header/mod.rs.html#52-54' title='goto source code'>[src]</a></h4></div><h3 id='impl-IntoHeaderValue-22' class='impl'><code class='in-band'>impl IntoHeaderValue for <a class="struct" href="../../../actix_web/web/struct.Bytes.html" title="struct actix_web::web::Bytes">Bytes</a></code><a href='#impl-IntoHeaderValue-22' class='anchor'></a><a class='srclink' href='../../../src/actix_http/header/mod.rs.html#75-82' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Error-30' class="type"><code id='Error.t-30'>type <a href='#associatedtype.Error-30' class="type">Error</a> = <a class="struct" href="../../../actix_web/http/header/struct.InvalidHeaderValueBytes.html" title="struct actix_web::http::header::InvalidHeaderValueBytes">InvalidHeaderValueBytes</a></code></h4><h4 id='method.try_into-29' class="method hidden"><code id='try_into.v-30'>fn <a href='#method.try_into-29' class='fnname'>try_into</a>(self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../../../actix_web/http/struct.HeaderValue.html" title="struct actix_web::http::HeaderValue">HeaderValue</a>, &lt;<a class="struct" href="../../../actix_web/web/struct.Bytes.html" title="struct actix_web::web::Bytes">Bytes</a> as <a class="trait" href="../../../actix_web/http/header/trait.IntoHeaderValue.html" title="trait actix_web::http::header::IntoHeaderValue">IntoHeaderValue</a>&gt;::<a class="type" href="../../../actix_web/http/header/trait.IntoHeaderValue.html#associatedtype.Error" title="type actix_web::http::header::IntoHeaderValue::Error">Error</a>&gt;</code><a class='srclink' href='../../../src/actix_http/header/mod.rs.html#79-81' title='goto source code'>[src]</a></h4></div></div><span class='loading-content'>Loading content...</span><script type="text/javascript" src="../../../implementors/actix_http/header/trait.IntoHeaderValue.js" async></script></section><section id="search" class="content hidden"></section><section class="footer"></section><script>window.rootPath = "../../../";window.currentCrate = "actix_web";</script><script src="../../../aliases.js"></script><script src="../../../main.js"></script><script defer src="../../../search-index.js"></script></body></html>