pub struct ExceptionHandler<'a> { /* private fields */ }Implementations§
Source§impl<'a> ExceptionHandler<'a>
impl<'a> ExceptionHandler<'a>
pub const fn start(&self) -> ByteOffset
pub const fn end(&self) -> ByteOffset
pub const fn handler(&self) -> ByteOffset
pub const fn catch_type(&self) -> Option<&'a str>
Trait Implementations§
Source§impl<'a> Clone for ExceptionHandler<'a>
impl<'a> Clone for ExceptionHandler<'a>
Source§fn clone(&self) -> ExceptionHandler<'a>
fn clone(&self) -> ExceptionHandler<'a>
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<'a> Copy for ExceptionHandler<'a>
Auto Trait Implementations§
impl<'a> Freeze for ExceptionHandler<'a>
impl<'a> RefUnwindSafe for ExceptionHandler<'a>
impl<'a> Send for ExceptionHandler<'a>
impl<'a> Sync for ExceptionHandler<'a>
impl<'a> Unpin for ExceptionHandler<'a>
impl<'a> UnsafeUnpin for ExceptionHandler<'a>
impl<'a> UnwindSafe for ExceptionHandler<'a>
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