Struct symbolic::minidump::processor::CodeModuleId [−][src]
pub struct CodeModuleId { /* fields omitted */ }
Expand description
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
Constructs a CodeModuleId
from its uuid
and age
parts.
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.
Converts this code module id into a debug identifier.
Trait Implementations
Returns the “default value” for a type. Read more
pub fn deserialize<D>(
deserializer: D
) -> Result<CodeModuleId, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
pub fn deserialize<D>(
deserializer: D
) -> Result<CodeModuleId, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Performs the conversion.
Performs the conversion.
type Err = ParseDebugIdError
type Err = ParseDebugIdError
The associated error which can be returned from parsing.
Parses a string s
to return a value of this type. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
pub fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
S: Serializer,
pub fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
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
Mutably borrows from an owned value. Read more
impl<I, T> ExtractContext<I, ()> for T
impl<I, T> ExtractContext<I, ()> for T
pub fn extract_context(self, _original_input: I)
pub fn extract_context(self, _original_input: I)
Given the context attached to a nom error, and given the original input to the nom parser, extract more the useful context information. Read more
impl<T> Indentable for T where
T: Display,
impl<T> Indentable for T where
T: Display,
fn indented_skip_initial(self, indent: &str) -> IndentedSkipIntial<'_, Self>
fn indented_skip_initial(self, indent: &str) -> IndentedSkipIntial<'_, Self>
pub fn recreate_context(_original_input: I, tail: I) -> I
pub fn recreate_context(_original_input: I, tail: I) -> I
Given the original input, as well as the context reported by nom, recreate a context in the original string where the error occurred. Read more