#[repr(C)]
pub struct NSException(_);
Expand description

A special condition that interrupts the normal flow of program execution.

See documentation.

Implementations

Creating and rasing exceptions.

Raises the receiver, causing program flow to jump to the local exception handler.

When there are no exception handlers in the exception handler stack, unless the exception is raised during the posting of a notification, this method calls the uncaught exception handler, in which last-minute logging can be performed. The program then terminates, regardless of the actions taken by the uncaught exception handler.

See documentation.

Querying an NSException object.

Returns a string used to uniquely identify self.

See documentation.

Returns a containing a “human-readable” reason for self.

See documentation.

Methods from Deref<Target = NSObject<'static>>

Returns this object’s reference count.

This method is only useful for debugging certain objects.

See documentation.

Returns true if this object implements or inherits a method that can respond to a specified message.

See documentation.

Returns true if this object is an instance or subclass of class.

See documentation

Returns true if this object is an instance of class.

See documentation

Returns an integer that can be used as a table address in a hash table structure.

See documentation.

Returns a copy of this object using NSCopying.

See documentation.

Returns a copy of this object using NSMutableCopying.

See documentation.

Returns a string that describes the contents of this object.

See documentation

Returns a string that describes the contents of the receiver for presentation in the debugger.

See documentation

Trait Implementations

Converts this type into a mutable reference of the (usually inferred) input type.

Converts this type into a mutable reference of the (usually inferred) input type.

Converts this type into a shared reference of the (usually inferred) input type.

Converts this type into a shared reference of the (usually inferred) input type.

Returns the Objective-C class that can be used to instantiate a new instance of Self. Read more

The resulting type after dereferencing.

Dereferences the value.

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.

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.