pub trait FrameClassifier {
// Required method
fn classify(&self, frame: &StackFrame) -> FrameCategory;
// Provided methods
fn apply_classification(&self, frame: StackFrame) -> StackFrame { ... }
fn classify_all(
&self,
frames: Vec<StackFrame>,
include_external: bool,
) -> Vec<StackFrame> { ... }
}Expand description
Trait for classifying stack frames.
Implementations determine whether a stack frame represents user code, library code, or core Perl internals.