Expand description
Auto-export configuration (output path, formats, signal policy, flush interval). Auto-export configuration for memscope-rs.
Defines the configuration types that control automatic export of tracking data on program exit (normal return, panic, Ctrl-C, SIGTERM) and optional periodic background flushing for long-running services.
This is module 1 of the 4-module auto-export feature. It is intentionally
dependency-light: only std and serde (both already in the crate graph)
are used. Every type here is plain data with no I/O or global state, so the
module can be unit-tested in isolation and downstream modules (signal
installation, exit hooks, background flusher) can build on these contracts.
Structs§
- Auto
Export Config - Configuration for the automatic export subsystem.
- Export
Format Set - Bitflags-style set of export formats. Uses a raw
u8to avoid adding thebitflagscrate as a dependency. - MemScope
Config - Top-level configuration for
memscope_rs::start_with.
Enums§
- Signal
Policy - Which signals trigger an automatic export before termination.