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

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[src]

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

Constructs a CodeModuleId from its uuid and age parts.

pub fn uuid(&self) -> Uuid[src]

Returns the UUID part of the code module id.

pub fn age(&self) -> u32[src]

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[src]

Converts this code module id into a debug identifier.

Trait Implementations

impl Clone for CodeModuleId[src]

impl Copy for CodeModuleId[src]

impl Debug for CodeModuleId[src]

impl Default for CodeModuleId[src]

impl<'de> Deserialize<'de> for CodeModuleId[src]

impl Display for CodeModuleId[src]

impl Eq for CodeModuleId[src]

impl From<CodeModuleId> for DebugId[src]

impl From<DebugId> for CodeModuleId[src]

impl FromStr for CodeModuleId[src]

type Err = ParseDebugIdError

The associated error which can be returned from parsing.

impl Hash for CodeModuleId[src]

impl Ord for CodeModuleId[src]

impl PartialEq<CodeModuleId> for CodeModuleId[src]

impl PartialOrd<CodeModuleId> for CodeModuleId[src]

impl Serialize for CodeModuleId[src]

impl StructuralEq for CodeModuleId[src]

impl StructuralPartialEq for CodeModuleId[src]

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: Copy + Debug + Eq + Hash + Ord
[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.