}</pre><divclass='docblock'><p>A set of errors that can occur parsing HTTP streams.</p>
</div><h2class='variants'>Variants</h2>
<spanid='variant.Method'class='variant'><code>Method</code></span><divclass='docblock'><p>An invalid <code>Method</code>, such as <code>GE,T</code>.</p>
</div><spanid='variant.Uri'class='variant'><code>Uri(<aclass='enum'href='../../url/parser/enum.ParseError.html'title='url::parser::ParseError'>ParseError</a>)</code></span><divclass='docblock'><p>An invalid <code>RequestUri</code>, such as <code>exam ple.domain</code>.</p>
</div><spanid='variant.Version'class='variant'><code>Version</code></span><divclass='docblock'><p>An invalid <code>HttpVersion</code>, such as <code>HTP/1.1</code></p>
</div><spanid='variant.TooLarge'class='variant'><code>TooLarge</code></span><divclass='docblock'><p>A message head is too large to be reasonable.</p>
</div><spanid='variant.Status'class='variant'><code>Status</code></span><divclass='docblock'><p>An invalid <code>Status</code>, such as <code>1337 ELITE</code>.</p>
</div><spanid='variant.Io'class='variant'><code>Io(<aclass='struct'href='https://doc.rust-lang.org/nightly/std/io/error/struct.Error.html'title='std::io::error::Error'>Error</a>)</code></span><divclass='docblock'><p>An <code>io::Error</code> that occurred while trying to read or write to a network stream.</p>
</div><spanid='variant.Ssl'class='variant'><code>Ssl(<aclass='struct'href='https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html'title='alloc::boxed::Box'>Box</a><<aclass='trait'href='https://doc.rust-lang.org/nightly/std/error/trait.Error.html'title='std::error::Error'>Error</a> + 'static + <aclass='trait'href='https://doc.rust-lang.org/nightly/core/marker/trait.Send.html'title='core::marker::Send'>Send</a> + <aclass='trait'href='https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html'title='core::marker::Sync'>Sync</a>>)</code></span><divclass='docblock'><p>An error from a SSL library.</p>
</div><spanid='variant.Http2'class='variant'><code>Http2(<aclass='enum'href='../../solicit/http/enum.HttpError.html'title='solicit::http::HttpError'>HttpError</a>)</code></span><divclass='docblock'><p>An HTTP/2-specific error, coming from the <code>solicit</code> library.</p>
</div><spanid='variant.Utf8'class='variant'><code>Utf8(<aclass='struct'href='https://doc.rust-lang.org/nightly/core/str/struct.Utf8Error.html'title='core::str::Utf8Error'>Utf8Error</a>)</code></span><divclass='docblock'><p>Parsing a field as string failed</p>
</div><h2id='implementations'>Trait Implementations</h2><h3class='impl'><spanclass='in-band'><code>impl <aclass='trait'href='https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html'title='core::fmt::Debug'>Debug</a> for <aclass='enum'href='../../iron/error/enum.HttpError.html'title='iron::error::HttpError'>Error</a></code></span><spanclass='out-of-band'></span></h3>
<divclass='docblock'><p>Formats the value using the given formatter.</p>
</div></div><h3class='impl'><spanclass='in-band'><code>impl <aclass='trait'href='https://doc.rust-lang.org/nightly/core/fmt/trait.Display.html'title='core::fmt::Display'>Display</a> for <aclass='enum'href='../../iron/error/enum.HttpError.html'title='iron::error::HttpError'>Error</a></code></span><spanclass='out-of-band'></span></h3>
<divclass='docblock'><p>Formats the value using the given formatter.</p>
</div></div><h3class='impl'><spanclass='in-band'><code>impl <aclass='trait'href='https://doc.rust-lang.org/nightly/std/error/trait.Error.html'title='std::error::Error'>Error</a> for <aclass='enum'href='../../iron/error/enum.HttpError.html'title='iron::error::HttpError'>Error</a></code></span><spanclass='out-of-band'></span></h3>
<divclass='docblock'><p>A short description of the error. <ahref="https://doc.rust-lang.org/nightly/std/error/trait.Error.html#tymethod.description">Read more</a></p>
<divclass='docblock'><p>The lower-level cause of this error, if any. <ahref="https://doc.rust-lang.org/nightly/std/error/trait.Error.html#method.cause">Read more</a></p>
</div></div><h3class='impl'><spanclass='in-band'><code>impl <aclass='trait'href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html'title='core::convert::From'>From</a><<aclass='struct'href='https://doc.rust-lang.org/nightly/std/io/error/struct.Error.html'title='std::io::error::Error'>Error</a>> for <aclass='enum'href='../../iron/error/enum.HttpError.html'title='iron::error::HttpError'>Error</a></code></span><spanclass='out-of-band'></span></h3>
</div><h3class='impl'><spanclass='in-band'><code>impl <aclass='trait'href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html'title='core::convert::From'>From</a><<aclass='enum'href='../../url/parser/enum.ParseError.html'title='url::parser::ParseError'>ParseError</a>> for <aclass='enum'href='../../iron/error/enum.HttpError.html'title='iron::error::HttpError'>Error</a></code></span><spanclass='out-of-band'></span></h3>
</div><h3class='impl'><spanclass='in-band'><code>impl <aclass='trait'href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html'title='core::convert::From'>From</a><<aclass='enum'href='../../openssl/ssl/error/enum.SslError.html'title='openssl::ssl::error::SslError'>SslError</a>> for <aclass='enum'href='../../iron/error/enum.HttpError.html'title='iron::error::HttpError'>Error</a></code></span><spanclass='out-of-band'></span></h3>
</div><h3class='impl'><spanclass='in-band'><code>impl <aclass='trait'href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html'title='core::convert::From'>From</a><<aclass='struct'href='https://doc.rust-lang.org/nightly/core/str/struct.Utf8Error.html'title='core::str::Utf8Error'>Utf8Error</a>> for <aclass='enum'href='../../iron/error/enum.HttpError.html'title='iron::error::HttpError'>Error</a></code></span><spanclass='out-of-band'></span></h3>
</div><h3class='impl'><spanclass='in-band'><code>impl <aclass='trait'href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html'title='core::convert::From'>From</a><<aclass='struct'href='https://doc.rust-lang.org/nightly/collections/string/struct.FromUtf8Error.html'title='collections::string::FromUtf8Error'>FromUtf8Error</a>> for <aclass='enum'href='../../iron/error/enum.HttpError.html'title='iron::error::HttpError'>Error</a></code></span><spanclass='out-of-band'></span></h3>
</div><h3class='impl'><spanclass='in-band'><code>impl <aclass='trait'href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html'title='core::convert::From'>From</a><<aclass='enum'href='../../httparse/enum.Error.html'title='httparse::Error'>Error</a>> for <aclass='enum'href='../../iron/error/enum.HttpError.html'title='iron::error::HttpError'>Error</a></code></span><spanclass='out-of-band'></span></h3>
</div><h3class='impl'><spanclass='in-band'><code>impl <aclass='trait'href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html'title='core::convert::From'>From</a><<aclass='enum'href='../../solicit/http/enum.HttpError.html'title='solicit::http::HttpError'>HttpError</a>> for <aclass='enum'href='../../iron/error/enum.HttpError.html'title='iron::error::HttpError'>Error</a></code></span><spanclass='out-of-band'></span></h3>