kAEQuitReason

Constant kAEQuitReason 

Source
pub const kAEQuitReason: u32 = 0x7768793f;
Available on crate feature AERegistry only.
Expand description

in a kAEQuitApplication event, this parameter if present is the reason the quit is being sent. The possible values are kAEQuitAll, kAEShutDown, kAERestart, kAEReallyLogOut */

See also Apple’s documentation