edlang/gimli/read/enum.Error.html
2024-02-13 06:38:44 +00:00

181 lines
63 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="An error that occurred when parsing."><title>Error in gimli::read - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-ac92e1bbe349e143.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="gimli" data-themes="" data-resource-suffix="" data-rustdoc-version="1.76.0 (07dca489a 2024-02-04)" data-channel="1.76.0" data-search-js="search-2b6ce74ff89ae146.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../static.files/storage-f2adc0d6ca4d09fb.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-305769736d49e732.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-feafe1bb7466e4bd.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc enum"><!--[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">&#9776;</button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../gimli/index.html">gimli</a><span class="version">0.28.1</span></h2></div><h2 class="location"><a href="#">Error</a></h2><div class="sidebar-elems"><section><h3><a href="#variants">Variants</a></h3><ul class="block variant"><li><a href="#variant.AbbreviationTagZero">AbbreviationTagZero</a></li><li><a href="#variant.AttributeFormZero">AttributeFormZero</a></li><li><a href="#variant.BadBranchTarget">BadBranchTarget</a></li><li><a href="#variant.BadHasChildren">BadHasChildren</a></li><li><a href="#variant.BadLength">BadLength</a></li><li><a href="#variant.BadSignedLeb128">BadSignedLeb128</a></li><li><a href="#variant.BadUnsignedLeb128">BadUnsignedLeb128</a></li><li><a href="#variant.BadUtf8">BadUtf8</a></li><li><a href="#variant.CannotParseOmitPointerEncoding">CannotParseOmitPointerEncoding</a></li><li><a href="#variant.CfiInstructionInInvalidContext">CfiInstructionInInvalidContext</a></li><li><a href="#variant.DataRelativePointerButDataBaseIsUndefined">DataRelativePointerButDataBaseIsUndefined</a></li><li><a href="#variant.DivisionByZero">DivisionByZero</a></li><li><a href="#variant.DuplicateAbbreviationCode">DuplicateAbbreviationCode</a></li><li><a href="#variant.DuplicateArange">DuplicateArange</a></li><li><a href="#variant.ExpectedStringAttributeValue">ExpectedStringAttributeValue</a></li><li><a href="#variant.ExpectedZero">ExpectedZero</a></li><li><a href="#variant.FuncRelativePointerInBadContext">FuncRelativePointerInBadContext</a></li><li><a href="#variant.IntegralTypeRequired">IntegralTypeRequired</a></li><li><a href="#variant.InvalidAddressRange">InvalidAddressRange</a></li><li><a href="#variant.InvalidExpression">InvalidExpression</a></li><li><a href="#variant.InvalidExpressionTerminator">InvalidExpressionTerminator</a></li><li><a href="#variant.InvalidImplicitConst">InvalidImplicitConst</a></li><li><a href="#variant.InvalidIndexRow">InvalidIndexRow</a></li><li><a href="#variant.InvalidIndexSectionCount">InvalidIndexSectionCount</a></li><li><a href="#variant.InvalidIndexSlotCount">InvalidIndexSlotCount</a></li><li><a href="#variant.InvalidLocationAddressRange">InvalidLocationAddressRange</a></li><li><a href="#variant.InvalidPiece">InvalidPiece</a></li><li><a href="#variant.InvalidPushObjectAddress">InvalidPushObjectAddress</a></li><li><a href="#variant.InvalidShiftExpression">InvalidShiftExpression</a></li><li><a href="#variant.Io">Io</a></li><li><a href="#variant.LineRangeZero">LineRangeZero</a></li><li><a href="#variant.MaximumOperationsPerInstructionZero">MaximumOperationsPerInstructionZero</a></li><li><a href="#variant.MinimumInstructionLengthZero">MinimumInstructionLengthZero</a></li><li><a href="#variant.MissingFileEntryFormatPath">MissingFileEntryFormatPath</a></li><li><a href="#variant.MissingUnitDie">MissingUnitDie</a></li><li><a href="#variant.NoEntryAtGivenOffset">NoEntryAtGivenOffset</a></li><li><a href="#variant.NoUnwindInfoForAddress">NoUnwindInfoForAddress</a></li><li><a href="#variant.NotCieId">NotCieId</a></li><li><a href="#variant.NotCiePointer">NotCiePointer</a></li><li><a href="#variant.NotEnoughStackItems">NotEnoughStackItems</a></li><li><a href="#variant.NotFdePointer">NotFdePointer</a></li><li><a href="#variant.OffsetOutOfBounds">OffsetOutOfBounds</a></li><li><a href="#variant.OpcodeBaseZero">OpcodeBaseZero</a></li><li><a href="#variant.PcRelativePointerButSectionBaseIsUndefined">PcRelativePointerButSectionBaseIsUndefined</a></li><li><a href="#variant.PopWithEmptyStack">PopWithEmptyStack</a></li><li><a href="#variant.StackFull">StackFull</a></li><li><a href="#variant.TextRelativePointerButTextBaseIsUndefined">TextRelativePointerButTextBaseIsUndefined</a></li><li><a href="#variant.TooManyIterations">TooManyIterations</a></li><li><a href="#variant.TooManyRegisterRules">TooManyRegisterRules</a></li><li><a href="#variant.TypeMismatch">TypeMismatch</a></li><li><a href="#variant.UnexpectedEof">UnexpectedEof</a></li><li><a href="#variant.UnexpectedNull">UnexpectedNull</a></li><li><a href="#variant.UnknownAbbreviation">UnknownAbbreviation</a></li><li><a href="#variant.UnknownAugmentation">UnknownAugmentation</a></li><li><a href="#variant.UnknownCallFrameInstruction">UnknownCallFrameInstruction</a></li><li><a href="#variant.UnknownExtendedOpcode">UnknownExtendedOpcode</a></li><li><a href="#variant.UnknownForm">UnknownForm</a></li><li><a href="#variant.UnknownIndexSection">UnknownIndexSection</a></li><li><a href="#variant.UnknownPointerEncoding">UnknownPointerEncoding</a></li><li><a href="#variant.UnknownReservedLength">UnknownReservedLength</a></li><li><a href="#variant.UnknownStandardOpcode">UnknownStandardOpcode</a></li><li><a href="#variant.UnknownVersion">UnknownVersion</a></li><li><a href="#variant.UnsupportedAddressIndex">UnsupportedAddressIndex</a></li><li><a href="#variant.UnsupportedAddressSize">UnsupportedAddressSize</a></li><li><a href="#variant.UnsupportedAttributeForm">UnsupportedAttributeForm</a></li><li><a href="#variant.UnsupportedEvaluation">UnsupportedEvaluation</a></li><li><a href="#variant.UnsupportedFieldSize">UnsupportedFieldSize</a></li><li><a href="#variant.UnsupportedOffset">UnsupportedOffset</a></li><li><a href="#variant.UnsupportedOffsetSize">UnsupportedOffsetSize</a></li><li><a href="#variant.UnsupportedPointerEncoding">UnsupportedPointerEncoding</a></li><li><a href="#variant.UnsupportedRegister">UnsupportedRegister</a></li><li><a href="#variant.UnsupportedSegmentSize">UnsupportedSegmentSize</a></li><li><a href="#variant.UnsupportedTypeOperation">UnsupportedTypeOperation</a></li><li><a href="#variant.UnsupportedUnitType">UnsupportedUnitType</a></li><li><a href="#variant.VariableLengthSearchTable">VariableLengthSearchTable</a></li></ul><h3><a href="#implementations">Methods</a></h3><ul class="block method"><li><a href="#method.description">description</a></li></ul><h3><a href="#trait-implementations">Trait Implementations</a></h3><ul class="block trait-implementation"><li><a href="#impl-Clone-for-Error">Clone</a></li><li><a href="#impl-Copy-for-Error">Copy</a></li><li><a href="#impl-Debug-for-Error">Debug</a></li><li><a href="#impl-Display-for-Error">Display</a></li><li><a href="#impl-Eq-for-Error">Eq</a></li><li><a href="#impl-PartialEq-for-Error">PartialEq</a></li><li><a href="#impl-StructuralEq-for-Error">StructuralEq</a></li><li><a href="#impl-StructuralPartialEq-for-Error">StructuralPartialEq</a></li></ul><h3><a href="#synthetic-implementations">Auto Trait Implementations</a></h3><ul class="block synthetic-implementation"><li><a href="#impl-RefUnwindSafe-for-Error">RefUnwindSafe</a></li><li><a href="#impl-Send-for-Error">Send</a></li><li><a href="#impl-Sync-for-Error">Sync</a></li><li><a href="#impl-Unpin-for-Error">Unpin</a></li><li><a href="#impl-UnwindSafe-for-Error">UnwindSafe</a></li></ul><h3><a href="#blanket-implementations">Blanket Implementations</a></h3><ul class="block blanket-implementation"><li><a href="#impl-Any-for-T">Any</a></li><li><a href="#impl-Borrow%3CT%3E-for-T">Borrow&lt;T&gt;</a></li><li><a href="#impl-BorrowMut%3CT%3E-for-T">BorrowMut&lt;T&gt;</a></li><li><a href="#impl-From%3CT%3E-for-T">From&lt;T&gt;</a></li><li><a href="#impl-Into%3CU%3E-for-T">Into&lt;U&gt;</a></li><li><a href="#impl-ToOwned-for-T">ToOwned</a></li><li><a href="#impl-ToString-for-T">ToString</a></li><li><a href="#impl-TryFrom%3CU%3E-for-T">TryFrom&lt;U&gt;</a></li><li><a href="#impl-TryInto%3CU%3E-for-T">TryInto&lt;U&gt;</a></li></ul></section><h2><a href="index.html">In gimli::read</a></h2></div></nav><div class="sidebar-resizer"></div>
<main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><div id="sidebar-button" tabindex="-1"><a href="../../gimli/all.html" title="show sidebar"></a></div><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><div id="help-button" tabindex="-1"><a href="../../help.html" title="help">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Enum <a href="../index.html">gimli</a>::<wbr><a href="index.html">read</a>::<wbr><a class="enum" href="#">Error</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../../src/gimli/read/mod.rs.html#271-434">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub enum Error {
<details class="toggle type-contents-toggle"><summary class="hideme"><span>Show 75 variants</span></summary> Io,
PcRelativePointerButSectionBaseIsUndefined,
TextRelativePointerButTextBaseIsUndefined,
DataRelativePointerButDataBaseIsUndefined,
FuncRelativePointerInBadContext,
CannotParseOmitPointerEncoding,
BadUnsignedLeb128,
BadSignedLeb128,
AbbreviationTagZero,
AttributeFormZero,
BadHasChildren,
BadLength,
UnknownForm,
ExpectedZero,
DuplicateAbbreviationCode,
DuplicateArange,
UnknownReservedLength,
UnknownVersion(<a class="primitive" href="https://doc.rust-lang.org/1.76.0/core/primitive.u64.html">u64</a>),
UnknownAbbreviation,
UnexpectedEof(<a class="struct" href="struct.ReaderOffsetId.html" title="struct gimli::read::ReaderOffsetId">ReaderOffsetId</a>),
UnexpectedNull,
UnknownStandardOpcode(<a class="struct" href="../constants/struct.DwLns.html" title="struct gimli::constants::DwLns">DwLns</a>),
UnknownExtendedOpcode(<a class="struct" href="../constants/struct.DwLne.html" title="struct gimli::constants::DwLne">DwLne</a>),
UnsupportedAddressSize(<a class="primitive" href="https://doc.rust-lang.org/1.76.0/core/primitive.u8.html">u8</a>),
UnsupportedOffsetSize(<a class="primitive" href="https://doc.rust-lang.org/1.76.0/core/primitive.u8.html">u8</a>),
UnsupportedFieldSize(<a class="primitive" href="https://doc.rust-lang.org/1.76.0/core/primitive.u8.html">u8</a>),
MinimumInstructionLengthZero,
MaximumOperationsPerInstructionZero,
LineRangeZero,
OpcodeBaseZero,
BadUtf8,
NotCieId,
NotCiePointer,
NotFdePointer,
BadBranchTarget(<a class="primitive" href="https://doc.rust-lang.org/1.76.0/core/primitive.u64.html">u64</a>),
InvalidPushObjectAddress,
NotEnoughStackItems,
TooManyIterations,
InvalidExpression(<a class="struct" href="../constants/struct.DwOp.html" title="struct gimli::constants::DwOp">DwOp</a>),
UnsupportedEvaluation,
InvalidPiece,
InvalidExpressionTerminator(<a class="primitive" href="https://doc.rust-lang.org/1.76.0/core/primitive.u64.html">u64</a>),
DivisionByZero,
TypeMismatch,
IntegralTypeRequired,
UnsupportedTypeOperation,
InvalidShiftExpression,
UnknownCallFrameInstruction(<a class="struct" href="../constants/struct.DwCfa.html" title="struct gimli::constants::DwCfa">DwCfa</a>),
InvalidAddressRange,
InvalidLocationAddressRange,
CfiInstructionInInvalidContext,
PopWithEmptyStack,
NoUnwindInfoForAddress,
UnsupportedOffset,
UnknownPointerEncoding,
NoEntryAtGivenOffset,
OffsetOutOfBounds,
UnknownAugmentation,
UnsupportedPointerEncoding,
UnsupportedRegister(<a class="primitive" href="https://doc.rust-lang.org/1.76.0/core/primitive.u64.html">u64</a>),
TooManyRegisterRules,
StackFull,
VariableLengthSearchTable,
UnsupportedUnitType,
UnsupportedAddressIndex,
UnsupportedSegmentSize,
MissingUnitDie,
UnsupportedAttributeForm,
MissingFileEntryFormatPath,
ExpectedStringAttributeValue,
InvalidImplicitConst,
InvalidIndexSectionCount,
InvalidIndexSlotCount,
InvalidIndexRow,
UnknownIndexSection,
</details>}</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>An error that occurred when parsing.</p>
</div></details><h2 id="variants" class="variants section-header">Variants<a href="#variants" class="anchor">§</a></h2><div class="variants"><section id="variant.Io" class="variant"><a href="#variant.Io" class="anchor">§</a><h3 class="code-header">Io</h3></section><div class="docblock"><p>An I/O error occurred while reading.</p>
</div><section id="variant.PcRelativePointerButSectionBaseIsUndefined" class="variant"><a href="#variant.PcRelativePointerButSectionBaseIsUndefined" class="anchor">§</a><h3 class="code-header">PcRelativePointerButSectionBaseIsUndefined</h3></section><div class="docblock"><p>Found a PC relative pointer, but the section base is undefined.</p>
</div><section id="variant.TextRelativePointerButTextBaseIsUndefined" class="variant"><a href="#variant.TextRelativePointerButTextBaseIsUndefined" class="anchor">§</a><h3 class="code-header">TextRelativePointerButTextBaseIsUndefined</h3></section><div class="docblock"><p>Found a <code>.text</code> relative pointer, but the <code>.text</code> base is undefined.</p>
</div><section id="variant.DataRelativePointerButDataBaseIsUndefined" class="variant"><a href="#variant.DataRelativePointerButDataBaseIsUndefined" class="anchor">§</a><h3 class="code-header">DataRelativePointerButDataBaseIsUndefined</h3></section><div class="docblock"><p>Found a data relative pointer, but the data base is undefined.</p>
</div><section id="variant.FuncRelativePointerInBadContext" class="variant"><a href="#variant.FuncRelativePointerInBadContext" class="anchor">§</a><h3 class="code-header">FuncRelativePointerInBadContext</h3></section><div class="docblock"><p>Found a function relative pointer in a context that does not have a
function base.</p>
</div><section id="variant.CannotParseOmitPointerEncoding" class="variant"><a href="#variant.CannotParseOmitPointerEncoding" class="anchor">§</a><h3 class="code-header">CannotParseOmitPointerEncoding</h3></section><div class="docblock"><p>Cannot parse a pointer with a <code>DW_EH_PE_omit</code> encoding.</p>
</div><section id="variant.BadUnsignedLeb128" class="variant"><a href="#variant.BadUnsignedLeb128" class="anchor">§</a><h3 class="code-header">BadUnsignedLeb128</h3></section><div class="docblock"><p>An error parsing an unsigned LEB128 value.</p>
</div><section id="variant.BadSignedLeb128" class="variant"><a href="#variant.BadSignedLeb128" class="anchor">§</a><h3 class="code-header">BadSignedLeb128</h3></section><div class="docblock"><p>An error parsing a signed LEB128 value.</p>
</div><section id="variant.AbbreviationTagZero" class="variant"><a href="#variant.AbbreviationTagZero" class="anchor">§</a><h3 class="code-header">AbbreviationTagZero</h3></section><div class="docblock"><p>An abbreviation declared that its tag is zero, but zero is reserved for
null records.</p>
</div><section id="variant.AttributeFormZero" class="variant"><a href="#variant.AttributeFormZero" class="anchor">§</a><h3 class="code-header">AttributeFormZero</h3></section><div class="docblock"><p>An attribute specification declared that its form is zero, but zero is
reserved for null records.</p>
</div><section id="variant.BadHasChildren" class="variant"><a href="#variant.BadHasChildren" class="anchor">§</a><h3 class="code-header">BadHasChildren</h3></section><div class="docblock"><p>The abbreviations has-children byte was not one of
<code>DW_CHILDREN_{yes,no}</code>.</p>
</div><section id="variant.BadLength" class="variant"><a href="#variant.BadLength" class="anchor">§</a><h3 class="code-header">BadLength</h3></section><div class="docblock"><p>The specified length is impossible.</p>
</div><section id="variant.UnknownForm" class="variant"><a href="#variant.UnknownForm" class="anchor">§</a><h3 class="code-header">UnknownForm</h3></section><div class="docblock"><p>Found an unknown <code>DW_FORM_*</code> type.</p>
</div><section id="variant.ExpectedZero" class="variant"><a href="#variant.ExpectedZero" class="anchor">§</a><h3 class="code-header">ExpectedZero</h3></section><div class="docblock"><p>Expected a zero, found something else.</p>
</div><section id="variant.DuplicateAbbreviationCode" class="variant"><a href="#variant.DuplicateAbbreviationCode" class="anchor">§</a><h3 class="code-header">DuplicateAbbreviationCode</h3></section><div class="docblock"><p>Found an abbreviation code that has already been used.</p>
</div><section id="variant.DuplicateArange" class="variant"><a href="#variant.DuplicateArange" class="anchor">§</a><h3 class="code-header">DuplicateArange</h3></section><div class="docblock"><p>Found a duplicate arange.</p>
</div><section id="variant.UnknownReservedLength" class="variant"><a href="#variant.UnknownReservedLength" class="anchor">§</a><h3 class="code-header">UnknownReservedLength</h3></section><div class="docblock"><p>Found an unknown reserved length value.</p>
</div><section id="variant.UnknownVersion" class="variant"><a href="#variant.UnknownVersion" class="anchor">§</a><h3 class="code-header">UnknownVersion(<a class="primitive" href="https://doc.rust-lang.org/1.76.0/core/primitive.u64.html">u64</a>)</h3></section><div class="docblock"><p>Found an unknown DWARF version.</p>
</div><section id="variant.UnknownAbbreviation" class="variant"><a href="#variant.UnknownAbbreviation" class="anchor">§</a><h3 class="code-header">UnknownAbbreviation</h3></section><div class="docblock"><p>Found a record with an unknown abbreviation code.</p>
</div><section id="variant.UnexpectedEof" class="variant"><a href="#variant.UnexpectedEof" class="anchor">§</a><h3 class="code-header">UnexpectedEof(<a class="struct" href="struct.ReaderOffsetId.html" title="struct gimli::read::ReaderOffsetId">ReaderOffsetId</a>)</h3></section><div class="docblock"><p>Hit the end of input before it was expected.</p>
</div><section id="variant.UnexpectedNull" class="variant"><a href="#variant.UnexpectedNull" class="anchor">§</a><h3 class="code-header">UnexpectedNull</h3></section><div class="docblock"><p>Read a null entry before it was expected.</p>
</div><section id="variant.UnknownStandardOpcode" class="variant"><a href="#variant.UnknownStandardOpcode" class="anchor">§</a><h3 class="code-header">UnknownStandardOpcode(<a class="struct" href="../constants/struct.DwLns.html" title="struct gimli::constants::DwLns">DwLns</a>)</h3></section><div class="docblock"><p>Found an unknown standard opcode.</p>
</div><section id="variant.UnknownExtendedOpcode" class="variant"><a href="#variant.UnknownExtendedOpcode" class="anchor">§</a><h3 class="code-header">UnknownExtendedOpcode(<a class="struct" href="../constants/struct.DwLne.html" title="struct gimli::constants::DwLne">DwLne</a>)</h3></section><div class="docblock"><p>Found an unknown extended opcode.</p>
</div><section id="variant.UnsupportedAddressSize" class="variant"><a href="#variant.UnsupportedAddressSize" class="anchor">§</a><h3 class="code-header">UnsupportedAddressSize(<a class="primitive" href="https://doc.rust-lang.org/1.76.0/core/primitive.u8.html">u8</a>)</h3></section><div class="docblock"><p>The specified address size is not supported.</p>
</div><section id="variant.UnsupportedOffsetSize" class="variant"><a href="#variant.UnsupportedOffsetSize" class="anchor">§</a><h3 class="code-header">UnsupportedOffsetSize(<a class="primitive" href="https://doc.rust-lang.org/1.76.0/core/primitive.u8.html">u8</a>)</h3></section><div class="docblock"><p>The specified offset size is not supported.</p>
</div><section id="variant.UnsupportedFieldSize" class="variant"><a href="#variant.UnsupportedFieldSize" class="anchor">§</a><h3 class="code-header">UnsupportedFieldSize(<a class="primitive" href="https://doc.rust-lang.org/1.76.0/core/primitive.u8.html">u8</a>)</h3></section><div class="docblock"><p>The specified field size is not supported.</p>
</div><section id="variant.MinimumInstructionLengthZero" class="variant"><a href="#variant.MinimumInstructionLengthZero" class="anchor">§</a><h3 class="code-header">MinimumInstructionLengthZero</h3></section><div class="docblock"><p>The minimum instruction length must not be zero.</p>
</div><section id="variant.MaximumOperationsPerInstructionZero" class="variant"><a href="#variant.MaximumOperationsPerInstructionZero" class="anchor">§</a><h3 class="code-header">MaximumOperationsPerInstructionZero</h3></section><div class="docblock"><p>The maximum operations per instruction must not be zero.</p>
</div><section id="variant.LineRangeZero" class="variant"><a href="#variant.LineRangeZero" class="anchor">§</a><h3 class="code-header">LineRangeZero</h3></section><div class="docblock"><p>The line range must not be zero.</p>
</div><section id="variant.OpcodeBaseZero" class="variant"><a href="#variant.OpcodeBaseZero" class="anchor">§</a><h3 class="code-header">OpcodeBaseZero</h3></section><div class="docblock"><p>The opcode base must not be zero.</p>
</div><section id="variant.BadUtf8" class="variant"><a href="#variant.BadUtf8" class="anchor">§</a><h3 class="code-header">BadUtf8</h3></section><div class="docblock"><p>Found an invalid UTF-8 string.</p>
</div><section id="variant.NotCieId" class="variant"><a href="#variant.NotCieId" class="anchor">§</a><h3 class="code-header">NotCieId</h3></section><div class="docblock"><p>Expected to find the CIE ID, but found something else.</p>
</div><section id="variant.NotCiePointer" class="variant"><a href="#variant.NotCiePointer" class="anchor">§</a><h3 class="code-header">NotCiePointer</h3></section><div class="docblock"><p>Expected to find a pointer to a CIE, but found the CIE ID instead.</p>
</div><section id="variant.NotFdePointer" class="variant"><a href="#variant.NotFdePointer" class="anchor">§</a><h3 class="code-header">NotFdePointer</h3></section><div class="docblock"><p>Expected to find a pointer to an FDE, but found a CIE instead.</p>
</div><section id="variant.BadBranchTarget" class="variant"><a href="#variant.BadBranchTarget" class="anchor">§</a><h3 class="code-header">BadBranchTarget(<a class="primitive" href="https://doc.rust-lang.org/1.76.0/core/primitive.u64.html">u64</a>)</h3></section><div class="docblock"><p>Invalid branch target for a DW_OP_bra or DW_OP_skip.</p>
</div><section id="variant.InvalidPushObjectAddress" class="variant"><a href="#variant.InvalidPushObjectAddress" class="anchor">§</a><h3 class="code-header">InvalidPushObjectAddress</h3></section><div class="docblock"><p>DW_OP_push_object_address used but no address passed in.</p>
</div><section id="variant.NotEnoughStackItems" class="variant"><a href="#variant.NotEnoughStackItems" class="anchor">§</a><h3 class="code-header">NotEnoughStackItems</h3></section><div class="docblock"><p>Not enough items on the stack when evaluating an expression.</p>
</div><section id="variant.TooManyIterations" class="variant"><a href="#variant.TooManyIterations" class="anchor">§</a><h3 class="code-header">TooManyIterations</h3></section><div class="docblock"><p>Too many iterations to compute the expression.</p>
</div><section id="variant.InvalidExpression" class="variant"><a href="#variant.InvalidExpression" class="anchor">§</a><h3 class="code-header">InvalidExpression(<a class="struct" href="../constants/struct.DwOp.html" title="struct gimli::constants::DwOp">DwOp</a>)</h3></section><div class="docblock"><p>An unrecognized operation was found while parsing a DWARF
expression.</p>
</div><section id="variant.UnsupportedEvaluation" class="variant"><a href="#variant.UnsupportedEvaluation" class="anchor">§</a><h3 class="code-header">UnsupportedEvaluation</h3></section><div class="docblock"><p>An unsupported operation was found while evaluating a DWARF expression.</p>
</div><section id="variant.InvalidPiece" class="variant"><a href="#variant.InvalidPiece" class="anchor">§</a><h3 class="code-header">InvalidPiece</h3></section><div class="docblock"><p>The expression had a piece followed by an expression
terminator without a piece.</p>
</div><section id="variant.InvalidExpressionTerminator" class="variant"><a href="#variant.InvalidExpressionTerminator" class="anchor">§</a><h3 class="code-header">InvalidExpressionTerminator(<a class="primitive" href="https://doc.rust-lang.org/1.76.0/core/primitive.u64.html">u64</a>)</h3></section><div class="docblock"><p>An expression-terminating operation was followed by something
other than the end of the expression or a piece operation.</p>
</div><section id="variant.DivisionByZero" class="variant"><a href="#variant.DivisionByZero" class="anchor">§</a><h3 class="code-header">DivisionByZero</h3></section><div class="docblock"><p>Division or modulus by zero when evaluating an expression.</p>
</div><section id="variant.TypeMismatch" class="variant"><a href="#variant.TypeMismatch" class="anchor">§</a><h3 class="code-header">TypeMismatch</h3></section><div class="docblock"><p>An expression operation used mismatching types.</p>
</div><section id="variant.IntegralTypeRequired" class="variant"><a href="#variant.IntegralTypeRequired" class="anchor">§</a><h3 class="code-header">IntegralTypeRequired</h3></section><div class="docblock"><p>An expression operation required an integral type but saw a
floating point type.</p>
</div><section id="variant.UnsupportedTypeOperation" class="variant"><a href="#variant.UnsupportedTypeOperation" class="anchor">§</a><h3 class="code-header">UnsupportedTypeOperation</h3></section><div class="docblock"><p>An expression operation used types that are not supported.</p>
</div><section id="variant.InvalidShiftExpression" class="variant"><a href="#variant.InvalidShiftExpression" class="anchor">§</a><h3 class="code-header">InvalidShiftExpression</h3></section><div class="docblock"><p>The shift value in an expression must be a non-negative integer.</p>
</div><section id="variant.UnknownCallFrameInstruction" class="variant"><a href="#variant.UnknownCallFrameInstruction" class="anchor">§</a><h3 class="code-header">UnknownCallFrameInstruction(<a class="struct" href="../constants/struct.DwCfa.html" title="struct gimli::constants::DwCfa">DwCfa</a>)</h3></section><div class="docblock"><p>An unknown DW_CFA_* instruction.</p>
</div><section id="variant.InvalidAddressRange" class="variant"><a href="#variant.InvalidAddressRange" class="anchor">§</a><h3 class="code-header">InvalidAddressRange</h3></section><div class="docblock"><p>The end of an address range was before the beginning.</p>
</div><section id="variant.InvalidLocationAddressRange" class="variant"><a href="#variant.InvalidLocationAddressRange" class="anchor">§</a><h3 class="code-header">InvalidLocationAddressRange</h3></section><div class="docblock"><p>The end offset of a loc list entry was before the beginning.</p>
</div><section id="variant.CfiInstructionInInvalidContext" class="variant"><a href="#variant.CfiInstructionInInvalidContext" class="anchor">§</a><h3 class="code-header">CfiInstructionInInvalidContext</h3></section><div class="docblock"><p>Encountered a call frame instruction in a context in which it is not
valid.</p>
</div><section id="variant.PopWithEmptyStack" class="variant"><a href="#variant.PopWithEmptyStack" class="anchor">§</a><h3 class="code-header">PopWithEmptyStack</h3></section><div class="docblock"><p>When evaluating call frame instructions, found a <code>DW_CFA_restore_state</code>
stack pop instruction, but the stack was empty, and had nothing to pop.</p>
</div><section id="variant.NoUnwindInfoForAddress" class="variant"><a href="#variant.NoUnwindInfoForAddress" class="anchor">§</a><h3 class="code-header">NoUnwindInfoForAddress</h3></section><div class="docblock"><p>Do not have unwind info for the given address.</p>
</div><section id="variant.UnsupportedOffset" class="variant"><a href="#variant.UnsupportedOffset" class="anchor">§</a><h3 class="code-header">UnsupportedOffset</h3></section><div class="docblock"><p>An offset value was larger than the maximum supported value.</p>
</div><section id="variant.UnknownPointerEncoding" class="variant"><a href="#variant.UnknownPointerEncoding" class="anchor">§</a><h3 class="code-header">UnknownPointerEncoding</h3></section><div class="docblock"><p>The given pointer encoding is either unknown or invalid.</p>
</div><section id="variant.NoEntryAtGivenOffset" class="variant"><a href="#variant.NoEntryAtGivenOffset" class="anchor">§</a><h3 class="code-header">NoEntryAtGivenOffset</h3></section><div class="docblock"><p>Did not find an entry at the given offset.</p>
</div><section id="variant.OffsetOutOfBounds" class="variant"><a href="#variant.OffsetOutOfBounds" class="anchor">§</a><h3 class="code-header">OffsetOutOfBounds</h3></section><div class="docblock"><p>The given offset is out of bounds.</p>
</div><section id="variant.UnknownAugmentation" class="variant"><a href="#variant.UnknownAugmentation" class="anchor">§</a><h3 class="code-header">UnknownAugmentation</h3></section><div class="docblock"><p>Found an unknown CFI augmentation.</p>
</div><section id="variant.UnsupportedPointerEncoding" class="variant"><a href="#variant.UnsupportedPointerEncoding" class="anchor">§</a><h3 class="code-header">UnsupportedPointerEncoding</h3></section><div class="docblock"><p>We do not support the given pointer encoding yet.</p>
</div><section id="variant.UnsupportedRegister" class="variant"><a href="#variant.UnsupportedRegister" class="anchor">§</a><h3 class="code-header">UnsupportedRegister(<a class="primitive" href="https://doc.rust-lang.org/1.76.0/core/primitive.u64.html">u64</a>)</h3></section><div class="docblock"><p>Registers larger than <code>u16</code> are not supported.</p>
</div><section id="variant.TooManyRegisterRules" class="variant"><a href="#variant.TooManyRegisterRules" class="anchor">§</a><h3 class="code-header">TooManyRegisterRules</h3></section><div class="docblock"><p>The CFI program defined more register rules than we have storage for.</p>
</div><section id="variant.StackFull" class="variant"><a href="#variant.StackFull" class="anchor">§</a><h3 class="code-header">StackFull</h3></section><div class="docblock"><p>Attempted to push onto the CFI or evaluation stack, but it was already
at full capacity.</p>
</div><section id="variant.VariableLengthSearchTable" class="variant"><a href="#variant.VariableLengthSearchTable" class="anchor">§</a><h3 class="code-header">VariableLengthSearchTable</h3></section><div class="docblock"><p>The <code>.eh_frame_hdr</code> binary search table claims to be variable-length encoded,
which makes binary search impossible.</p>
</div><section id="variant.UnsupportedUnitType" class="variant"><a href="#variant.UnsupportedUnitType" class="anchor">§</a><h3 class="code-header">UnsupportedUnitType</h3></section><div class="docblock"><p>The <code>DW_UT_*</code> value for this unit is not supported yet.</p>
</div><section id="variant.UnsupportedAddressIndex" class="variant"><a href="#variant.UnsupportedAddressIndex" class="anchor">§</a><h3 class="code-header">UnsupportedAddressIndex</h3></section><div class="docblock"><p>Ranges using AddressIndex are not supported yet.</p>
</div><section id="variant.UnsupportedSegmentSize" class="variant"><a href="#variant.UnsupportedSegmentSize" class="anchor">§</a><h3 class="code-header">UnsupportedSegmentSize</h3></section><div class="docblock"><p>Nonzero segment selector sizes arent supported yet.</p>
</div><section id="variant.MissingUnitDie" class="variant"><a href="#variant.MissingUnitDie" class="anchor">§</a><h3 class="code-header">MissingUnitDie</h3></section><div class="docblock"><p>A compilation unit or type unit is missing its top level DIE.</p>
</div><section id="variant.UnsupportedAttributeForm" class="variant"><a href="#variant.UnsupportedAttributeForm" class="anchor">§</a><h3 class="code-header">UnsupportedAttributeForm</h3></section><div class="docblock"><p>A DIE attribute used an unsupported form.</p>
</div><section id="variant.MissingFileEntryFormatPath" class="variant"><a href="#variant.MissingFileEntryFormatPath" class="anchor">§</a><h3 class="code-header">MissingFileEntryFormatPath</h3></section><div class="docblock"><p>Missing DW_LNCT_path in file entry format.</p>
</div><section id="variant.ExpectedStringAttributeValue" class="variant"><a href="#variant.ExpectedStringAttributeValue" class="anchor">§</a><h3 class="code-header">ExpectedStringAttributeValue</h3></section><div class="docblock"><p>Expected an attribute value to be a string form.</p>
</div><section id="variant.InvalidImplicitConst" class="variant"><a href="#variant.InvalidImplicitConst" class="anchor">§</a><h3 class="code-header">InvalidImplicitConst</h3></section><div class="docblock"><p><code>DW_FORM_implicit_const</code> used in an invalid context.</p>
</div><section id="variant.InvalidIndexSectionCount" class="variant"><a href="#variant.InvalidIndexSectionCount" class="anchor">§</a><h3 class="code-header">InvalidIndexSectionCount</h3></section><div class="docblock"><p>Invalid section count in <code>.dwp</code> index.</p>
</div><section id="variant.InvalidIndexSlotCount" class="variant"><a href="#variant.InvalidIndexSlotCount" class="anchor">§</a><h3 class="code-header">InvalidIndexSlotCount</h3></section><div class="docblock"><p>Invalid slot count in <code>.dwp</code> index.</p>
</div><section id="variant.InvalidIndexRow" class="variant"><a href="#variant.InvalidIndexRow" class="anchor">§</a><h3 class="code-header">InvalidIndexRow</h3></section><div class="docblock"><p>Invalid hash row in <code>.dwp</code> index.</p>
</div><section id="variant.UnknownIndexSection" class="variant"><a href="#variant.UnknownIndexSection" class="anchor">§</a><h3 class="code-header">UnknownIndexSection</h3></section><div class="docblock"><p>Unknown section type in <code>.dwp</code> index.</p>
</div></div><h2 id="implementations" class="section-header">Implementations<a href="#implementations" class="anchor">§</a></h2><div id="implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-Error" class="impl"><a class="src rightside" href="../../src/gimli/read/mod.rs.html#443-585">source</a><a href="#impl-Error" class="anchor">§</a><h3 class="code-header">impl <a class="enum" href="enum.Error.html" title="enum gimli::read::Error">Error</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.description" class="method"><a class="src rightside" href="../../src/gimli/read/mod.rs.html#445-584">source</a><h4 class="code-header">pub fn <a href="#method.description" class="fn">description</a>(&amp;self) -&gt; &amp;<a class="primitive" href="https://doc.rust-lang.org/1.76.0/core/primitive.str.html">str</a></h4></section></summary><div class="docblock"><p>A short description of the error.</p>
</div></details></div></details></div><h2 id="trait-implementations" class="section-header">Trait Implementations<a href="#trait-implementations" class="anchor">§</a></h2><div id="trait-implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-Clone-for-Error" class="impl"><a class="src rightside" href="../../src/gimli/read/mod.rs.html#270">source</a><a href="#impl-Clone-for-Error" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> for <a class="enum" href="enum.Error.html" title="enum gimli::read::Error">Error</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.clone" class="method trait-impl"><a class="src rightside" href="../../src/gimli/read/mod.rs.html#270">source</a><a href="#method.clone" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.76.0/core/clone/trait.Clone.html#tymethod.clone" class="fn">clone</a>(&amp;self) -&gt; <a class="enum" href="enum.Error.html" title="enum gimli::read::Error">Error</a></h4></section></summary><div class='docblock'>Returns a copy of the value. <a href="https://doc.rust-lang.org/1.76.0/core/clone/trait.Clone.html#tymethod.clone">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.clone_from" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.76.0/src/core/clone.rs.html#169">source</a></span><a href="#method.clone_from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.76.0/core/clone/trait.Clone.html#method.clone_from" class="fn">clone_from</a>(&amp;mut self, source: <a class="primitive" href="https://doc.rust-lang.org/1.76.0/core/primitive.reference.html">&amp;Self</a>)</h4></section></summary><div class='docblock'>Performs copy-assignment from <code>source</code>. <a href="https://doc.rust-lang.org/1.76.0/core/clone/trait.Clone.html#method.clone_from">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Debug-for-Error" class="impl"><a class="src rightside" href="../../src/gimli/read/mod.rs.html#270">source</a><a href="#impl-Debug-for-Error" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="enum" href="enum.Error.html" title="enum gimli::read::Error">Error</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.fmt-1" class="method trait-impl"><a class="src rightside" href="../../src/gimli/read/mod.rs.html#270">source</a><a href="#method.fmt-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.76.0/core/fmt/trait.Debug.html#tymethod.fmt" class="fn">fmt</a>(&amp;self, f: &amp;mut <a class="struct" href="https://doc.rust-lang.org/1.76.0/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a>&lt;'_&gt;) -&gt; <a class="type" href="https://doc.rust-lang.org/1.76.0/core/fmt/type.Result.html" title="type core::fmt::Result">Result</a></h4></section></summary><div class='docblock'>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/1.76.0/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Display-for-Error" class="impl"><a class="src rightside" href="../../src/gimli/read/mod.rs.html#436-441">source</a><a href="#impl-Display-for-Error" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/fmt/trait.Display.html" title="trait core::fmt::Display">Display</a> for <a class="enum" href="enum.Error.html" title="enum gimli::read::Error">Error</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.fmt" class="method trait-impl"><a class="src rightside" href="../../src/gimli/read/mod.rs.html#438-440">source</a><a href="#method.fmt" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.76.0/core/fmt/trait.Display.html#tymethod.fmt" class="fn">fmt</a>(&amp;self, f: &amp;mut <a class="struct" href="https://doc.rust-lang.org/1.76.0/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a>&lt;'_&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.76.0/core/primitive.unit.html">()</a>, <a class="struct" href="https://doc.rust-lang.org/1.76.0/core/fmt/struct.Error.html" title="struct core::fmt::Error">Error</a>&gt;</h4></section></summary><div class='docblock'>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/1.76.0/core/fmt/trait.Display.html#tymethod.fmt">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialEq-for-Error" class="impl"><a class="src rightside" href="../../src/gimli/read/mod.rs.html#270">source</a><a href="#impl-PartialEq-for-Error" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a> for <a class="enum" href="enum.Error.html" title="enum gimli::read::Error">Error</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.eq" class="method trait-impl"><a class="src rightside" href="../../src/gimli/read/mod.rs.html#270">source</a><a href="#method.eq" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.76.0/core/cmp/trait.PartialEq.html#tymethod.eq" class="fn">eq</a>(&amp;self, other: &amp;<a class="enum" href="enum.Error.html" title="enum gimli::read::Error">Error</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.76.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used
by <code>==</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.ne" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.76.0/src/core/cmp.rs.html#242">source</a></span><a href="#method.ne" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.76.0/core/cmp/trait.PartialEq.html#method.ne" class="fn">ne</a>(&amp;self, other: <a class="primitive" href="https://doc.rust-lang.org/1.76.0/core/primitive.reference.html">&amp;Rhs</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.76.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>This method tests for <code>!=</code>. The default implementation is almost always
sufficient, and should not be overridden without very good reason.</div></details></div></details><section id="impl-Copy-for-Error" class="impl"><a class="src rightside" href="../../src/gimli/read/mod.rs.html#270">source</a><a href="#impl-Copy-for-Error" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.Copy.html" title="trait core::marker::Copy">Copy</a> for <a class="enum" href="enum.Error.html" title="enum gimli::read::Error">Error</a></h3></section><section id="impl-Eq-for-Error" class="impl"><a class="src rightside" href="../../src/gimli/read/mod.rs.html#270">source</a><a href="#impl-Eq-for-Error" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/cmp/trait.Eq.html" title="trait core::cmp::Eq">Eq</a> for <a class="enum" href="enum.Error.html" title="enum gimli::read::Error">Error</a></h3></section><section id="impl-StructuralEq-for-Error" class="impl"><a class="src rightside" href="../../src/gimli/read/mod.rs.html#270">source</a><a href="#impl-StructuralEq-for-Error" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.StructuralEq.html" title="trait core::marker::StructuralEq">StructuralEq</a> for <a class="enum" href="enum.Error.html" title="enum gimli::read::Error">Error</a></h3></section><section id="impl-StructuralPartialEq-for-Error" class="impl"><a class="src rightside" href="../../src/gimli/read/mod.rs.html#270">source</a><a href="#impl-StructuralPartialEq-for-Error" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.StructuralPartialEq.html" title="trait core::marker::StructuralPartialEq">StructuralPartialEq</a> for <a class="enum" href="enum.Error.html" title="enum gimli::read::Error">Error</a></h3></section></div><h2 id="synthetic-implementations" class="section-header">Auto Trait Implementations<a href="#synthetic-implementations" class="anchor">§</a></h2><div id="synthetic-implementations-list"><section id="impl-RefUnwindSafe-for-Error" class="impl"><a href="#impl-RefUnwindSafe-for-Error" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a> for <a class="enum" href="enum.Error.html" title="enum gimli::read::Error">Error</a></h3></section><section id="impl-Send-for-Error" class="impl"><a href="#impl-Send-for-Error" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="enum" href="enum.Error.html" title="enum gimli::read::Error">Error</a></h3></section><section id="impl-Sync-for-Error" class="impl"><a href="#impl-Sync-for-Error" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="enum" href="enum.Error.html" title="enum gimli::read::Error">Error</a></h3></section><section id="impl-Unpin-for-Error" class="impl"><a href="#impl-Unpin-for-Error" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="enum" href="enum.Error.html" title="enum gimli::read::Error">Error</a></h3></section><section id="impl-UnwindSafe-for-Error" class="impl"><a href="#impl-UnwindSafe-for-Error" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a> for <a class="enum" href="enum.Error.html" title="enum gimli::read::Error">Error</a></h3></section></div><h2 id="blanket-implementations" class="section-header">Blanket Implementations<a href="#blanket-implementations" class="anchor">§</a></h2><div id="blanket-implementations-list"><details class="toggle implementors-toggle"><summary><section id="impl-Any-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.76.0/src/core/any.rs.html#140">source</a><a href="#impl-Any-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T<div class="where">where
T: 'static + ?<a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.type_id" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.76.0/src/core/any.rs.html#141">source</a><a href="#method.type_id" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.76.0/core/any/trait.Any.html#tymethod.type_id" class="fn">type_id</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.76.0/core/any/struct.TypeId.html" title="struct core::any::TypeId">TypeId</a></h4></section></summary><div class='docblock'>Gets the <code>TypeId</code> of <code>self</code>. <a href="https://doc.rust-lang.org/1.76.0/core/any/trait.Any.html#tymethod.type_id">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Borrow%3CT%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.76.0/src/core/borrow.rs.html#208">source</a><a href="#impl-Borrow%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a>&lt;T&gt; for T<div class="where">where
T: ?<a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.borrow" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.76.0/src/core/borrow.rs.html#210">source</a><a href="#method.borrow" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.76.0/core/borrow/trait.Borrow.html#tymethod.borrow" class="fn">borrow</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.76.0/core/primitive.reference.html">&amp;T</a></h4></section></summary><div class='docblock'>Immutably borrows from an owned value. <a href="https://doc.rust-lang.org/1.76.0/core/borrow/trait.Borrow.html#tymethod.borrow">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-BorrowMut%3CT%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.76.0/src/core/borrow.rs.html#216">source</a><a href="#impl-BorrowMut%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/borrow/trait.BorrowMut.html" title="trait core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt; for T<div class="where">where
T: ?<a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.borrow_mut" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.76.0/src/core/borrow.rs.html#217">source</a><a href="#method.borrow_mut" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.76.0/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut" class="fn">borrow_mut</a>(&amp;mut self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.76.0/core/primitive.reference.html">&amp;mut T</a></h4></section></summary><div class='docblock'>Mutably borrows from an owned value. <a href="https://doc.rust-lang.org/1.76.0/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-From%3CT%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.76.0/src/core/convert/mod.rs.html#763">source</a><a href="#impl-From%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;T&gt; for T</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.76.0/src/core/convert/mod.rs.html#766">source</a><a href="#method.from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.76.0/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(t: T) -&gt; T</h4></section></summary><div class="docblock"><p>Returns the argument unchanged.</p>
</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Into%3CU%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.76.0/src/core/convert/mod.rs.html#747-749">source</a><a href="#impl-Into%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T, U&gt; <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;U&gt; for T<div class="where">where
U: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;T&gt;,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.76.0/src/core/convert/mod.rs.html#756">source</a><a href="#method.into" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.76.0/core/convert/trait.Into.html#tymethod.into" class="fn">into</a>(self) -&gt; U</h4></section></summary><div class="docblock"><p>Calls <code>U::from(self)</code>.</p>
<p>That is, this conversion is whatever the implementation of
<code><a href="https://doc.rust-lang.org/1.76.0/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;T&gt; for U</code> chooses to do.</p>
</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-ToOwned-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.76.0/src/alloc/borrow.rs.html#83-85">source</a><a href="#impl-ToOwned-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.76.0/alloc/borrow/trait.ToOwned.html" title="trait alloc::borrow::ToOwned">ToOwned</a> for T<div class="where">where
T: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Owned" class="associatedtype trait-impl"><a href="#associatedtype.Owned" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.76.0/alloc/borrow/trait.ToOwned.html#associatedtype.Owned" class="associatedtype">Owned</a> = T</h4></section></summary><div class='docblock'>The resulting type after obtaining ownership.</div></details><details class="toggle method-toggle" open><summary><section id="method.to_owned" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.76.0/src/alloc/borrow.rs.html#88">source</a><a href="#method.to_owned" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.76.0/alloc/borrow/trait.ToOwned.html#tymethod.to_owned" class="fn">to_owned</a>(&amp;self) -&gt; T</h4></section></summary><div class='docblock'>Creates owned data from borrowed data, usually by cloning. <a href="https://doc.rust-lang.org/1.76.0/alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.clone_into" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.76.0/src/alloc/borrow.rs.html#92">source</a><a href="#method.clone_into" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.76.0/alloc/borrow/trait.ToOwned.html#method.clone_into" class="fn">clone_into</a>(&amp;self, target: <a class="primitive" href="https://doc.rust-lang.org/1.76.0/core/primitive.reference.html">&amp;mut T</a>)</h4></section></summary><div class='docblock'>Uses borrowed data to replace owned data, usually by cloning. <a href="https://doc.rust-lang.org/1.76.0/alloc/borrow/trait.ToOwned.html#method.clone_into">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-ToString-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.76.0/src/alloc/string.rs.html#2600">source</a><a href="#impl-ToString-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.76.0/alloc/string/trait.ToString.html" title="trait alloc::string::ToString">ToString</a> for T<div class="where">where
T: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/fmt/trait.Display.html" title="trait core::fmt::Display">Display</a> + ?<a class="trait" href="https://doc.rust-lang.org/1.76.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.to_string" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.76.0/src/alloc/string.rs.html#2606">source</a><a href="#method.to_string" class="anchor">§</a><h4 class="code-header">default fn <a href="https://doc.rust-lang.org/1.76.0/alloc/string/trait.ToString.html#tymethod.to_string" class="fn">to_string</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.76.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a></h4></section></summary><div class='docblock'>Converts the given value to a <code>String</code>. <a href="https://doc.rust-lang.org/1.76.0/alloc/string/trait.ToString.html#tymethod.to_string">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-TryFrom%3CU%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.76.0/src/core/convert/mod.rs.html#803-805">source</a><a href="#impl-TryFrom%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T, U&gt; <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;U&gt; for T<div class="where">where
U: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;T&gt;,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Error" class="associatedtype trait-impl"><a href="#associatedtype.Error" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.76.0/core/convert/trait.TryFrom.html#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></h4></section></summary><div class='docblock'>The type returned in the event of a conversion error.</div></details><details class="toggle method-toggle" open><summary><section id="method.try_from" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.76.0/src/core/convert/mod.rs.html#810">source</a><a href="#method.try_from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.76.0/core/convert/trait.TryFrom.html#tymethod.try_from" class="fn">try_from</a>(value: U) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;T, &lt;T as <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;U&gt;&gt;::<a class="associatedtype" href="https://doc.rust-lang.org/1.76.0/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div class='docblock'>Performs the conversion.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-TryInto%3CU%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.76.0/src/core/convert/mod.rs.html#788-790">source</a><a href="#impl-TryInto%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T, U&gt; <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/convert/trait.TryInto.html" title="trait core::convert::TryInto">TryInto</a>&lt;U&gt; for T<div class="where">where
U: <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;T&gt;,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Error-1" class="associatedtype trait-impl"><a href="#associatedtype.Error-1" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.76.0/core/convert/trait.TryInto.html#associatedtype.Error" class="associatedtype">Error</a> = &lt;U as <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a class="associatedtype" href="https://doc.rust-lang.org/1.76.0/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a></h4></section></summary><div class='docblock'>The type returned in the event of a conversion error.</div></details><details class="toggle method-toggle" open><summary><section id="method.try_into" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.76.0/src/core/convert/mod.rs.html#795">source</a><a href="#method.try_into" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.76.0/core/convert/trait.TryInto.html#tymethod.try_into" class="fn">try_into</a>(self) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.76.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;U, &lt;U as <a class="trait" href="https://doc.rust-lang.org/1.76.0/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a class="associatedtype" href="https://doc.rust-lang.org/1.76.0/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div class='docblock'>Performs the conversion.</div></details></div></details></div></section></div></main></body></html>