pub trait TraceParser: Send + Sync {
// Required methods
fn detect(&self, text: &str) -> bool;
fn parse(&self, text: &str) -> Option<StackTrace>;
}Expand description
Recognises and parses one trace format.
Required Methods§
Sourcefn parse(&self, text: &str) -> Option<StackTrace>
fn parse(&self, text: &str) -> Option<StackTrace>
Parse text, or None when it has no frames or header to keep.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".