Struct fruity__bbqsrc::foundation::NSErrorRecoveryAttempting[][src]

#[repr(C)]
pub struct NSErrorRecoveryAttempting<'data>(pub NSObject<'data>);
Expand description

A set of methods that provide options to recover from an error.

This type is returned by NSError::recovery_attempter.

This informal protocol provides methods that allow your application to attempt to recover from an error. These methods are invoked when an NSError is returned that specifies the implementing object as the error recoveryAttempter and the user has selected one of the error’s localized recovery options.

The method invoked depends on how the error is presented to the user:

See documentation.

Implementations

Attempts a recovery from an error noted in an application-modal dialog.

See documentation.

Attempts a recovery from an error noted in a document-modal sheet.

See documentation.

Trait Implementations

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Increments the object’s retain count and returns a smart pointer that automatically calls release on Drop. Read more

Decrements the object’s retain count. Read more

Casts self into a type-erased Objective-C object.

Returns the class that this object is an instance of.

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.