NSObjectNSExceptionHandlerDelegate

Trait NSObjectNSExceptionHandlerDelegate 

Source
pub unsafe trait NSObjectNSExceptionHandlerDelegate:
    ClassType
    + Sized
    + Sealed {
    // Provided methods
    unsafe fn exceptionHandler_shouldLogException_mask(
        &self,
        sender: Option<&NSExceptionHandler>,
        exception: Option<&NSException>,
        a_mask: NSUInteger,
    ) -> bool { ... }
    unsafe fn exceptionHandler_shouldHandleException_mask(
        &self,
        sender: Option<&NSExceptionHandler>,
        exception: Option<&NSException>,
        a_mask: NSUInteger,
    ) -> bool { ... }
}
Available on crate feature NSExceptionHandler only.
Expand description

Category “NSExceptionHandlerDelegate” on NSObject.

Provided Methods§

Source

unsafe fn exceptionHandler_shouldLogException_mask( &self, sender: Option<&NSExceptionHandler>, exception: Option<&NSException>, a_mask: NSUInteger, ) -> bool

§Safety
  • sender might not allow None.
  • exception might not allow None.
Source

unsafe fn exceptionHandler_shouldHandleException_mask( &self, sender: Option<&NSExceptionHandler>, exception: Option<&NSException>, a_mask: NSUInteger, ) -> bool

§Safety
  • sender might not allow None.
  • exception might not allow None.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl NSObjectNSExceptionHandlerDelegate for NSObject

Implementors§