pub enum MachExceptionHandler {
Tag(ExceptionTag, LabelOrOffset),
Default(LabelOrOffset),
Context(ExceptionContextLoc),
}Expand description
An item in the exception-handler list for a callsite, with label references. Items are interpreted in left-to-right order and the first match wins.
Variants§
Tag(ExceptionTag, LabelOrOffset)
A specific tag (in the current dynamic context) should be handled by the code at the given offset.
Default(LabelOrOffset)
All exceptions should be handled by the code at the given offset.
Context(ExceptionContextLoc)
The dynamic context for interpreting tags is updated to the value stored in the given machine location (in this frame’s context).
Trait Implementations§
Source§impl Clone for MachExceptionHandler
impl Clone for MachExceptionHandler
Source§fn clone(&self) -> MachExceptionHandler
fn clone(&self) -> MachExceptionHandler
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for MachExceptionHandler
Source§impl Debug for MachExceptionHandler
impl Debug for MachExceptionHandler
Source§impl<'de> Deserialize<'de> for MachExceptionHandler
Available on crate feature enable-serde only.
impl<'de> Deserialize<'de> for MachExceptionHandler
Available on crate feature
enable-serde only.Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for MachExceptionHandler
Source§impl PartialEq for MachExceptionHandler
impl PartialEq for MachExceptionHandler
Source§impl Serialize for MachExceptionHandler
Available on crate feature enable-serde only.
impl Serialize for MachExceptionHandler
Available on crate feature
enable-serde only.impl StructuralPartialEq for MachExceptionHandler
Auto Trait Implementations§
impl Freeze for MachExceptionHandler
impl RefUnwindSafe for MachExceptionHandler
impl Send for MachExceptionHandler
impl Sync for MachExceptionHandler
impl Unpin for MachExceptionHandler
impl UnsafeUnpin for MachExceptionHandler
impl UnwindSafe for MachExceptionHandler
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§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
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.