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§
source§impl Clone for ConvertError
impl Clone for ConvertError
source§fn clone(&self) -> ConvertError
fn clone(&self) -> ConvertError
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ConvertError
impl Debug for ConvertError
source§impl Display for ConvertError
impl Display for ConvertError
source§impl Error for ConvertError
impl Error for ConvertError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
source§impl From<Error> for ConvertError
impl From<Error> for ConvertError
source§impl PartialEq for ConvertError
impl PartialEq for ConvertError
impl Copy for ConvertError
impl Eq for ConvertError
impl StructuralPartialEq for ConvertError
Auto Trait Implementations§
impl Freeze for ConvertError
impl RefUnwindSafe for ConvertError
impl Send for ConvertError
impl Sync for ConvertError
impl Unpin for ConvertError
impl UnwindSafe for ConvertError
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.