Enum gimli::write::ConvertError
source · pub enum ConvertError {
Show 19 variants
Read(Error),
UnsupportedAttributeValue,
InvalidAttributeValue,
InvalidDebugInfoOffset,
InvalidAddress,
UnsupportedLineInstruction,
UnsupportedLineStringForm,
InvalidFileIndex,
InvalidDirectoryIndex,
InvalidLineBase,
InvalidLineRef,
InvalidUnitRef,
InvalidDebugInfoRef,
InvalidRangeRelativeAddress,
UnsupportedCfiInstruction,
UnsupportedIndirectAddress,
UnsupportedOperation,
InvalidBranchTarget,
UnsupportedUnitType,
}Expand description
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.
InvalidUnitRef
A .debug_info unit entry reference is invalid.
InvalidDebugInfoRef
A .debug_info 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.
UnsupportedOperation
Writing this expression operation is not implemented yet.
InvalidBranchTarget
Operation branch target is invalid.
UnsupportedUnitType
Writing this unit type is not supported yet.
Trait Implementations
sourceimpl Clone for ConvertError
impl Clone for ConvertError
sourcefn clone(&self) -> ConvertError
fn clone(&self) -> ConvertError
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresourceimpl Debug for ConvertError
impl Debug for ConvertError
sourceimpl Display for ConvertError
impl Display for ConvertError
sourceimpl Error for ConvertError
impl Error for ConvertError
1.30.0 · sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
sourceimpl From<Error> for ConvertError
impl From<Error> for ConvertError
sourceimpl PartialEq<ConvertError> for ConvertError
impl PartialEq<ConvertError> for ConvertError
sourcefn eq(&self, other: &ConvertError) -> bool
fn eq(&self, other: &ConvertError) -> bool
impl Copy for ConvertError
impl Eq for ConvertError
impl StructuralEq for ConvertError
impl StructuralPartialEq for ConvertError
Auto Trait Implementations
impl RefUnwindSafe for ConvertError
impl Send for ConvertError
impl Sync for ConvertError
impl Unpin for ConvertError
impl UnwindSafe for ConvertError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.