pub fn set_crash_reports_enabled(enabled: bool)Expand description
Enables or disables automatic Sentry crash-report uploads.
This gates panic reports and any other event captured automatically by
Sentry’s integrations. Usage-telemetry events (flushed via
crate::flush) are exempt and honour
crate::set_usage_telemetry_enabled instead.
Callers should refresh this whenever the enable_crash_reports setting
changes.