Skip to main content

Crate quickgui_system

Crate quickgui_system 

Source
Expand description

Bounded, cross-platform operating-system integrations independent of QuickGUI’s renderer.

Structs§

AppInfo
Immutable package identity supplied by the application at startup.
AppPaths
Immutable snapshot of standard process, application, and user directories.
AutoStart
A reusable configuration for the user’s native login-launch facility.
AutoStartOptions
BatteryState
A bounded aggregate battery snapshot.
CpuUsage
One CPU-usage reading produced by CpuUsageSampler::sample.
CpuUsageSampler
Stateful sampler that converts cumulative CPU time into a per-interval percentage.
CrashLocation
Source position recorded for a panic report.
CrashReport
One bounded crash report, as written to and parsed back from disk.
CrashReporter
Cheap cloneable handle to the installed crash reporter.
CrashReporterOptions
Bounded configuration for CrashReporter::install.
PermissionManager
Stateless entry point for permission status and explicit user-prompt requests.
PowerAssertion
A native, reference-counted request that prevents one class of automatic sleep.
PowerMonitor
Stateless entry point for native power, idle, thermal, and session queries.
PowerState
One immutable power and thermal snapshot.
ProcessMetrics
One immutable snapshot of the current process.
ProtocolRegistration
A dynamic URL-scheme registration for Windows or Linux.
ProtocolRegistrationOptions
RelaunchOptions
Overrides for an orderly application relaunch.
RelaunchRequest
A complete, immutable process launch retained until orderly application teardown finishes.
RelaunchedProcess
Identity of a successfully spawned replacement process.
SecureStorage
Native credential storage: Keychain Services, Windows Credential Manager, or Secret Service.
SystemColor
Renderer-independent sRGB system color.
SystemInfo
Bounded immutable operating-system and language snapshot.
SystemMemory
Whole-system physical memory, in bytes.
SystemPreferences
A point-in-time, renderer-independent system appearance and accessibility snapshot.
UploadSummary
Result of one bounded CrashReporter::upload_pending pass.
Watchdog
Opt-in main-thread hang detector.
WatchdogOptions
Bounded watchdog configuration.

Enums§

AutoStartMode
Explicit platform strategy for login launch registration.
BacktracePolicy
Whether a panic report captures a std::backtrace::Backtrace.
BatteryStatus
Current charging state reported by the operating system.
ColorScheme
The operating system’s preferred application color scheme.
CrashKind
How a report was produced.
IdleState
System idleness classified against an application-supplied threshold.
OperatingSystem
Compile-time operating system used by the running process.
OperatingSystemFamily
Compile-time operating-system family used by the running process.
PermissionKind
A privacy-controlled native capability.
PermissionStatus
Current operating-system authorization state for a native capability.
PowerAssertionKind
The native sleep behavior prevented while a PowerAssertion is alive.
PowerSource
The source currently powering the system.
SessionState
Current login-session activity.
SystemBitness
SystemColorRole
Semantic operating-system color exposed without retaining a native color object.
SystemIntegrationError
An operating-system integration rejected or failed an operation.
ThermalState
Coarse system thermal pressure.

Constants§

CRASH_REPORT_SCHEMA_VERSION
Schema version stamped into every report QuickGUI writes.
DEFAULT_MAX_CRASH_REPORTS
Retention used when the caller does not choose one.
DEFAULT_MAX_CRASH_REPORT_BYTES
Report size limit used when the caller does not choose one.
DEFAULT_WATCHDOG_HANG_THRESHOLD
Hang threshold used when the caller does not choose one.
DEFAULT_WATCHDOG_INTERVAL
Watchdog poll interval used when the caller does not choose one.
MAX_APP_IDENTIFIER_BYTES
MAX_APP_NAME_BYTES
MAX_APP_VERSION_BYTES
MAX_CPU_SAMPLE_INTERVAL
Maximum accepted CPU-sampler interval; longer gaps are reported without a percentage.
MAX_CRASH_BACKTRACE_BYTES
Maximum retained backtrace length; longer backtraces are truncated.
MAX_CRASH_EXTRA_PARAMETERS
Maximum number of retained extra parameters.
MAX_CRASH_MESSAGE_BYTES
Maximum retained panic/hang message length; longer messages are truncated.
MAX_CRASH_PARAMETER_KEY_BYTES
Maximum UTF-8 length of one extra-parameter key.
MAX_CRASH_PARAMETER_VALUE_BYTES
Maximum UTF-8 length of one extra-parameter value.
MAX_CRASH_REPORTS
Hard ceiling for CrashReporterOptions::max_reports.
MAX_CRASH_REPORT_BYTES
Hard ceiling for CrashReporterOptions::max_report_bytes.
MAX_CRASH_UPLOAD_REPORTS
Maximum number of reports one CrashReporter::upload_pending call sends.
MAX_IDLE_THRESHOLD
Largest threshold accepted by PowerMonitor::system_idle_state.
MAX_POWER_ASSERTION_REASON_BYTES
Maximum UTF-8 bytes retained for a native power-assertion reason.
MAX_PREFERRED_LANGUAGES
MAX_RELAUNCH_ARGUMENTS
Maximum arguments retained by one orderly relaunch request.
MAX_RELAUNCH_ARGUMENT_BYTES
Maximum aggregate encoded argument bytes retained by one relaunch request.
MAX_RELAUNCH_VALUE_BYTES
Maximum encoded bytes retained by one relaunch argument or path.
MAX_SYSTEM_LOCALES_TOTAL_BYTES
MAX_SYSTEM_LOCALE_BYTES
MAX_SYSTEM_TEXT_BYTES
MAX_WATCHDOG_INTERVAL
Longest accepted watchdog poll interval.
MIN_WATCHDOG_INTERVAL
Shortest accepted watchdog poll interval.

Type Aliases§

Result