[−]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
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
fn clone(&self) -> CodeModuleId
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for CodeModuleId
impl Debug for CodeModuleId
impl Default for CodeModuleId
fn default() -> CodeModuleId
impl<'de> Deserialize<'de> for CodeModuleId
fn deserialize<D>(
deserializer: D
) -> Result<CodeModuleId, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
deserializer: D
) -> Result<CodeModuleId, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
impl Display for CodeModuleId
impl Eq for CodeModuleId
impl From<DebugId> for CodeModuleId
fn from(inner: DebugId) -> CodeModuleId
impl FromStr for CodeModuleId
type Err = ParseDebugIdError
The associated error which can be returned from parsing.
fn from_str(string: &str) -> Result<CodeModuleId, ParseDebugIdError>
impl Hash for CodeModuleId
fn hash<__H>(&self, state: &mut __H) where
__H: Hasher,
__H: Hasher,
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Into<DebugId> for CodeModuleId
impl Ord for CodeModuleId
fn cmp(&self, other: &CodeModuleId) -> Ordering
#[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
fn eq(&self, other: &CodeModuleId) -> bool
fn ne(&self, other: &CodeModuleId) -> bool
impl PartialOrd<CodeModuleId> for CodeModuleId
fn partial_cmp(&self, other: &CodeModuleId) -> Option<Ordering>
fn lt(&self, other: &CodeModuleId) -> bool
fn le(&self, other: &CodeModuleId) -> bool
fn gt(&self, other: &CodeModuleId) -> bool
fn ge(&self, other: &CodeModuleId) -> bool
impl Serialize for CodeModuleId
fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
S: Serializer,
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
S: Serializer,
impl StructuralEq for CodeModuleId
impl StructuralPartialEq for CodeModuleId
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> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
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>,