#[non_exhaustive]pub struct ConversionStats {
pub symbol_functions: usize,
pub dwarf_functions: usize,
pub split_dwarf_units: usize,
pub line_rows: usize,
pub inline_nodes: usize,
pub rejected_ranges: usize,
}Available on crate feature
convert only.Expand description
Counts describing one completed conversion.
symbol_functions and dwarf_functions overlap: a function present in both
the symbol table and the DWARF is counted once in each, and the builder keeps
the richer record. rejected_ranges includes expected linker tombstones as
well as invalid or unrepresentable input ranges.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.symbol_functions: usizeDistinct functions imported from ELF symbol tables.
dwarf_functions: usizeFunctions imported from DWARF DIEs.
split_dwarf_units: usizeSkeleton units whose matching DWO or DWP data was imported.
line_rows: usizeSource-line rows attached to imported functions.
inline_nodes: usizeInline nodes attached to imported functions.
rejected_ranges: usizeDead, invalid, or unrepresentable address ranges rejected.
Expected zero, -1, or -2 linker tombstones are counted here but do not
produce individual conversion warnings.
Trait Implementations§
Source§impl Clone for ConversionStats
impl Clone for ConversionStats
Source§fn clone(&self) -> ConversionStats
fn clone(&self) -> ConversionStats
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ConversionStats
Source§impl Debug for ConversionStats
impl Debug for ConversionStats
Source§impl Default for ConversionStats
impl Default for ConversionStats
Source§fn default() -> ConversionStats
fn default() -> ConversionStats
Returns the “default value” for a type. Read more
impl Eq for ConversionStats
Source§impl PartialEq for ConversionStats
impl PartialEq for ConversionStats
impl StructuralPartialEq for ConversionStats
Auto Trait Implementations§
impl Freeze for ConversionStats
impl RefUnwindSafe for ConversionStats
impl Send for ConversionStats
impl Sync for ConversionStats
impl Unpin for ConversionStats
impl UnsafeUnpin for ConversionStats
impl UnwindSafe for ConversionStats
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