#[repr(i32)]pub enum SymbolFormat {
Unspecified = 0,
ElfDwarf = 1,
PePdb = 2,
MachoDsym = 3,
}Variants§
Implementations§
Source§impl SymbolFormat
impl SymbolFormat
Source§impl SymbolFormat
impl SymbolFormat
Sourcepub fn as_str_name(&self) -> &'static str
pub fn as_str_name(&self) -> &'static str
String value of the enum field names used in the ProtoBuf definition.
The values are not transformed in any way and thus are considered stable (if the ProtoBuf definition does not change) and safe for programmatic use.
Sourcepub fn from_str_name(value: &str) -> Option<Self>
pub fn from_str_name(value: &str) -> Option<Self>
Creates an enum from field names used in the ProtoBuf definition.
Trait Implementations§
Source§impl Clone for SymbolFormat
impl Clone for SymbolFormat
Source§fn clone(&self) -> SymbolFormat
fn clone(&self) -> SymbolFormat
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SymbolFormat
Source§impl Debug for SymbolFormat
impl Debug for SymbolFormat
Source§impl Default for SymbolFormat
impl Default for SymbolFormat
Source§fn default() -> SymbolFormat
fn default() -> SymbolFormat
Returns the “default value” for a type. Read more
impl Eq for SymbolFormat
Source§impl From<SymbolFormat> for i32
impl From<SymbolFormat> for i32
Source§fn from(value: SymbolFormat) -> i32
fn from(value: SymbolFormat) -> i32
Converts to this type from the input type.
Source§impl Hash for SymbolFormat
impl Hash for SymbolFormat
Source§impl Ord for SymbolFormat
impl Ord for SymbolFormat
Source§fn cmp(&self, other: &SymbolFormat) -> Ordering
fn cmp(&self, other: &SymbolFormat) -> Ordering
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for SymbolFormat
impl PartialEq for SymbolFormat
Source§impl PartialOrd for SymbolFormat
impl PartialOrd for SymbolFormat
impl StructuralPartialEq for SymbolFormat
Source§impl TryFrom<i32> for SymbolFormat
impl TryFrom<i32> for SymbolFormat
Source§type Error = UnknownEnumValue
type Error = UnknownEnumValue
The type returned in the event of a conversion error.
Source§fn try_from(value: i32) -> Result<SymbolFormat, UnknownEnumValue>
fn try_from(value: i32) -> Result<SymbolFormat, UnknownEnumValue>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for SymbolFormat
impl RefUnwindSafe for SymbolFormat
impl Send for SymbolFormat
impl Sync for SymbolFormat
impl Unpin for SymbolFormat
impl UnsafeUnpin for SymbolFormat
impl UnwindSafe for SymbolFormat
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