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
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl 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)>
The lower-level source of this error, if any. Read more
sourcefn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
sourceimpl PartialEq<ConvertError> for ConvertError
impl PartialEq<ConvertError> for ConvertError
sourcefn eq(&self, other: &ConvertError) -> bool
fn eq(&self, other: &ConvertError) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ConvertError) -> bool
fn ne(&self, other: &ConvertError) -> bool
This method tests for !=
.
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 T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more