[][src]Trait fuchsia_backtrace::DsoVisitor

pub trait DsoVisitor {
    fn dso(&mut self, dso: Dso) -> bool;
fn error(&mut self, error: Error) -> bool; }

DsoVisitor handles the two cases that can arise during iteration. Either an error while parsing can occur, or you might find a valid DSO.

Required methods

fn dso(&mut self, dso: Dso) -> bool

This is called when a valid DSO is found with a build ID.

fn error(&mut self, error: Error) -> bool

This is called anytime an error occurs when we think we've found a DSO but something else went wrong and we couldn't deliver a fully valid DSO.

Loading content...

Implementors

Loading content...