1#![forbid(unsafe_code)]
19#![forbid(private_interfaces)]
20#![deny(rustdoc::broken_intra_doc_links)]
21mod control;
22mod platform;
23mod registry;
24mod runtime;
25mod schedule;
26mod snapshot;
27
28pub use registry::{MAX_TIMER_REGISTRATIONS, RegisterError};
29pub use runtime::{
30 AfterCompletionContext, AfterCompletionRegistration, OnceContext, OnceRegistration, TimerError,
31 TimerReconcileState, WatchdogContext, WatchdogReconcileState, WatchdogRegistration,
32 consecutive_expected_failures, initialize_runtime, reconcile_after_completion, reconcile_once,
33 reconcile_watchdog, register_after_completion, register_once, register_watchdog,
34 timer_inventory, timer_snapshot,
35};
36pub use schedule::{ScheduleError, TimerCadence, TimerDirective, TimerSchedule};
37pub use snapshot::{
38 DeclarationLifetime, InactiveReason, MAX_TIMER_IDENTITY_COMPONENT_BYTES, MeasurementSummary,
39 MemoryPageExtent, MemoryPageSample, MemoryPageSummary, OrdinaryRuntimeStateSnapshot,
40 TimerCompletion, TimerCompletionOutcome, TimerControlFailure, TimerCounters,
41 TimerDirectiveSnapshot, TimerEpoch, TimerIdentity, TimerIdentityError, TimerIdentityField,
42 TimerInventorySnapshot, TimerLastOutcome, TimerObservabilitySnapshot, TimerOutcomeSnapshot,
43 TimerPerformance, TimerPolicy, TimerProcessCondition, TimerRegistrationId,
44 TimerRegistrationStatus, TimerRunResult, TimerRuntimeStateSnapshot, TimerSchedulingMode,
45 TimerSnapshot, WatchdogAttemptSnapshot, WatchdogAttemptStatus, WatchdogDecision,
46 WatchdogRunResult, WatchdogRuntimeStateSnapshot,
47};