Enum symbolic_debuginfo::FileFormat
source · pub enum FileFormat {
Unknown,
Breakpad,
Elf,
MachO,
Pdb,
Pe,
SourceBundle,
Wasm,
PortablePdb,
}
Expand description
Represents the physical object file format.
Variants§
Unknown
An unknown file format.
Breakpad
Breakpad ASCII symbol.
Elf
Executable and Linkable Format, used on Linux.
MachO
Mach Objects, used on macOS and iOS derivatives.
Pdb
Program Database, the debug companion format on Windows.
Pe
Portable Executable, an extension of COFF used on Windows.
SourceBundle
Source code bundle ZIP.
Wasm
WASM container.
PortablePdb
Portable PDB
Implementations§
Trait Implementations§
source§impl Clone for FileFormat
impl Clone for FileFormat
source§fn clone(&self) -> FileFormat
fn clone(&self) -> FileFormat
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for FileFormat
impl Debug for FileFormat
source§impl<'de> Deserialize<'de> for FileFormat
impl<'de> Deserialize<'de> for FileFormat
source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Display for FileFormat
impl Display for FileFormat
source§impl FromStr for FileFormat
impl FromStr for FileFormat
§type Err = UnknownFileFormatError
type Err = UnknownFileFormatError
The associated error which can be returned from parsing.
source§fn from_str(string: &str) -> Result<FileFormat, UnknownFileFormatError>
fn from_str(string: &str) -> Result<FileFormat, UnknownFileFormatError>
Parses a string
s
to return a value of this type. Read moresource§impl Hash for FileFormat
impl Hash for FileFormat
source§impl Ord for FileFormat
impl Ord for FileFormat
source§fn cmp(&self, other: &FileFormat) -> Ordering
fn cmp(&self, other: &FileFormat) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<FileFormat> for FileFormat
impl PartialEq<FileFormat> for FileFormat
source§fn eq(&self, other: &FileFormat) -> bool
fn eq(&self, other: &FileFormat) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<FileFormat> for FileFormat
impl PartialOrd<FileFormat> for FileFormat
source§fn partial_cmp(&self, other: &FileFormat) -> Option<Ordering>
fn partial_cmp(&self, other: &FileFormat) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for FileFormat
impl Serialize for FileFormat
impl Copy for FileFormat
impl Eq for FileFormat
impl StructuralEq for FileFormat
impl StructuralPartialEq for FileFormat
Auto Trait Implementations§
impl RefUnwindSafe for FileFormat
impl Send for FileFormat
impl Sync for FileFormat
impl Unpin for FileFormat
impl UnwindSafe for FileFormat
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<I, T> ExtractContext<I, ()> for T
impl<I, T> ExtractContext<I, ()> for T
source§fn extract_context(self, _original_input: I)
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 Twhere
T: Display,
impl<T> Indentable for Twhere T: Display,
source§impl<I> RecreateContext<I> for I
impl<I> RecreateContext<I> for I
source§fn recreate_context(_original_input: I, tail: I) -> I
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