Enum gimli::Error
[−]
[src]
pub enum Error {
BadUnsignedLeb128,
BadSignedLeb128,
AbbreviationTagZero,
AttributeFormZero,
BadHasChildren,
BadLength,
UnknownForm,
ExpectedZero,
DuplicateAbbreviationCode,
DuplicateArange,
UnknownReservedLength,
UnknownVersion,
UnitHeaderLengthTooShort,
UnknownAbbreviation,
UnexpectedEof,
UnknownStandardOpcode(DwLns),
UnknownExtendedOpcode(DwLne),
UnsupportedAddressSize(u8),
UnsupportedFieldSize(u8),
MinimumInstructionLengthZero,
MaximumOperationsPerInstructionZero,
LineRangeZero,
OpcodeBaseZero,
BadFileIndex,
}An error that occurred when parsing.
Variants
BadUnsignedLeb128An error parsing an unsigned LEB128 value.
BadSignedLeb128An error parsing a signed LEB128 value.
AbbreviationTagZeroAn abbreviation declared that its tag is zero, but zero is reserved for null records.
AttributeFormZeroAn attribute specification declared that its form is zero, but zero is reserved for null records.
BadHasChildrenThe abbreviation's has-children byte was not one of
DW_CHILDREN_{yes,no}.
BadLengthThe specified length is impossible.
UnknownFormFound an unknown DW_FORM_* type.
ExpectedZeroExpected a zero, found something else.
DuplicateAbbreviationCodeFound an abbreviation code that has already been used.
DuplicateArangeFound a duplicate arange.
UnknownReservedLengthFound an unknown reserved length value.
UnknownVersionFound an unknown DWARF version.
UnitHeaderLengthTooShortThe unit header's claimed length is too short to even hold the header itself.
UnknownAbbreviationFound a record with an unknown abbreviation code.
UnexpectedEofHit the end of input before it was expected.
UnknownStandardOpcode(DwLns)Found an unknown standard opcode.
UnknownExtendedOpcode(DwLne)Found an unknown extended opcode.
UnsupportedAddressSize(u8)The specified address size is not supported.
UnsupportedFieldSize(u8)The specified field size is not supported.
MinimumInstructionLengthZeroThe minimum instruction length must not be zero.
MaximumOperationsPerInstructionZeroThe maximum operations per instruction must not be zero.
LineRangeZeroThe line range must not be zero.
OpcodeBaseZeroThe opcode base must not be zero.
BadFileIndexThe specified file index was out of bounds.
Trait Implementations
impl Eq for Error[src]
impl PartialEq for Error[src]
fn eq(&self, __arg_0: &Error) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &Error) -> bool
This method tests for !=.
impl Copy for Error[src]
impl Clone for Error[src]
fn clone(&self) -> Error
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more