enumstd.c.darwin.EXCEPTION[src]

Fields

DEFAULT = 1

Send a catch_exception_raise message including the identity.

STATE = 2

Send a catch_exception_raise_state message including the thread state.

STATE_IDENTITY = 3

Send a catch_exception_raise_state_identity message including the thread identity and state.

IDENTITY_PROTECTED = 4

Send a catch_exception_raise_identity_protected message including protected task and thread identity.

_

Source Code

Source code
pub const EXCEPTION = enum(u32) {
    /// Send a catch_exception_raise message including the identity.
    DEFAULT = 1,
    /// Send a catch_exception_raise_state message including the
    /// thread state.
    STATE = 2,
    /// Send a catch_exception_raise_state_identity message including
    /// the thread identity and state.
    STATE_IDENTITY = 3,
    /// Send a catch_exception_raise_identity_protected message including protected task
    /// and thread identity.
    IDENTITY_PROTECTED = 4,

    _,
}