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

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

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.

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.

UnsupportedCfiInstruction

Writing this CFI instruction is not implemented yet.

UnsupportedIndirectAddress

Writing indirect pointers is not implemented yet.

Trait Implementations

impl PartialEq<ConvertError> for ConvertError[src]

impl Eq for ConvertError[src]

impl Display for ConvertError[src]

impl Debug for ConvertError[src]

impl Copy for ConvertError[src]

impl From<Error> for ConvertError[src]

impl Clone for ConvertError[src]

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

Performs copy-assignment from source. Read more

impl Error for ConvertError[src]

fn description(&self) -> &str1.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<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

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

impl<T> From<T> for T[src]

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

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

The type returned in the event of a conversion error.

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

impl<T> BorrowMut<T> 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

The resulting type after obtaining ownership.

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