pub trait HasDepthLimit<L, E> {
// Required methods
fn depth_limit(&self) -> Option<usize>;
fn stack_err(&self, loc: L) -> E;
}pub trait HasDepthLimit<L, E> {
// Required methods
fn depth_limit(&self) -> Option<usize>;
fn stack_err(&self, loc: L) -> E;
}