Enum gimli::Error
[−]
[src]
pub enum Error {
BadUnsignedLeb128,
BadSignedLeb128,
AbbreviationTagZero,
AttributeFormZero,
BadHasChildren,
UnknownForm,
ExpectedZero,
DuplicateAbbreviationCode,
UnknownReservedLength,
UnknownVersion,
UnitHeaderLengthTooShort,
UnknownAbbreviation,
UnexpectedEof,
}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}.
UnknownFormFound an unknown DW_FORM_* type.
ExpectedZeroExpected a zero, found something else.
DuplicateAbbreviationCodeFound an abbreviation code that has already been used.
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.
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, other: &Rhs) -> bool1.0.0
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