Struct breakpad_symbols::SimpleSymbolSupplier
source · pub struct SimpleSymbolSupplier { /* private fields */ }
Expand description
An implementation of SymbolSupplier
that loads Breakpad text-format symbols from local disk
paths.
See breakpad_sym_lookup
for details on how paths are searched.
Implementations§
source§impl SimpleSymbolSupplier
impl SimpleSymbolSupplier
sourcepub fn new(paths: Vec<PathBuf>) -> SimpleSymbolSupplier
pub fn new(paths: Vec<PathBuf>) -> SimpleSymbolSupplier
Instantiate a new SimpleSymbolSupplier
that will search in paths
.
Trait Implementations§
source§impl SymbolSupplier for SimpleSymbolSupplier
impl SymbolSupplier for SimpleSymbolSupplier
source§fn locate_symbols<'life0, 'life1, 'async_trait>(
&'life0 self,
module: &'life1 (dyn Module + Sync)
) -> Pin<Box<dyn Future<Output = Result<LocateSymbolsResult, SymbolError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn locate_symbols<'life0, 'life1, 'async_trait>(
&'life0 self,
module: &'life1 (dyn Module + Sync)
) -> Pin<Box<dyn Future<Output = Result<LocateSymbolsResult, SymbolError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Locate and load a symbol file for
module
. Read moresource§fn locate_file<'life0, 'life1, 'async_trait>(
&'life0 self,
module: &'life1 (dyn Module + Sync),
file_kind: FileKind
) -> Pin<Box<dyn Future<Output = Result<PathBuf, FileError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn locate_file<'life0, 'life1, 'async_trait>(
&'life0 self,
module: &'life1 (dyn Module + Sync),
file_kind: FileKind
) -> Pin<Box<dyn Future<Output = Result<PathBuf, FileError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Locate a specific file associated with a
module
Read moreAuto Trait Implementations§
impl Freeze for SimpleSymbolSupplier
impl RefUnwindSafe for SimpleSymbolSupplier
impl Send for SimpleSymbolSupplier
impl Sync for SimpleSymbolSupplier
impl Unpin for SimpleSymbolSupplier
impl UnwindSafe for SimpleSymbolSupplier
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more