Struct minidump_writer::maps_reader::SoVersion
source · pub struct SoVersion {
pub major: u32,
pub minor: u32,
pub patch: u32,
pub prerelease: u32,
}
Expand description
Version metadata retrieved from an .so filename
There is no standard for .so version numbers so this implementation just does a best effort to pull as much data as it can based on real .so schemes seen
That being said, the libtool versioning scheme is fairly common
Fields§
§major: u32
Might be non-zero if there is at least one non-zero numeric component after .so.
Equivalent to current
in libtool versions
minor: u32
The numeric component after the major version, if any
Equivalent to revision
in libtool versions
patch: u32
The numeric component after the minor version, if any
Equivalent to age
in libtool versions
prerelease: u32
The patch component may contain additional non-numeric metadata similar to a semver prelease, this is any numeric data that suffixes that prerelease string
Auto Trait Implementations§
impl Freeze for SoVersion
impl RefUnwindSafe for SoVersion
impl Send for SoVersion
impl Sync for SoVersion
impl Unpin for SoVersion
impl UnwindSafe for SoVersion
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