Struct symbolic::debuginfo::breakpad::BreakpadPublicRecord
source · pub struct BreakpadPublicRecord<'d> {
pub multiple: bool,
pub address: u64,
pub parameter_size: u64,
pub name: &'d str,
}
Expand description
A public function symbol record.
Example: PUBLIC m 2160 0 Public2_1
Fields§
§multiple: bool
Whether this symbol was referenced multiple times.
address: u64
The address of this symbol relative to the image base (load address).
parameter_size: u64
The size of the parameters on the runtime stack.
name: &'d str
The demangled function name of the symbol.
Implementations§
source§impl<'d> BreakpadPublicRecord<'d>
impl<'d> BreakpadPublicRecord<'d>
sourcepub fn parse(data: &'d [u8]) -> Result<BreakpadPublicRecord<'d>, BreakpadError>
pub fn parse(data: &'d [u8]) -> Result<BreakpadPublicRecord<'d>, BreakpadError>
Parses a public record from a single line.
Trait Implementations§
source§impl<'d> Clone for BreakpadPublicRecord<'d>
impl<'d> Clone for BreakpadPublicRecord<'d>
source§fn clone(&self) -> BreakpadPublicRecord<'d>
fn clone(&self) -> BreakpadPublicRecord<'d>
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<'d> Debug for BreakpadPublicRecord<'d>
impl<'d> Debug for BreakpadPublicRecord<'d>
source§impl<'d> Default for BreakpadPublicRecord<'d>
impl<'d> Default for BreakpadPublicRecord<'d>
source§fn default() -> BreakpadPublicRecord<'d>
fn default() -> BreakpadPublicRecord<'d>
Returns the “default value” for a type. Read more
source§impl<'d> PartialEq for BreakpadPublicRecord<'d>
impl<'d> PartialEq for BreakpadPublicRecord<'d>
source§fn eq(&self, other: &BreakpadPublicRecord<'d>) -> bool
fn eq(&self, other: &BreakpadPublicRecord<'d>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<'d> Eq for BreakpadPublicRecord<'d>
impl<'d> StructuralEq for BreakpadPublicRecord<'d>
impl<'d> StructuralPartialEq for BreakpadPublicRecord<'d>
Auto Trait Implementations§
impl<'d> RefUnwindSafe for BreakpadPublicRecord<'d>
impl<'d> Send for BreakpadPublicRecord<'d>
impl<'d> Sync for BreakpadPublicRecord<'d>
impl<'d> Unpin for BreakpadPublicRecord<'d>
impl<'d> UnwindSafe for BreakpadPublicRecord<'d>
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<I, T> ExtractContext<I, ()> for T
impl<I, T> ExtractContext<I, ()> for T
§fn extract_context(self, _original_input: I)
fn extract_context(self, _original_input: I)
Given the context attached to a nom error, and given the original
input to the nom parser, extract more the useful context information. Read more
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<I> RecreateContext<I> for I
impl<I> RecreateContext<I> for I
§fn recreate_context(_original_input: I, tail: I) -> I
fn recreate_context(_original_input: I, tail: I) -> I
Given the original input, as well as the context reported by nom,
recreate a context in the original string where the error occurred. Read more