pub struct ClrExceptionHandler {
pub handler_type: ClrExceptionHandlerType,
pub try_start: u32,
pub try_length: u32,
pub handler_start: u32,
pub handler_length: u32,
pub catch_type: Option<ClrTypeReference>,
pub filter_start: Option<u32>,
}Expand description
CLR 异常处理器
Fields§
§handler_type: ClrExceptionHandlerType处理器类型
try_start: u32尝试块开始偏移
try_length: u32尝试块长度
handler_start: u32处理器开始偏移
handler_length: u32处理器长度
catch_type: Option<ClrTypeReference>异常类型(对于 catch 处理器)
filter_start: Option<u32>过滤器开始偏移(对于 filter 处理器)
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 moreAuto Trait Implementations§
impl Freeze for ClrExceptionHandler
impl RefUnwindSafe for ClrExceptionHandler
impl Send for ClrExceptionHandler
impl Sync for ClrExceptionHandler
impl Unpin 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