}</pre><divclass='docblock'><p>Errors that can occur when decoding a hex encoded string</p>
</div><h2class='variants'>Variants</h2>
<spanid='variant.InvalidHexCharacter'class='variant'><code>InvalidHexCharacter(<aclass='primitive'href='https://doc.rust-lang.org/nightly/std/primitive.char.html'>char</a>, <aclass='primitive'href='https://doc.rust-lang.org/nightly/std/primitive.usize.html'>usize</a>)</code></span><divclass='docblock'><p>The input contained a character not part of the hex format</p>
</div><spanid='variant.InvalidHexLength'class='variant'><code>InvalidHexLength</code></span><divclass='docblock'><p>The input had an invalid length</p>
</div><h2id='implementations'>Trait Implementations</h2><h3class='impl'><spanclass='in-band'><code>impl <aclass='trait'href='https://doc.rust-lang.org/nightly/core/marker/trait.Copy.html'title='core::marker::Copy'>Copy</a> for <aclass='enum'href='../../rustc_serialize/hex/enum.FromHexError.html'title='rustc_serialize::hex::FromHexError'>FromHexError</a></code></span><spanclass='out-of-band'><divclass='ghost'></div><aid='src-5103'class='srclink'href='../../src/rustc_serialize/hex.rs.html#64'title='goto source code'>[src]</a></span></h3>
<divclass='impl-items'></div><h3class='impl'><spanclass='in-band'><code>impl <aclass='trait'href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html'title='core::clone::Clone'>Clone</a> for <aclass='enum'href='../../rustc_serialize/hex/enum.FromHexError.html'title='rustc_serialize::hex::FromHexError'>FromHexError</a></code></span><spanclass='out-of-band'><divclass='ghost'></div><aid='src-5104'class='srclink'href='../../src/rustc_serialize/hex.rs.html#64'title='goto source code'>[src]</a></span></h3>
<divclass='docblock'><p>Returns a copy of the value. <ahref="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone">Read more</a></p>
</div><h4id='method.clone_from'class='method'><code>fn <ahref='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from'class='fnname'>clone_from</a>(&mut self, source: &Self)</code><divclass='since'title='Stable since Rust version 1.0.0'>1.0.0</div></h4>
<divclass='docblock'><p>Performs copy-assignment from <code>source</code>. <ahref="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from">Read more</a></p>
</div></div><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='../../rustc_serialize/hex/enum.FromHexError.html'title='rustc_serialize::hex::FromHexError'>FromHexError</a></code></span><spanclass='out-of-band'><divclass='ghost'></div><aid='src-5114'class='srclink'href='../../src/rustc_serialize/hex.rs.html#72-80'title='goto source code'>[src]</a></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>
</div><h4id='method.cause'class='method'><code>fn <ahref='https://doc.rust-lang.org/nightly/std/error/trait.Error.html#method.cause'class='fnname'>cause</a>(&self) -><aclass='enum'href='https://doc.rust-lang.org/nightly/core/option/enum.Option.html'title='core::option::Option'>Option</a><&<aclass='trait'href='https://doc.rust-lang.org/nightly/std/error/trait.Error.html'title='std::error::Error'>Error</a>></code><divclass='since'title='Stable since Rust version 1.0.0'>1.0.0</div></h4>
<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>