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§
Sourceunsafe fn exceptionHandler_shouldLogException_mask(
&self,
sender: Option<&NSExceptionHandler>,
exception: Option<&NSException>,
a_mask: NSUInteger,
) -> bool
unsafe fn exceptionHandler_shouldLogException_mask( &self, sender: Option<&NSExceptionHandler>, exception: Option<&NSException>, a_mask: NSUInteger, ) -> bool
§Safety
sendermight not allowNone.exceptionmight not allowNone.
Sourceunsafe fn exceptionHandler_shouldHandleException_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
§Safety
sendermight not allowNone.exceptionmight not allowNone.
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.