[]Struct symbolic::minidump::processor::CodeModuleId

pub struct CodeModuleId { /* fields omitted */ }

Breakpad code module IDs.

Example

use std::str::FromStr;
use symbolic_minidump::processor::CodeModuleId;

let id = CodeModuleId::from_str("DFB8E43AF2423D73A453AEB6A777EF75a")?;
assert_eq!("DFB8E43AF2423D73A453AEB6A777EF75a".to_string(), id.to_string());

Implementations

impl CodeModuleId

pub fn from_parts(uuid: Uuid, age: u32) -> CodeModuleId

Constructs a CodeModuleId from its uuid and age parts.

pub fn uuid(&self) -> Uuid

Returns the UUID part of the code module id.

pub fn age(&self) -> u32

Returns the appendix part of the code module id.

On Windows, this is an incrementing counter to identify the build. On all other platforms, this value will always be zero.

pub fn as_object_id(&self) -> DebugId

Converts this code module id into a debug identifier.

Trait Implementations

impl Clone for CodeModuleId

impl Copy for CodeModuleId

impl Debug for CodeModuleId

impl Default for CodeModuleId

impl<'de> Deserialize<'de> for CodeModuleId

impl Display for CodeModuleId

impl Eq for CodeModuleId

impl From<DebugId> for CodeModuleId

impl FromStr for CodeModuleId

type Err = ParseDebugIdError

The associated error which can be returned from parsing.

impl Hash for CodeModuleId

impl Into<DebugId> for CodeModuleId

impl Ord for CodeModuleId

impl PartialEq<CodeModuleId> for CodeModuleId

impl PartialOrd<CodeModuleId> for CodeModuleId

impl Serialize for CodeModuleId

impl StructuralEq for CodeModuleId

impl StructuralPartialEq for CodeModuleId

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> RuleType for T where
    T: Eq + Ord + Copy + Debug + Hash
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.