[][src]Enum gimli::write::ConvertError

pub enum ConvertError {
    Read(Error),
    UnsupportedAttributeValue,
    InvalidAttributeValue,
    InvalidDebugInfoOffset,
    InvalidAddress,
    MissingCompilationDirectory,
    MissingCompilationFile,
    UnsupportedLineInstruction,
    UnsupportedLineStringForm,
    InvalidFileIndex,
    InvalidDirectoryIndex,
    InvalidLineBase,
    InvalidLineRef,
    InvalidRangeRelativeAddress,
}

An error that occurred when converting a read value into a write value.

Variants

Read(Error)

An error occurred when reading.

UnsupportedAttributeValue

Writing of this attribute value is not implemented yet.

InvalidAttributeValue

This attribute value is an invalid name/form combination.

InvalidDebugInfoOffset

A .debug_info reference does not refer to a valid entry.

InvalidAddress

An address could not be converted.

MissingCompilationDirectory

The line number program is missing the compilation directory.

MissingCompilationFile

The line number program is missing the compilation file.

UnsupportedLineInstruction

Writing this line number instruction is not implemented yet.

UnsupportedLineStringForm

Writing this form of line string is not implemented yet.

InvalidFileIndex

A .debug_line file index is invalid.

InvalidDirectoryIndex

A .debug_line directory index is invalid.

InvalidLineBase

A .debug_line line base is invalid.

InvalidLineRef

A .debug_line reference is invalid.

InvalidRangeRelativeAddress

Invalid relative address in a range list.

Trait Implementations

impl Clone for ConvertError[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for ConvertError[src]

impl Display for ConvertError[src]

impl PartialEq<ConvertError> for ConvertError[src]

impl Eq for ConvertError[src]

impl From<Error> for ConvertError[src]

impl Copy for ConvertError[src]

impl Error for ConvertError[src]

fn description(&self) -> &str
1.0.0
[src]

This method is soft-deprecated. Read more

fn cause(&self) -> Option<&dyn Error>
1.0.0
[src]

Deprecated since 1.33.0:

replaced by Error::source, which can support downcasting

The lower-level cause of this error, if any. Read more

fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0
[src]

The lower-level source of this error, if any. Read more

Auto Trait Implementations

Blanket Implementations

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> From for T[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<Q, K> Equivalent for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]