pub unsafe trait NSObjectNSErrorRecoveryAttempting:
ClassType
+ Sized
+ Sealed {
// Provided methods
unsafe fn attemptRecoveryFromError_optionIndex_delegate_didRecoverSelector_contextInfo(
&self,
error: &NSError,
recovery_option_index: NSUInteger,
delegate: Option<&AnyObject>,
did_recover_selector: Option<Sel>,
context_info: *mut c_void,
) { ... }
unsafe fn attemptRecoveryFromError_optionIndex(
&self,
error: &NSError,
recovery_option_index: NSUInteger,
) -> bool { ... }
}
Available on crate feature
NSError
only.Expand description
Category “NSErrorRecoveryAttempting” on NSObject
.
Provided Methods§
unsafe fn attemptRecoveryFromError_optionIndex_delegate_didRecoverSelector_contextInfo( &self, error: &NSError, recovery_option_index: NSUInteger, delegate: Option<&AnyObject>, did_recover_selector: Option<Sel>, context_info: *mut c_void, )
unsafe fn attemptRecoveryFromError_optionIndex( &self, error: &NSError, recovery_option_index: NSUInteger, ) -> bool
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.