[−][src]Struct symbolic_minidump::processor::CodeModuleId
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]
fn clone(&self) -> CodeModuleId
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for CodeModuleId
[src]
impl Debug for CodeModuleId
[src]
impl Default for CodeModuleId
[src]
fn default() -> CodeModuleId
[src]
impl Display for CodeModuleId
[src]
impl Eq for CodeModuleId
[src]
impl From<DebugId> for CodeModuleId
[src]
impl FromStr for CodeModuleId
[src]
type Err = ParseCodeModuleIdError
The associated error which can be returned from parsing.
fn from_str(string: &str) -> Result<CodeModuleId, ParseCodeModuleIdError>
[src]
impl Hash for CodeModuleId
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Into<DebugId> for CodeModuleId
[src]
impl Ord for CodeModuleId
[src]
fn cmp(&self, other: &CodeModuleId) -> Ordering
[src]
#[must_use]fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<CodeModuleId> for CodeModuleId
[src]
fn eq(&self, other: &CodeModuleId) -> bool
[src]
fn ne(&self, other: &CodeModuleId) -> bool
[src]
impl PartialOrd<CodeModuleId> for CodeModuleId
[src]
fn partial_cmp(&self, other: &CodeModuleId) -> Option<Ordering>
[src]
fn lt(&self, other: &CodeModuleId) -> bool
[src]
fn le(&self, other: &CodeModuleId) -> bool
[src]
fn gt(&self, other: &CodeModuleId) -> bool
[src]
fn ge(&self, other: &CodeModuleId) -> bool
[src]
impl StructuralEq for CodeModuleId
[src]
impl StructuralPartialEq for CodeModuleId
[src]
Auto Trait Implementations
impl RefUnwindSafe for CodeModuleId
impl Send for CodeModuleId
impl Sync for CodeModuleId
impl Unpin for CodeModuleId
impl UnwindSafe for CodeModuleId
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> RuleType for T where
T: Eq + Ord + Copy + Debug + Hash,
[src]
T: Eq + Ord + Copy + Debug + Hash,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,