Enum gimli::write::Error [−][src]
pub enum Error {
Show 18 variants
OffsetOutOfBounds,
LengthOutOfBounds,
InvalidAttributeValue,
ValueTooLarge,
UnsupportedWordSize(u8),
UnsupportedVersion(u16),
InitialLengthOverflow,
InvalidAddress,
InvalidReference,
NeedVersion(u16),
LineStringFormMismatch,
InvalidRange,
IncompatibleLineProgramEncoding,
InvalidFrameCodeOffset(u32),
InvalidFrameDataOffset(i32),
UnsupportedPointerEncoding(DwEhPe),
UnsupportedCfiExpressionReference,
UnsupportedExpressionForwardReference,
}Expand description
An error that occurred when writing.
Variants
The given offset is out of bounds.
The given length is out of bounds.
The attribute value is an invalid for writing.
The value is too large for the encoding form.
UnsupportedWordSize(u8)Unsupported word size.
Tuple Fields of UnsupportedWordSize
0: u8UnsupportedVersion(u16)Unsupported DWARF version.
Tuple Fields of UnsupportedVersion
0: u16The unit length is too large for the requested DWARF format.
The address is invalid.
The reference is invalid.
NeedVersion(u16)A requested feature requires a different DWARF version.
Tuple Fields of NeedVersion
0: u16Strings in line number program have mismatched forms.
The range is empty or otherwise invalid.
The line number program encoding is incompatible with the unit encoding.
InvalidFrameCodeOffset(u32)Could not encode code offset for a frame instruction.
Tuple Fields of InvalidFrameCodeOffset
0: u32InvalidFrameDataOffset(i32)Could not encode data offset for a frame instruction.
Tuple Fields of InvalidFrameDataOffset
0: i32UnsupportedPointerEncoding(DwEhPe)Unsupported eh_frame pointer encoding.
Tuple Fields of UnsupportedPointerEncoding
0: DwEhPeUnsupported reference in CFI expression.
Unsupported forward reference in expression.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Error
impl UnwindSafe for Error
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key and return true if they are equal.