Trait breakpad_symbols::SymbolSupplier
source · pub trait SymbolSupplier {
// Required methods
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_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;
}
Expand description
A trait for things that can locate symbols for a given module.
Required Methods§
sourcefn 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
.
Implementations may use any strategy for locating and loading symbols.
sourcefn 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
Implementations may use any strategy for locating and loading symbols.