Skip to main content

memscope_rs/capture/
mod.rs

1//! Capture Engine - Event capture backend
2//!
3//! This module provides the CaptureEngine which is responsible for
4//! capturing memory events from the application and forwarding them
5//! to the EventStore. The CaptureEngine does not store events itself;
6//! it only captures and forwards them.
7
8pub mod backends;
9pub mod engine;
10pub mod inference;
11pub mod platform;
12pub mod system_monitor;
13pub mod types;
14
15pub use backends::{CaptureBackend, CaptureBackendType};
16pub use engine::CaptureEngine;
17
18// Re-export inference types
19pub use inference::{
20    Confidence, DataSource, InferenceEngine, InferenceRule, InferredBorrowInfo,
21    InferredSmartPointerInfo, SmartPointerType as InferredSmartPointerType,
22};
23
24// Re-export common types for convenience
25pub use types::{
26    AllocationInfo, BorrowInfo, CloneInfo, MemoryStats, SmartPointerInfo, SmartPointerType,
27    TrackingError, TrackingResult,
28};