Enum RegisterMappingError
pub enum RegisterMappingError {
MissingBank,
UnsupportedArchitecture,
UnsupportedRegisterBank(&'static str),
}
Expand description
Enumerate the errors possible in mapping Cranelift registers to their DWARF equivalent.
Variants§
Trait Implementations§
§impl Debug for RegisterMappingError
impl Debug for RegisterMappingError
§impl Display for RegisterMappingError
impl Display for RegisterMappingError
§impl Error for RegisterMappingError
impl Error for RegisterMappingError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
§impl PartialEq for RegisterMappingError
impl PartialEq for RegisterMappingError
impl Eq for RegisterMappingError
impl StructuralPartialEq for RegisterMappingError
Auto Trait Implementations§
impl Freeze for RegisterMappingError
impl RefUnwindSafe for RegisterMappingError
impl Send for RegisterMappingError
impl Sync for RegisterMappingError
impl Unpin for RegisterMappingError
impl UnwindSafe for RegisterMappingError
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
Mutably borrows from an owned value. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.