pub enum FinalizedMachExceptionHandler {
Tag(ExceptionTag, CodeOffset),
Default(CodeOffset),
Context(ExceptionContextLoc),
}
Expand description
An item in the exception-handler list for a callsite, with final (lowered) code offsets. Items are interpreted in left-to-right order and the first match wins.
Variants§
Tag(ExceptionTag, CodeOffset)
A specific tag (in the current dynamic context) should be handled by the code at the given offset.
Default(CodeOffset)
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 FinalizedMachExceptionHandler
impl Clone for FinalizedMachExceptionHandler
Source§fn clone(&self) -> FinalizedMachExceptionHandler
fn clone(&self) -> FinalizedMachExceptionHandler
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'de> Deserialize<'de> for FinalizedMachExceptionHandler
impl<'de> Deserialize<'de> for FinalizedMachExceptionHandler
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
Source§impl PartialEq for FinalizedMachExceptionHandler
impl PartialEq for FinalizedMachExceptionHandler
Source§fn eq(&self, other: &FinalizedMachExceptionHandler) -> bool
fn eq(&self, other: &FinalizedMachExceptionHandler) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Copy for FinalizedMachExceptionHandler
impl Eq for FinalizedMachExceptionHandler
impl StructuralPartialEq for FinalizedMachExceptionHandler
Auto Trait Implementations§
impl Freeze for FinalizedMachExceptionHandler
impl RefUnwindSafe for FinalizedMachExceptionHandler
impl Send for FinalizedMachExceptionHandler
impl Sync for FinalizedMachExceptionHandler
impl Unpin for FinalizedMachExceptionHandler
impl UnwindSafe for FinalizedMachExceptionHandler
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
Compare self to
key
and return true
if they are equal.