Struct fruity::foundation::NSExceptionName
source · [−]#[repr(C)]pub struct NSExceptionName(pub NSString<'static>);
Expand description
The name of an NSException
.
See documentation.
Tuple Fields
0: NSString<'static>
Implementations
sourceimpl NSExceptionName
impl NSExceptionName
Uncategorized exceptions.
sourcepub fn generic() -> &'static NSExceptionName
pub fn generic() -> &'static NSExceptionName
A generic name for an exception.
You should typically use a more specific exception name.
See documentation.
sourcepub fn internal_inconsistency() -> &'static NSExceptionName
pub fn internal_inconsistency() -> &'static NSExceptionName
The exception raised when an internal assertion fails and implies an unexpected condition within the called code.
See documentation.
sourcepub fn invalid_argument() -> &'static NSExceptionName
pub fn invalid_argument() -> &'static NSExceptionName
The exception raised when you pass an invalid argument to a method,
such as a nil
(null/None
) pointer where a non-nil
object is
required.
See documentation.
sourceimpl NSExceptionName
impl NSExceptionName
NSString
exceptions.
sourcepub fn character_conversion() -> &'static NSExceptionName
pub fn character_conversion() -> &'static NSExceptionName
The exception raised when a string cannot be represented in a file-system or string encoding.
See documentation.
sourcepub fn parse_error() -> &'static NSExceptionName
pub fn parse_error() -> &'static NSExceptionName
The exception raised when a string cannot be parsed as a property list.
See documentation.
sourceimpl NSExceptionName
impl NSExceptionName
NSDecimalNumber
exceptions.
sourcepub fn decimal_number_exactness() -> &'static NSExceptionName
pub fn decimal_number_exactness() -> &'static NSExceptionName
The exception raised if there is an exactness error.
See documentation.
sourcepub fn decimal_number_overflow() -> &'static NSExceptionName
pub fn decimal_number_overflow() -> &'static NSExceptionName
The exception raised on overflow.
See documentation.
sourcepub fn decimal_number_underflow() -> &'static NSExceptionName
pub fn decimal_number_underflow() -> &'static NSExceptionName
The exception raised on underflow.
See documentation.
sourcepub fn decimal_number_divide_by_zero() -> &'static NSExceptionName
pub fn decimal_number_divide_by_zero() -> &'static NSExceptionName
The exception raised on divide by zero.
See documentation.
sourceimpl NSExceptionName
impl NSExceptionName
NSFileHandle
exceptions.
See documentation.
sourcepub fn file_handle_operation() -> &'static NSExceptionName
pub fn file_handle_operation() -> &'static NSExceptionName
The exception raised if attempts to determine file-handle type fail or if attempts to read from a file or channel fail.
See documentation.
sourceimpl NSExceptionName
impl NSExceptionName
NSInvocation
exceptions.
sourcepub fn invocation_operation_cancelled() -> &'static NSExceptionName
pub fn invocation_operation_cancelled() -> &'static NSExceptionName
The exception raised if the result
method is called after the
operation was cancelled.
See documentation.
sourcepub fn invocation_operation_void_result() -> &'static NSExceptionName
pub fn invocation_operation_void_result() -> &'static NSExceptionName
The exception raised if the result
method is called for an
invocation method with a void
return type.
See documentation.
sourceimpl NSExceptionName
impl NSExceptionName
NSArchiver
exceptions.
sourcepub fn inconsistent_archive() -> &'static NSExceptionName
pub fn inconsistent_archive() -> &'static NSExceptionName
The exception raised if there are problems initializing or encoding.
See documentation.
sourceimpl NSExceptionName
impl NSExceptionName
NSKeyedArchiver
exceptions.
See documentation.
sourcepub fn invalid_archive_operation() -> &'static NSExceptionName
pub fn invalid_archive_operation() -> &'static NSExceptionName
The exception raised if there is a problem creating an archive.
See documentation.
sourcepub fn invalid_unarchive_operation() -> &'static NSExceptionName
pub fn invalid_unarchive_operation() -> &'static NSExceptionName
The exception raised if there is a problem extracting an archive.
See documentation.
sourceimpl NSExceptionName
impl NSExceptionName
NSPort
exceptions.
sourcepub fn port_receive() -> &'static NSExceptionName
pub fn port_receive() -> &'static NSExceptionName
The exception raised when a generic error occurred on receive.
See documentation.
sourcepub fn port_send() -> &'static NSExceptionName
pub fn port_send() -> &'static NSExceptionName
The exception raised when a generic error occurred on send.
See documentation.
sourcepub fn port_timeout() -> &'static NSExceptionName
pub fn port_timeout() -> &'static NSExceptionName
The exception raised when a timeout set on a port expires during a send or receive operation.
See documentation.
sourceimpl NSExceptionName
impl NSExceptionName
NSRange
exceptions.
sourcepub fn range() -> &'static NSExceptionName
pub fn range() -> &'static NSExceptionName
The exception raised when attempting to access outside the bounds of some data, such as beyond the end of a string.
See documentation.
sourceimpl NSExceptionName
impl NSExceptionName
Key value coding exceptions.
sourcepub fn undefined_key() -> &'static NSExceptionName
pub fn undefined_key() -> &'static NSExceptionName
The exception raised when a key value coding operation fails.
userInfo
keys are described in
NSUndefinedKeyException userInfo Keys.
See documentation.
sourceimpl NSExceptionName
impl NSExceptionName
Distributed object exceptions.
sourcepub fn destination_invalid() -> &'static NSExceptionName
pub fn destination_invalid() -> &'static NSExceptionName
The exception that occurs when an internal assertion fails and implies an unexpected condition within the distributed objects.
See documentation.
sourcepub fn invalid_receive_port() -> &'static NSExceptionName
pub fn invalid_receive_port() -> &'static NSExceptionName
The exception raised when the receive port of an
NSConnection
has become invalid.
See documentation.
sourcepub fn invalid_send_port() -> &'static NSExceptionName
pub fn invalid_send_port() -> &'static NSExceptionName
The exception raised when the send port of an
NSConnection
has become invalid.
See documentation.
sourcepub fn object_inaccessible() -> &'static NSExceptionName
pub fn object_inaccessible() -> &'static NSExceptionName
The exception raised when a remote object is accessed from a thread that should not access it.
See documentation.
sourcepub fn object_not_available() -> &'static NSExceptionName
pub fn object_not_available() -> &'static NSExceptionName
The exception raised when the remote side of the
NSConnection
refused to send the
message to the object because the object has never been vended.
See documentation.
sourceimpl NSExceptionName
impl NSExceptionName
AppKit exceptions.
Requires the app_kit
feature flag.
sourcepub fn text_line_too_long() -> &'static NSExceptionName
pub fn text_line_too_long() -> &'static NSExceptionName
See documentation.
sourcepub fn text_no_selection() -> &'static NSExceptionName
pub fn text_no_selection() -> &'static NSExceptionName
See documentation.
sourcepub fn word_tables_write() -> &'static NSExceptionName
pub fn word_tables_write() -> &'static NSExceptionName
See documentation.
sourcepub fn word_tables_read() -> &'static NSExceptionName
pub fn word_tables_read() -> &'static NSExceptionName
See documentation.
sourcepub fn text_read() -> &'static NSExceptionName
pub fn text_read() -> &'static NSExceptionName
See documentation.
sourcepub fn text_write() -> &'static NSExceptionName
pub fn text_write() -> &'static NSExceptionName
See documentation.
sourcepub fn pasteboard_communication() -> &'static NSExceptionName
pub fn pasteboard_communication() -> &'static NSExceptionName
See documentation.
sourcepub fn printing_communication() -> &'static NSExceptionName
pub fn printing_communication() -> &'static NSExceptionName
See documentation.
sourcepub fn abort_modal() -> &'static NSExceptionName
pub fn abort_modal() -> &'static NSExceptionName
See documentation.
sourcepub fn abort_printing() -> &'static NSExceptionName
pub fn abort_printing() -> &'static NSExceptionName
See documentation.
sourcepub fn illegal_selector() -> &'static NSExceptionName
pub fn illegal_selector() -> &'static NSExceptionName
See documentation.
sourcepub fn app_kit_virtual_memory() -> &'static NSExceptionName
pub fn app_kit_virtual_memory() -> &'static NSExceptionName
See documentation.
sourcepub fn bad_rtf_directive() -> &'static NSExceptionName
pub fn bad_rtf_directive() -> &'static NSExceptionName
See documentation.
sourcepub fn bad_rtf_font_table() -> &'static NSExceptionName
pub fn bad_rtf_font_table() -> &'static NSExceptionName
See documentation.
sourcepub fn bad_rtf_style_sheet() -> &'static NSExceptionName
pub fn bad_rtf_style_sheet() -> &'static NSExceptionName
See documentation.
sourcepub fn typed_stream_version() -> &'static NSExceptionName
pub fn typed_stream_version() -> &'static NSExceptionName
See documentation.
sourcepub fn tiff() -> &'static NSExceptionName
pub fn tiff() -> &'static NSExceptionName
See documentation.
sourcepub fn print_package() -> &'static NSExceptionName
pub fn print_package() -> &'static NSExceptionName
See documentation.
sourcepub fn bad_rtf_color_table() -> &'static NSExceptionName
pub fn bad_rtf_color_table() -> &'static NSExceptionName
See documentation.
sourcepub fn dragging() -> &'static NSExceptionName
pub fn dragging() -> &'static NSExceptionName
See documentation.
sourcepub fn color_list_io() -> &'static NSExceptionName
pub fn color_list_io() -> &'static NSExceptionName
See documentation.
sourcepub fn color_list_not_editable() -> &'static NSExceptionName
pub fn color_list_not_editable() -> &'static NSExceptionName
See documentation.
sourcepub fn bad_bitmap_parameters() -> &'static NSExceptionName
pub fn bad_bitmap_parameters() -> &'static NSExceptionName
See documentation.
sourcepub fn window_server_communication() -> &'static NSExceptionName
pub fn window_server_communication() -> &'static NSExceptionName
See documentation.
See documentation.
sourcepub fn ppd_include_not_found() -> &'static NSExceptionName
pub fn ppd_include_not_found() -> &'static NSExceptionName
See documentation.
sourcepub fn ppd_parse() -> &'static NSExceptionName
pub fn ppd_parse() -> &'static NSExceptionName
See documentation.
sourcepub fn ppd_include_stack_overflow() -> &'static NSExceptionName
pub fn ppd_include_stack_overflow() -> &'static NSExceptionName
See documentation.
sourcepub fn ppd_include_stack_underflow() -> &'static NSExceptionName
pub fn ppd_include_stack_underflow() -> &'static NSExceptionName
See documentation.
sourcepub fn rtf_property_stack_overflow() -> &'static NSExceptionName
pub fn rtf_property_stack_overflow() -> &'static NSExceptionName
See documentation.
sourcepub fn app_kit_ignored() -> &'static NSExceptionName
pub fn app_kit_ignored() -> &'static NSExceptionName
See documentation.
sourcepub fn bad_comparison() -> &'static NSExceptionName
pub fn bad_comparison() -> &'static NSExceptionName
See documentation.
sourcepub fn image_cache() -> &'static NSExceptionName
pub fn image_cache() -> &'static NSExceptionName
See documentation.
sourcepub fn nib_loading() -> &'static NSExceptionName
pub fn nib_loading() -> &'static NSExceptionName
See documentation.
sourcepub fn browser_illegal_delegate() -> &'static NSExceptionName
pub fn browser_illegal_delegate() -> &'static NSExceptionName
See documentation.
sourcepub fn accessibility() -> &'static NSExceptionName
pub fn accessibility() -> &'static NSExceptionName
See documentation.
sourcepub fn print_operation_exists() -> &'static NSExceptionName
pub fn print_operation_exists() -> &'static NSExceptionName
An exception raised when there is already an
NSPrintOperation
in
process.
See documentation.
sourceimpl NSExceptionName
impl NSExceptionName
UIKit exceptions.
Requires the ui_kit
feature flag.
sourcepub fn ui_application_invalid_interface_orientation(
) -> &'static NSExceptionName
pub fn ui_application_invalid_interface_orientation(
) -> &'static NSExceptionName
The exception raised when a view controller or the app returns 0
instead of a valid set of supported interface orientation values.
It is also thrown if the orientation returned by a view controller’s
preferredInterfaceOrientationForPresentation
method does not match one of the view controller’s supported
orientations.
See documentation.
sourcepub fn ui_view_controller_hierarchy_inconsistency() -> &'static NSExceptionName
pub fn ui_view_controller_hierarchy_inconsistency() -> &'static NSExceptionName
The exception raised when a view controller hierarchy is inconsistent with the view hierarchy.
See documentation.
Trait Implementations
sourceimpl AsMut<NSExceptionName> for NSString<'static>
impl AsMut<NSExceptionName> for NSString<'static>
sourcefn as_mut(&mut self) -> &mut NSExceptionName
fn as_mut(&mut self) -> &mut NSExceptionName
Converts this type into a mutable reference of the (usually inferred) input type.
sourceimpl<T> AsMut<T> for NSExceptionName where
NSString<'static>: AsMut<T>,
impl<T> AsMut<T> for NSExceptionName where
NSString<'static>: AsMut<T>,
sourceimpl AsRef<NSExceptionName> for NSString<'static>
impl AsRef<NSExceptionName> for NSString<'static>
sourcefn as_ref(&self) -> &NSExceptionName
fn as_ref(&self) -> &NSExceptionName
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl<T> AsRef<T> for NSExceptionName where
NSString<'static>: AsRef<T>,
impl<T> AsRef<T> for NSExceptionName where
NSString<'static>: AsRef<T>,
sourceimpl Debug for NSExceptionName
impl Debug for NSExceptionName
sourceimpl Display for NSExceptionName
impl Display for NSExceptionName
sourceimpl ObjectType for NSExceptionName
impl ObjectType for NSExceptionName
sourceimpl ObjectType<'static> for NSExceptionName
impl ObjectType<'static> for NSExceptionName
sourcefn as_objc_object(&self) -> &ObjCObject<'data>
fn as_objc_object(&self) -> &ObjCObject<'data>
Casts self
into a type-erased Objective-C object.
sourceimpl Ord for NSExceptionName
impl Ord for NSExceptionName
sourceimpl PartialEq<NSExceptionName> for NSExceptionName
impl PartialEq<NSExceptionName> for NSExceptionName
sourcefn eq(&self, other: &NSExceptionName) -> bool
fn eq(&self, other: &NSExceptionName) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &NSExceptionName) -> bool
fn ne(&self, other: &NSExceptionName) -> bool
This method tests for !=
.
sourceimpl PartialOrd<NSExceptionName> for NSExceptionName
impl PartialOrd<NSExceptionName> for NSExceptionName
sourcefn partial_cmp(&self, other: &NSExceptionName) -> Option<Ordering>
fn partial_cmp(&self, other: &NSExceptionName) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
impl Eq for NSExceptionName
impl StructuralEq for NSExceptionName
impl StructuralPartialEq for NSExceptionName
Auto Trait Implementations
impl RefUnwindSafe for NSExceptionName
impl Send for NSExceptionName
impl Sync for NSExceptionName
impl Unpin for NSExceptionName
impl UnwindSafe for NSExceptionName
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more