Struct breakpad_symbols::StringSymbolSupplier
source · pub struct StringSymbolSupplier { /* private fields */ }
Expand description
A SymbolSupplier that maps module names (code_files) to an in-memory string.
Intended for mocking symbol files in tests.
Implementations§
Trait Implementations§
source§impl Clone for StringSymbolSupplier
impl Clone for StringSymbolSupplier
source§fn clone(&self) -> StringSymbolSupplier
fn clone(&self) -> StringSymbolSupplier
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for StringSymbolSupplier
impl Debug for StringSymbolSupplier
source§impl Default for StringSymbolSupplier
impl Default for StringSymbolSupplier
source§fn default() -> StringSymbolSupplier
fn default() -> StringSymbolSupplier
Returns the “default value” for a type. Read more
source§impl SymbolSupplier for StringSymbolSupplier
impl SymbolSupplier for StringSymbolSupplier
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 RefUnwindSafe for StringSymbolSupplier
impl Send for StringSymbolSupplier
impl Sync for StringSymbolSupplier
impl Unpin for StringSymbolSupplier
impl UnwindSafe for StringSymbolSupplier
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