pub enum MachExceptionHandler {
Tag(ExceptionTag, MachLabel),
Default(MachLabel),
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, MachLabel)
A specific tag (in the current dynamic context) should be handled by the code at the given offset.
Default(MachLabel)
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
impl Eq for MachExceptionHandler
Source§impl PartialEq for MachExceptionHandler
impl PartialEq for MachExceptionHandler
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<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.