1
0
mirror of https://github.com/fafhrd91/actix-web synced 2025-01-19 14:14:41 +01:00
actix-web/actix_web/http/header/trait.TryIntoHeaderValue.html
2024-05-27 01:16:31 +00:00

29 lines
55 KiB
HTML

<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="An interface for types that can be converted into a `HeaderValue`."><title>TryIntoHeaderValue in actix_web::http::header - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../static.files/rustdoc-dd39b87e5fcfba68.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="actix_web" data-themes="" data-resource-suffix="" data-rustdoc-version="1.80.0-nightly (bdbbb6c6a 2024-05-26)" data-channel="nightly" data-search-js="search-d52510db62a78183.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../../static.files/storage-118b08c4c78b968e.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../static.files/main-20a3ad099b048cf2.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-df360f571f6edeae.css"></noscript><link rel="icon" href="https://actix.rs/favicon.ico"></head><body class="rustdoc trait"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button><a class="logo-container" href="../../../actix_web/index.html"><img src="https://actix.rs/img/logo.png" alt=""></a></nav><nav class="sidebar"><div class="sidebar-crate"><a class="logo-container" href="../../../actix_web/index.html"><img src="https://actix.rs/img/logo.png" alt="logo"></a><h2><a href="../../../actix_web/index.html">actix_web</a><span class="version">4.6.0</span></h2></div><h2 class="location"><a href="#">TryIntoHeaderValue</a></h2><div class="sidebar-elems"><section><h3><a href="#required-associated-types">Required Associated Types</a></h3><ul class="block"><li><a href="#associatedtype.Error">Error</a></li></ul><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.try_into_value">try_into_value</a></li></ul><h3><a href="#foreign-impls">Implementations on Foreign Types</a></h3><ul class="block"><li><a href="#impl-TryIntoHeaderValue-for-%26%5Bu8%5D">&amp;[u8]</a></li><li><a href="#impl-TryIntoHeaderValue-for-%26str">&amp;str</a></li><li><a href="#impl-TryIntoHeaderValue-for-Mime">Mime</a></li><li><a href="#impl-TryIntoHeaderValue-for-String">String</a></li><li><a href="#impl-TryIntoHeaderValue-for-Vec%3Cu8%3E">Vec&lt;u8&gt;</a></li><li><a href="#impl-TryIntoHeaderValue-for-i32">i32</a></li><li><a href="#impl-TryIntoHeaderValue-for-i64">i64</a></li><li><a href="#impl-TryIntoHeaderValue-for-u32">u32</a></li><li><a href="#impl-TryIntoHeaderValue-for-u64">u64</a></li><li><a href="#impl-TryIntoHeaderValue-for-usize">usize</a></li></ul><h3><a href="#object-safety">Object Safety</a></h3><h3><a href="#implementors">Implementors</a></h3></section><h2><a href="index.html">In actix_web::http::header</a></h2></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><h1>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="#">TryIntoHeaderValue</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><a class="src" href="../../../src/actix_http/header/into_value.rs.html#8">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub trait TryIntoHeaderValue: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a> {
type <a href="#associatedtype.Error" class="associatedtype">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="../../error/struct.HttpError.html" title="struct actix_web::error::HttpError">Error</a>&gt;;
// Required method
fn <a href="#tymethod.try_into_value" class="fn">try_into_value</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="struct.HeaderValue.html" title="struct actix_web::http::header::HeaderValue">HeaderValue</a>, Self::<a class="associatedtype" href="trait.TryIntoHeaderValue.html#associatedtype.Error" title="type actix_web::http::header::TryIntoHeaderValue::Error">Error</a>&gt;;
}</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>An interface for types that can be converted into a <a href="struct.HeaderValue.html" title="struct actix_web::http::header::HeaderValue"><code>HeaderValue</code></a>.</p>
</div></details><h2 id="required-associated-types" class="section-header">Required Associated Types<a href="#required-associated-types" class="anchor">§</a></h2><div class="methods"><details class="toggle" open><summary><section id="associatedtype.Error" class="method"><a class="src rightside" href="../../../src/actix_http/header/into_value.rs.html#10">source</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">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="../../error/struct.HttpError.html" title="struct actix_web::error::HttpError">Error</a>&gt;</h4></section></summary><div class="docblock"><p>The type returned in the event of a conversion error.</p>
</div></details></div><h2 id="required-methods" class="section-header">Required Methods<a href="#required-methods" class="anchor">§</a></h2><div class="methods"><details class="toggle method-toggle" open><summary><section id="tymethod.try_into_value" class="method"><a class="src rightside" href="../../../src/actix_http/header/into_value.rs.html#13">source</a><h4 class="code-header">fn <a href="#tymethod.try_into_value" class="fn">try_into_value</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="struct.HeaderValue.html" title="struct actix_web::http::header::HeaderValue">HeaderValue</a>, Self::<a class="associatedtype" href="trait.TryIntoHeaderValue.html#associatedtype.Error" title="type actix_web::http::header::TryIntoHeaderValue::Error">Error</a>&gt;</h4></section></summary><div class="docblock"><p>Try to convert value to a HeaderValue.</p>
</div></details></div><h2 id="object-safety" class="section-header">Object Safety<a href="#object-safety" class="anchor">§</a></h2><div class="object-safety-info">This trait is <b>not</b> <a href="https://doc.rust-lang.org/nightly/reference/items/traits.html#object-safety">object safe</a>.</div><h2 id="foreign-impls" class="section-header">Implementations on Foreign Types<a href="#foreign-impls" class="anchor">§</a></h2><details class="toggle implementors-toggle"><summary><section id="impl-TryIntoHeaderValue-for-%26str" class="impl"><a class="src rightside" href="../../../src/actix_http/header/into_value.rs.html#34">source</a><a href="#impl-TryIntoHeaderValue-for-%26str" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.TryIntoHeaderValue.html" title="trait actix_web::http::header::TryIntoHeaderValue">TryIntoHeaderValue</a> for &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-1" class="associatedtype trait-impl"><a href="#associatedtype.Error-1" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="struct" href="struct.InvalidHeaderValue.html" title="struct actix_web::http::header::InvalidHeaderValue">InvalidHeaderValue</a></h4></section><section id="method.try_into_value" class="method trait-impl"><a class="src rightside" href="../../../src/actix_http/header/into_value.rs.html#38">source</a><a href="#method.try_into_value" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.try_into_value" class="fn">try_into_value</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="struct.HeaderValue.html" title="struct actix_web::http::header::HeaderValue">HeaderValue</a>, &lt;&amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a> as <a class="trait" href="trait.TryIntoHeaderValue.html" title="trait actix_web::http::header::TryIntoHeaderValue">TryIntoHeaderValue</a>&gt;::<a class="associatedtype" href="trait.TryIntoHeaderValue.html#associatedtype.Error" title="type actix_web::http::header::TryIntoHeaderValue::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-TryIntoHeaderValue-for-%26%5Bu8%5D" class="impl"><a class="src rightside" href="../../../src/actix_http/header/into_value.rs.html#43">source</a><a href="#impl-TryIntoHeaderValue-for-%26%5Bu8%5D" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.TryIntoHeaderValue.html" title="trait actix_web::http::header::TryIntoHeaderValue">TryIntoHeaderValue</a> for &amp;[<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>]</h3></section></summary><div class="impl-items"><section id="associatedtype.Error-2" class="associatedtype trait-impl"><a href="#associatedtype.Error-2" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="struct" href="struct.InvalidHeaderValue.html" title="struct actix_web::http::header::InvalidHeaderValue">InvalidHeaderValue</a></h4></section><section id="method.try_into_value-1" class="method trait-impl"><a class="src rightside" href="../../../src/actix_http/header/into_value.rs.html#47">source</a><a href="#method.try_into_value-1" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.try_into_value" class="fn">try_into_value</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="struct.HeaderValue.html" title="struct actix_web::http::header::HeaderValue">HeaderValue</a>, &lt;&amp;[<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>] as <a class="trait" href="trait.TryIntoHeaderValue.html" title="trait actix_web::http::header::TryIntoHeaderValue">TryIntoHeaderValue</a>&gt;::<a class="associatedtype" href="trait.TryIntoHeaderValue.html#associatedtype.Error" title="type actix_web::http::header::TryIntoHeaderValue::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-TryIntoHeaderValue-for-i32" class="impl"><a class="src rightside" href="../../../src/actix_http/header/into_value.rs.html#106">source</a><a href="#impl-TryIntoHeaderValue-for-i32" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.TryIntoHeaderValue.html" title="trait actix_web::http::header::TryIntoHeaderValue">TryIntoHeaderValue</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-3" class="associatedtype trait-impl"><a href="#associatedtype.Error-3" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="struct" href="struct.InvalidHeaderValue.html" title="struct actix_web::http::header::InvalidHeaderValue">InvalidHeaderValue</a></h4></section><section id="method.try_into_value-2" class="method trait-impl"><a class="src rightside" href="../../../src/actix_http/header/into_value.rs.html#110">source</a><a href="#method.try_into_value-2" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.try_into_value" class="fn">try_into_value</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="struct.HeaderValue.html" title="struct actix_web::http::header::HeaderValue">HeaderValue</a>, &lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a> as <a class="trait" href="trait.TryIntoHeaderValue.html" title="trait actix_web::http::header::TryIntoHeaderValue">TryIntoHeaderValue</a>&gt;::<a class="associatedtype" href="trait.TryIntoHeaderValue.html#associatedtype.Error" title="type actix_web::http::header::TryIntoHeaderValue::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-TryIntoHeaderValue-for-i64" class="impl"><a class="src rightside" href="../../../src/actix_http/header/into_value.rs.html#88">source</a><a href="#impl-TryIntoHeaderValue-for-i64" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.TryIntoHeaderValue.html" title="trait actix_web::http::header::TryIntoHeaderValue">TryIntoHeaderValue</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-4" class="associatedtype trait-impl"><a href="#associatedtype.Error-4" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="struct" href="struct.InvalidHeaderValue.html" title="struct actix_web::http::header::InvalidHeaderValue">InvalidHeaderValue</a></h4></section><section id="method.try_into_value-3" class="method trait-impl"><a class="src rightside" href="../../../src/actix_http/header/into_value.rs.html#92">source</a><a href="#method.try_into_value-3" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.try_into_value" class="fn">try_into_value</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="struct.HeaderValue.html" title="struct actix_web::http::header::HeaderValue">HeaderValue</a>, &lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a> as <a class="trait" href="trait.TryIntoHeaderValue.html" title="trait actix_web::http::header::TryIntoHeaderValue">TryIntoHeaderValue</a>&gt;::<a class="associatedtype" href="trait.TryIntoHeaderValue.html#associatedtype.Error" title="type actix_web::http::header::TryIntoHeaderValue::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-TryIntoHeaderValue-for-u32" class="impl"><a class="src rightside" href="../../../src/actix_http/header/into_value.rs.html#115">source</a><a href="#impl-TryIntoHeaderValue-for-u32" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.TryIntoHeaderValue.html" title="trait actix_web::http::header::TryIntoHeaderValue">TryIntoHeaderValue</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-5" class="associatedtype trait-impl"><a href="#associatedtype.Error-5" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="struct" href="struct.InvalidHeaderValue.html" title="struct actix_web::http::header::InvalidHeaderValue">InvalidHeaderValue</a></h4></section><section id="method.try_into_value-4" class="method trait-impl"><a class="src rightside" href="../../../src/actix_http/header/into_value.rs.html#119">source</a><a href="#method.try_into_value-4" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.try_into_value" class="fn">try_into_value</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="struct.HeaderValue.html" title="struct actix_web::http::header::HeaderValue">HeaderValue</a>, &lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a> as <a class="trait" href="trait.TryIntoHeaderValue.html" title="trait actix_web::http::header::TryIntoHeaderValue">TryIntoHeaderValue</a>&gt;::<a class="associatedtype" href="trait.TryIntoHeaderValue.html#associatedtype.Error" title="type actix_web::http::header::TryIntoHeaderValue::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-TryIntoHeaderValue-for-u64" class="impl"><a class="src rightside" href="../../../src/actix_http/header/into_value.rs.html#97">source</a><a href="#impl-TryIntoHeaderValue-for-u64" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.TryIntoHeaderValue.html" title="trait actix_web::http::header::TryIntoHeaderValue">TryIntoHeaderValue</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-6" class="associatedtype trait-impl"><a href="#associatedtype.Error-6" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="struct" href="struct.InvalidHeaderValue.html" title="struct actix_web::http::header::InvalidHeaderValue">InvalidHeaderValue</a></h4></section><section id="method.try_into_value-5" class="method trait-impl"><a class="src rightside" href="../../../src/actix_http/header/into_value.rs.html#101">source</a><a href="#method.try_into_value-5" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.try_into_value" class="fn">try_into_value</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="struct.HeaderValue.html" title="struct actix_web::http::header::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="trait.TryIntoHeaderValue.html" title="trait actix_web::http::header::TryIntoHeaderValue">TryIntoHeaderValue</a>&gt;::<a class="associatedtype" href="trait.TryIntoHeaderValue.html#associatedtype.Error" title="type actix_web::http::header::TryIntoHeaderValue::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-TryIntoHeaderValue-for-usize" class="impl"><a class="src rightside" href="../../../src/actix_http/header/into_value.rs.html#79">source</a><a href="#impl-TryIntoHeaderValue-for-usize" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.TryIntoHeaderValue.html" title="trait actix_web::http::header::TryIntoHeaderValue">TryIntoHeaderValue</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-7" class="associatedtype trait-impl"><a href="#associatedtype.Error-7" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="struct" href="struct.InvalidHeaderValue.html" title="struct actix_web::http::header::InvalidHeaderValue">InvalidHeaderValue</a></h4></section><section id="method.try_into_value-6" class="method trait-impl"><a class="src rightside" href="../../../src/actix_http/header/into_value.rs.html#83">source</a><a href="#method.try_into_value-6" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.try_into_value" class="fn">try_into_value</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="struct.HeaderValue.html" title="struct actix_web::http::header::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="trait.TryIntoHeaderValue.html" title="trait actix_web::http::header::TryIntoHeaderValue">TryIntoHeaderValue</a>&gt;::<a class="associatedtype" href="trait.TryIntoHeaderValue.html#associatedtype.Error" title="type actix_web::http::header::TryIntoHeaderValue::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-TryIntoHeaderValue-for-String" class="impl"><a class="src rightside" href="../../../src/actix_http/header/into_value.rs.html#70">source</a><a href="#impl-TryIntoHeaderValue-for-String" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.TryIntoHeaderValue.html" title="trait actix_web::http::header::TryIntoHeaderValue">TryIntoHeaderValue</a> for <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-8" class="associatedtype trait-impl"><a href="#associatedtype.Error-8" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="struct" href="struct.InvalidHeaderValue.html" title="struct actix_web::http::header::InvalidHeaderValue">InvalidHeaderValue</a></h4></section><section id="method.try_into_value-7" class="method trait-impl"><a class="src rightside" href="../../../src/actix_http/header/into_value.rs.html#74">source</a><a href="#method.try_into_value-7" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.try_into_value" class="fn">try_into_value</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="struct.HeaderValue.html" title="struct actix_web::http::header::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="trait.TryIntoHeaderValue.html" title="trait actix_web::http::header::TryIntoHeaderValue">TryIntoHeaderValue</a>&gt;::<a class="associatedtype" href="trait.TryIntoHeaderValue.html#associatedtype.Error" title="type actix_web::http::header::TryIntoHeaderValue::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-TryIntoHeaderValue-for-Vec%3Cu8%3E" class="impl"><a class="src rightside" href="../../../src/actix_http/header/into_value.rs.html#61">source</a><a href="#impl-TryIntoHeaderValue-for-Vec%3Cu8%3E" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.TryIntoHeaderValue.html" title="trait actix_web::http::header::TryIntoHeaderValue">TryIntoHeaderValue</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;</h3></section></summary><div class="impl-items"><section id="associatedtype.Error-9" class="associatedtype trait-impl"><a href="#associatedtype.Error-9" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="struct" href="struct.InvalidHeaderValue.html" title="struct actix_web::http::header::InvalidHeaderValue">InvalidHeaderValue</a></h4></section><section id="method.try_into_value-8" class="method trait-impl"><a class="src rightside" href="../../../src/actix_http/header/into_value.rs.html#65">source</a><a href="#method.try_into_value-8" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.try_into_value" class="fn">try_into_value</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="struct.HeaderValue.html" title="struct actix_web::http::header::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="trait.TryIntoHeaderValue.html" title="trait actix_web::http::header::TryIntoHeaderValue">TryIntoHeaderValue</a>&gt;::<a class="associatedtype" href="trait.TryIntoHeaderValue.html#associatedtype.Error" title="type actix_web::http::header::TryIntoHeaderValue::Error">Error</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-TryIntoHeaderValue-for-Mime" class="impl"><a class="src rightside" href="../../../src/actix_http/header/into_value.rs.html#124">source</a><a href="#impl-TryIntoHeaderValue-for-Mime" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.TryIntoHeaderValue.html" title="trait actix_web::http::header::TryIntoHeaderValue">TryIntoHeaderValue</a> for <a class="struct" href="https://docs.rs/mime/0.3.17/mime/struct.Mime.html" title="struct mime::Mime">Mime</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-10" class="associatedtype trait-impl"><a href="#associatedtype.Error-10" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="struct" href="struct.InvalidHeaderValue.html" title="struct actix_web::http::header::InvalidHeaderValue">InvalidHeaderValue</a></h4></section><section id="method.try_into_value-9" class="method trait-impl"><a class="src rightside" href="../../../src/actix_http/header/into_value.rs.html#128">source</a><a href="#method.try_into_value-9" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.try_into_value" class="fn">try_into_value</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="struct.HeaderValue.html" title="struct actix_web::http::header::HeaderValue">HeaderValue</a>, &lt;<a class="struct" href="https://docs.rs/mime/0.3.17/mime/struct.Mime.html" title="struct mime::Mime">Mime</a> as <a class="trait" href="trait.TryIntoHeaderValue.html" title="trait actix_web::http::header::TryIntoHeaderValue">TryIntoHeaderValue</a>&gt;::<a class="associatedtype" href="trait.TryIntoHeaderValue.html#associatedtype.Error" title="type actix_web::http::header::TryIntoHeaderValue::Error">Error</a>&gt;</h4></section></div></details><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"><details class="toggle implementors-toggle"><summary><section id="impl-TryIntoHeaderValue-for-%26HeaderValue" class="impl"><a class="src rightside" href="../../../src/actix_http/header/into_value.rs.html#25">source</a><a href="#impl-TryIntoHeaderValue-for-%26HeaderValue" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.TryIntoHeaderValue.html" title="trait actix_web::http::header::TryIntoHeaderValue">TryIntoHeaderValue</a> for &amp;<a class="struct" href="struct.HeaderValue.html" title="struct actix_web::http::header::HeaderValue">HeaderValue</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-11" class="associatedtype trait-impl"><a href="#associatedtype.Error-11" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="struct" href="struct.InvalidHeaderValue.html" title="struct actix_web::http::header::InvalidHeaderValue">InvalidHeaderValue</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-TryIntoHeaderValue-for-ContentEncoding" class="impl"><a class="src rightside" href="../../../src/actix_http/header/shared/content_encoding.rs.html#107">source</a><a href="#impl-TryIntoHeaderValue-for-ContentEncoding" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.TryIntoHeaderValue.html" title="trait actix_web::http::header::TryIntoHeaderValue">TryIntoHeaderValue</a> for <a class="enum" href="enum.ContentEncoding.html" title="enum actix_web::http::header::ContentEncoding">ContentEncoding</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-12" class="associatedtype trait-impl"><a href="#associatedtype.Error-12" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="struct" href="struct.InvalidHeaderValue.html" title="struct actix_web::http::header::InvalidHeaderValue">InvalidHeaderValue</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-TryIntoHeaderValue-for-ContentRangeSpec" class="impl"><a class="src rightside" href="../../../src/actix_web/http/header/content_range.rs.html#189-197">source</a><a href="#impl-TryIntoHeaderValue-for-ContentRangeSpec" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.TryIntoHeaderValue.html" title="trait actix_web::http::header::TryIntoHeaderValue">TryIntoHeaderValue</a> for <a class="enum" href="enum.ContentRangeSpec.html" title="enum actix_web::http::header::ContentRangeSpec">ContentRangeSpec</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-13" class="associatedtype trait-impl"><a href="#associatedtype.Error-13" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="struct" href="struct.InvalidHeaderValue.html" title="struct actix_web::http::header::InvalidHeaderValue">InvalidHeaderValue</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-TryIntoHeaderValue-for-IfMatch" class="impl"><a class="src rightside" href="../../../src/actix_web/http/header/if_match.rs.html#3-68">source</a><a href="#impl-TryIntoHeaderValue-for-IfMatch" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.TryIntoHeaderValue.html" title="trait actix_web::http::header::TryIntoHeaderValue">TryIntoHeaderValue</a> for <a class="enum" href="enum.IfMatch.html" title="enum actix_web::http::header::IfMatch">IfMatch</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-14" class="associatedtype trait-impl"><a href="#associatedtype.Error-14" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="struct" href="struct.InvalidHeaderValue.html" title="struct actix_web::http::header::InvalidHeaderValue">InvalidHeaderValue</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-TryIntoHeaderValue-for-IfNoneMatch" class="impl"><a class="src rightside" href="../../../src/actix_web/http/header/if_none_match.rs.html#3-61">source</a><a href="#impl-TryIntoHeaderValue-for-IfNoneMatch" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.TryIntoHeaderValue.html" title="trait actix_web::http::header::TryIntoHeaderValue">TryIntoHeaderValue</a> for <a class="enum" href="enum.IfNoneMatch.html" title="enum actix_web::http::header::IfNoneMatch">IfNoneMatch</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-15" class="associatedtype trait-impl"><a href="#associatedtype.Error-15" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="struct" href="struct.InvalidHeaderValue.html" title="struct actix_web::http::header::InvalidHeaderValue">InvalidHeaderValue</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-TryIntoHeaderValue-for-IfRange" class="impl"><a class="src rightside" href="../../../src/actix_web/http/header/if_range.rs.html#97-105">source</a><a href="#impl-TryIntoHeaderValue-for-IfRange" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.TryIntoHeaderValue.html" title="trait actix_web::http::header::TryIntoHeaderValue">TryIntoHeaderValue</a> for <a class="enum" href="enum.IfRange.html" title="enum actix_web::http::header::IfRange">IfRange</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-16" class="associatedtype trait-impl"><a href="#associatedtype.Error-16" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="struct" href="struct.InvalidHeaderValue.html" title="struct actix_web::http::header::InvalidHeaderValue">InvalidHeaderValue</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-TryIntoHeaderValue-for-Range" class="impl"><a class="src rightside" href="../../../src/actix_web/http/header/range.rs.html#277-285">source</a><a href="#impl-TryIntoHeaderValue-for-Range" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.TryIntoHeaderValue.html" title="trait actix_web::http::header::TryIntoHeaderValue">TryIntoHeaderValue</a> for <a class="enum" href="enum.Range.html" title="enum actix_web::http::header::Range">Range</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-17" class="associatedtype trait-impl"><a href="#associatedtype.Error-17" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="struct" href="struct.InvalidHeaderValue.html" title="struct actix_web::http::header::InvalidHeaderValue">InvalidHeaderValue</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-TryIntoHeaderValue-for-Bytes" class="impl"><a class="src rightside" href="../../../src/actix_http/header/into_value.rs.html#52">source</a><a href="#impl-TryIntoHeaderValue-for-Bytes" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.TryIntoHeaderValue.html" title="trait actix_web::http::header::TryIntoHeaderValue">TryIntoHeaderValue</a> for <a class="struct" href="../../web/struct.Bytes.html" title="struct actix_web::web::Bytes">Bytes</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-18" class="associatedtype trait-impl"><a href="#associatedtype.Error-18" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="struct" href="struct.InvalidHeaderValue.html" title="struct actix_web::http::header::InvalidHeaderValue">InvalidHeaderValue</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-TryIntoHeaderValue-for-Accept" class="impl"><a class="src rightside" href="../../../src/actix_web/http/header/accept.rs.html#8-122">source</a><a href="#impl-TryIntoHeaderValue-for-Accept" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.TryIntoHeaderValue.html" title="trait actix_web::http::header::TryIntoHeaderValue">TryIntoHeaderValue</a> for <a class="struct" href="struct.Accept.html" title="struct actix_web::http::header::Accept">Accept</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-19" class="associatedtype trait-impl"><a href="#associatedtype.Error-19" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="struct" href="struct.InvalidHeaderValue.html" title="struct actix_web::http::header::InvalidHeaderValue">InvalidHeaderValue</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-TryIntoHeaderValue-for-AcceptCharset" class="impl"><a class="src rightside" href="../../../src/actix_web/http/header/accept_charset.rs.html#3-62">source</a><a href="#impl-TryIntoHeaderValue-for-AcceptCharset" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.TryIntoHeaderValue.html" title="trait actix_web::http::header::TryIntoHeaderValue">TryIntoHeaderValue</a> for <a class="struct" href="struct.AcceptCharset.html" title="struct actix_web::http::header::AcceptCharset">AcceptCharset</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-20" class="associatedtype trait-impl"><a href="#associatedtype.Error-20" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="struct" href="struct.InvalidHeaderValue.html" title="struct actix_web::http::header::InvalidHeaderValue">InvalidHeaderValue</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-TryIntoHeaderValue-for-AcceptEncoding" class="impl"><a class="src rightside" href="../../../src/actix_web/http/header/accept_encoding.rs.html#6-84">source</a><a href="#impl-TryIntoHeaderValue-for-AcceptEncoding" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.TryIntoHeaderValue.html" title="trait actix_web::http::header::TryIntoHeaderValue">TryIntoHeaderValue</a> for <a class="struct" href="struct.AcceptEncoding.html" title="struct actix_web::http::header::AcceptEncoding">AcceptEncoding</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-21" class="associatedtype trait-impl"><a href="#associatedtype.Error-21" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="struct" href="struct.InvalidHeaderValue.html" title="struct actix_web::http::header::InvalidHeaderValue">InvalidHeaderValue</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-TryIntoHeaderValue-for-AcceptLanguage" class="impl"><a class="src rightside" href="../../../src/actix_web/http/header/accept_language.rs.html#6-93">source</a><a href="#impl-TryIntoHeaderValue-for-AcceptLanguage" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.TryIntoHeaderValue.html" title="trait actix_web::http::header::TryIntoHeaderValue">TryIntoHeaderValue</a> for <a class="struct" href="struct.AcceptLanguage.html" title="struct actix_web::http::header::AcceptLanguage">AcceptLanguage</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-22" class="associatedtype trait-impl"><a href="#associatedtype.Error-22" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="struct" href="struct.InvalidHeaderValue.html" title="struct actix_web::http::header::InvalidHeaderValue">InvalidHeaderValue</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-TryIntoHeaderValue-for-Allow" class="impl"><a class="src rightside" href="../../../src/actix_web/http/header/allow.rs.html#5-79">source</a><a href="#impl-TryIntoHeaderValue-for-Allow" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.TryIntoHeaderValue.html" title="trait actix_web::http::header::TryIntoHeaderValue">TryIntoHeaderValue</a> for <a class="struct" href="struct.Allow.html" title="struct actix_web::http::header::Allow">Allow</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-23" class="associatedtype trait-impl"><a href="#associatedtype.Error-23" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="struct" href="struct.InvalidHeaderValue.html" title="struct actix_web::http::header::InvalidHeaderValue">InvalidHeaderValue</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-TryIntoHeaderValue-for-CacheControl" class="impl"><a class="src rightside" href="../../../src/actix_web/http/header/cache_control.rs.html#6-93">source</a><a href="#impl-TryIntoHeaderValue-for-CacheControl" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.TryIntoHeaderValue.html" title="trait actix_web::http::header::TryIntoHeaderValue">TryIntoHeaderValue</a> for <a class="struct" href="struct.CacheControl.html" title="struct actix_web::http::header::CacheControl">CacheControl</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-24" class="associatedtype trait-impl"><a href="#associatedtype.Error-24" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="struct" href="struct.InvalidHeaderValue.html" title="struct actix_web::http::header::InvalidHeaderValue">InvalidHeaderValue</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-TryIntoHeaderValue-for-ContentDisposition" class="impl"><a class="src rightside" href="../../../src/actix_web/http/header/content_disposition.rs.html#480-488">source</a><a href="#impl-TryIntoHeaderValue-for-ContentDisposition" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.TryIntoHeaderValue.html" title="trait actix_web::http::header::TryIntoHeaderValue">TryIntoHeaderValue</a> for <a class="struct" href="struct.ContentDisposition.html" title="struct actix_web::http::header::ContentDisposition">ContentDisposition</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-25" class="associatedtype trait-impl"><a href="#associatedtype.Error-25" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="struct" href="struct.InvalidHeaderValue.html" title="struct actix_web::http::header::InvalidHeaderValue">InvalidHeaderValue</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-TryIntoHeaderValue-for-ContentLanguage" class="impl"><a class="src rightside" href="../../../src/actix_web/http/header/content_language.rs.html#5-54">source</a><a href="#impl-TryIntoHeaderValue-for-ContentLanguage" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.TryIntoHeaderValue.html" title="trait actix_web::http::header::TryIntoHeaderValue">TryIntoHeaderValue</a> for <a class="struct" href="struct.ContentLanguage.html" title="struct actix_web::http::header::ContentLanguage">ContentLanguage</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-26" class="associatedtype trait-impl"><a href="#associatedtype.Error-26" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="struct" href="struct.InvalidHeaderValue.html" title="struct actix_web::http::header::InvalidHeaderValue">InvalidHeaderValue</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-TryIntoHeaderValue-for-ContentLength" class="impl"><a class="src rightside" href="../../../src/actix_web/http/header/content_length.rs.html#65-71">source</a><a href="#impl-TryIntoHeaderValue-for-ContentLength" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.TryIntoHeaderValue.html" title="trait actix_web::http::header::TryIntoHeaderValue">TryIntoHeaderValue</a> for <a class="struct" href="struct.ContentLength.html" title="struct actix_web::http::header::ContentLength">ContentLength</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-27" class="associatedtype trait-impl"><a href="#associatedtype.Error-27" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/nightly/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-TryIntoHeaderValue-for-ContentRange" class="impl"><a class="src rightside" href="../../../src/actix_web/http/header/content_range.rs.html#9-71">source</a><a href="#impl-TryIntoHeaderValue-for-ContentRange" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.TryIntoHeaderValue.html" title="trait actix_web::http::header::TryIntoHeaderValue">TryIntoHeaderValue</a> for <a class="struct" href="struct.ContentRange.html" title="struct actix_web::http::header::ContentRange">ContentRange</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-28" class="associatedtype trait-impl"><a href="#associatedtype.Error-28" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="struct" href="struct.InvalidHeaderValue.html" title="struct actix_web::http::header::InvalidHeaderValue">InvalidHeaderValue</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-TryIntoHeaderValue-for-ContentType" class="impl"><a class="src rightside" href="../../../src/actix_web/http/header/content_type.rs.html#5-56">source</a><a href="#impl-TryIntoHeaderValue-for-ContentType" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.TryIntoHeaderValue.html" title="trait actix_web::http::header::TryIntoHeaderValue">TryIntoHeaderValue</a> for <a class="struct" href="struct.ContentType.html" title="struct actix_web::http::header::ContentType">ContentType</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-29" class="associatedtype trait-impl"><a href="#associatedtype.Error-29" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="struct" href="struct.InvalidHeaderValue.html" title="struct actix_web::http::header::InvalidHeaderValue">InvalidHeaderValue</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-TryIntoHeaderValue-for-Date" class="impl"><a class="src rightside" href="../../../src/actix_web/http/header/date.rs.html#5-37">source</a><a href="#impl-TryIntoHeaderValue-for-Date" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.TryIntoHeaderValue.html" title="trait actix_web::http::header::TryIntoHeaderValue">TryIntoHeaderValue</a> for <a class="struct" href="struct.Date.html" title="struct actix_web::http::header::Date">Date</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-30" class="associatedtype trait-impl"><a href="#associatedtype.Error-30" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="struct" href="struct.InvalidHeaderValue.html" title="struct actix_web::http::header::InvalidHeaderValue">InvalidHeaderValue</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-TryIntoHeaderValue-for-ETag" class="impl"><a class="src rightside" href="../../../src/actix_web/http/header/etag.rs.html#3-98">source</a><a href="#impl-TryIntoHeaderValue-for-ETag" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.TryIntoHeaderValue.html" title="trait actix_web::http::header::TryIntoHeaderValue">TryIntoHeaderValue</a> for <a class="struct" href="struct.ETag.html" title="struct actix_web::http::header::ETag">ETag</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-31" class="associatedtype trait-impl"><a href="#associatedtype.Error-31" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="struct" href="struct.InvalidHeaderValue.html" title="struct actix_web::http::header::InvalidHeaderValue">InvalidHeaderValue</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-TryIntoHeaderValue-for-EntityTag" class="impl"><a class="src rightside" href="../../../src/actix_web/http/header/entity.rs.html#176-184">source</a><a href="#impl-TryIntoHeaderValue-for-EntityTag" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.TryIntoHeaderValue.html" title="trait actix_web::http::header::TryIntoHeaderValue">TryIntoHeaderValue</a> for <a class="struct" href="struct.EntityTag.html" title="struct actix_web::http::header::EntityTag">EntityTag</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-32" class="associatedtype trait-impl"><a href="#associatedtype.Error-32" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="struct" href="struct.InvalidHeaderValue.html" title="struct actix_web::http::header::InvalidHeaderValue">InvalidHeaderValue</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-TryIntoHeaderValue-for-Expires" class="impl"><a class="src rightside" href="../../../src/actix_web/http/header/expires.rs.html#3-41">source</a><a href="#impl-TryIntoHeaderValue-for-Expires" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.TryIntoHeaderValue.html" title="trait actix_web::http::header::TryIntoHeaderValue">TryIntoHeaderValue</a> for <a class="struct" href="struct.Expires.html" title="struct actix_web::http::header::Expires">Expires</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-33" class="associatedtype trait-impl"><a href="#associatedtype.Error-33" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="struct" href="struct.InvalidHeaderValue.html" title="struct actix_web::http::header::InvalidHeaderValue">InvalidHeaderValue</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-TryIntoHeaderValue-for-HeaderValue" class="impl"><a class="src rightside" href="../../../src/actix_http/header/into_value.rs.html#16">source</a><a href="#impl-TryIntoHeaderValue-for-HeaderValue" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.TryIntoHeaderValue.html" title="trait actix_web::http::header::TryIntoHeaderValue">TryIntoHeaderValue</a> for <a class="struct" href="struct.HeaderValue.html" title="struct actix_web::http::header::HeaderValue">HeaderValue</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-34" class="associatedtype trait-impl"><a href="#associatedtype.Error-34" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="struct" href="struct.InvalidHeaderValue.html" title="struct actix_web::http::header::InvalidHeaderValue">InvalidHeaderValue</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-TryIntoHeaderValue-for-HttpDate" class="impl"><a class="src rightside" href="../../../src/actix_http/header/shared/http_date.rs.html#31">source</a><a href="#impl-TryIntoHeaderValue-for-HttpDate" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.TryIntoHeaderValue.html" title="trait actix_web::http::header::TryIntoHeaderValue">TryIntoHeaderValue</a> for <a class="struct" href="struct.HttpDate.html" title="struct actix_web::http::header::HttpDate">HttpDate</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-35" class="associatedtype trait-impl"><a href="#associatedtype.Error-35" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="struct" href="struct.InvalidHeaderValue.html" title="struct actix_web::http::header::InvalidHeaderValue">InvalidHeaderValue</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-TryIntoHeaderValue-for-IfModifiedSince" class="impl"><a class="src rightside" href="../../../src/actix_web/http/header/if_modified_since.rs.html#3-40">source</a><a href="#impl-TryIntoHeaderValue-for-IfModifiedSince" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.TryIntoHeaderValue.html" title="trait actix_web::http::header::TryIntoHeaderValue">TryIntoHeaderValue</a> for <a class="struct" href="struct.IfModifiedSince.html" title="struct actix_web::http::header::IfModifiedSince">IfModifiedSince</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-36" class="associatedtype trait-impl"><a href="#associatedtype.Error-36" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="struct" href="struct.InvalidHeaderValue.html" title="struct actix_web::http::header::InvalidHeaderValue">InvalidHeaderValue</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-TryIntoHeaderValue-for-IfUnmodifiedSince" class="impl"><a class="src rightside" href="../../../src/actix_web/http/header/if_unmodified_since.rs.html#3-40">source</a><a href="#impl-TryIntoHeaderValue-for-IfUnmodifiedSince" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.TryIntoHeaderValue.html" title="trait actix_web::http::header::TryIntoHeaderValue">TryIntoHeaderValue</a> for <a class="struct" href="struct.IfUnmodifiedSince.html" title="struct actix_web::http::header::IfUnmodifiedSince">IfUnmodifiedSince</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-37" class="associatedtype trait-impl"><a href="#associatedtype.Error-37" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="struct" href="struct.InvalidHeaderValue.html" title="struct actix_web::http::header::InvalidHeaderValue">InvalidHeaderValue</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-TryIntoHeaderValue-for-LastModified" class="impl"><a class="src rightside" href="../../../src/actix_web/http/header/last_modified.rs.html#3-39">source</a><a href="#impl-TryIntoHeaderValue-for-LastModified" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.TryIntoHeaderValue.html" title="trait actix_web::http::header::TryIntoHeaderValue">TryIntoHeaderValue</a> for <a class="struct" href="struct.LastModified.html" title="struct actix_web::http::header::LastModified">LastModified</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Error-38" class="associatedtype trait-impl"><a href="#associatedtype.Error-38" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Error" class="associatedtype">Error</a> = <a class="struct" href="struct.InvalidHeaderValue.html" title="struct actix_web::http::header::InvalidHeaderValue">InvalidHeaderValue</a></h4></section></div></details></div><script src="../../../trait.impl/actix_http/header/into_value/trait.TryIntoHeaderValue.js" data-ignore-extern-crates="http,alloc,bytes,mime,std,actix_http" async></script></section></div></main></body></html>