pub struct ClrExceptionHandler {
pub handler_type: ClrExceptionHandlerType,
pub try_start: u32,
pub try_end: u32,
pub handler_start: u32,
pub handler_end: u32,
pub catch_type: Option<ClrTypeReference>,
pub filter_start: Option<u32>,
}Expand description
CLR exception handler representing an exception handling clause in a method body.
Fields§
§handler_type: ClrExceptionHandlerTypeThe type of exception handler.
try_start: u32The IL offset where the try block starts.
try_end: u32The IL offset where the try block ends.
handler_start: u32The IL offset where the handler starts.
handler_end: u32The IL offset where the handler ends.
catch_type: Option<ClrTypeReference>The exception type to catch (for catch handlers).
filter_start: Option<u32>The IL offset of the filter block (for filter handlers).
Trait Implementations§
Source§impl Clone for ClrExceptionHandler
impl Clone for ClrExceptionHandler
Source§fn clone(&self) -> ClrExceptionHandler
fn clone(&self) -> ClrExceptionHandler
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 Debug for ClrExceptionHandler
impl Debug for ClrExceptionHandler
Source§impl PartialEq for ClrExceptionHandler
impl PartialEq for ClrExceptionHandler
impl Eq for ClrExceptionHandler
impl StructuralPartialEq for ClrExceptionHandler
Auto Trait Implementations§
impl Freeze for ClrExceptionHandler
impl RefUnwindSafe for ClrExceptionHandler
impl Send for ClrExceptionHandler
impl Sync for ClrExceptionHandler
impl Unpin for ClrExceptionHandler
impl UnsafeUnpin for ClrExceptionHandler
impl UnwindSafe for ClrExceptionHandler
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