pub unsafe trait NSObjectNSErrorRecoveryAttempting: ClassType {
// 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
)
where Self: Sized + Message { ... }
unsafe fn attemptRecoveryFromError_optionIndex(
&self,
error: &NSError,
recovery_option_index: NSUInteger
) -> bool
where Self: Sized + Message { ... }
}
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
Object Safety§
This trait is not object safe.