Expand description
rustpix-io: Memory-mapped file I/O for rustpix.
This crate provides efficient file reading and writing using memory-mapped files via memmap2.
Re-exports§
pub use out_of_core::pulse_batches;pub use out_of_core::OutOfCoreConfig;pub use out_of_core::PulseBatchGroup;pub use out_of_core::PulseBatcher;pub use out_of_core::PulseSlice;pub use scanner::PacketScanner;
Modules§
- out_
of_ core - Out-of-core batching utilities for pulse-ordered TPX3 streams.
- scanner
- Section scanner for TPX3 files.
Structs§
- Data
File Writer - Writer for processed data output.
- Event
Batch - A pulse-ordered event batch with its TDC timestamp (25ns ticks).
- Mapped
File Reader - A memory-mapped file reader.
- OutOf
Core Neutron Stream - Iterator over out-of-core pulse batches.
- Pulse
Neutron Batch - Neutron output for a single pulse.
- Threaded
OutOf Core Neutron Stream - Threaded out-of-core stream with bounded queues.
- Time
Ordered Event Stream - Time-ordered stream of event batches that owns the underlying file mapping.
- Time
Ordered HitStream - Time-ordered stream of hit batches that owns the underlying file mapping.
- Tpx3
File Reader - A TPX3 file reader with memory-mapped I/O.
Enums§
- Error
- I/O error types.
- OutOf
Core Neutron Stream Handle - Stream handle that can be single-threaded or threaded.
Functions§
- out_
of_ core_ neutron_ stream - Build an out-of-core neutron stream from a TPX3 reader.
- out_
of_ core_ neutron_ stream_ handle - Build an out-of-core neutron stream handle from a TPX3 reader.
Type Aliases§
- Result
- Result type for I/O operations.