pub enum SymbolKindParseError {
SymFunctionParse {
source: SymFunctionParseError,
},
SymDataParse {
source: SymDataParseError,
},
SymBssParse {
source: SymBssParseError,
},
SymLabelParse {
source: SymLabelParseError,
},
UnknownKind {
context: ParseContext,
kind: String,
backtrace: Backtrace,
},
}Variants§
SymFunctionParse
Fields
§
source: SymFunctionParseErrorSymDataParse
Fields
§
source: SymDataParseErrorSymBssParse
Fields
§
source: SymBssParseErrorSymLabelParse
Fields
§
source: SymLabelParseErrorUnknownKind
Trait Implementations§
Source§impl Debug for SymbolKindParseError
impl Debug for SymbolKindParseError
Source§impl Display for SymbolKindParseError
impl Display for SymbolKindParseError
Source§impl Error for SymbolKindParseError
impl Error for SymbolKindParseError
Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§fn cause(&self) -> Option<&dyn Error>
fn cause(&self) -> Option<&dyn Error>
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
Source§impl ErrorCompat for SymbolKindParseError
impl ErrorCompat for SymbolKindParseError
Source§fn iter_chain(&self) -> ChainCompat<'_, '_>where
Self: AsErrorSource,
fn iter_chain(&self) -> ChainCompat<'_, '_>where
Self: AsErrorSource,
Returns an iterator for traversing the chain of errors,
starting with the current error
and continuing with recursive calls to
Error::source. Read moreSource§impl From<SymBssParseError> for SymbolKindParseError
impl From<SymBssParseError> for SymbolKindParseError
Source§fn from(error: SymBssParseError) -> Self
fn from(error: SymBssParseError) -> Self
Converts to this type from the input type.
Source§impl From<SymDataParseError> for SymbolKindParseError
impl From<SymDataParseError> for SymbolKindParseError
Source§fn from(error: SymDataParseError) -> Self
fn from(error: SymDataParseError) -> Self
Converts to this type from the input type.
Source§impl From<SymFunctionParseError> for SymbolKindParseError
impl From<SymFunctionParseError> for SymbolKindParseError
Source§fn from(error: SymFunctionParseError) -> Self
fn from(error: SymFunctionParseError) -> Self
Converts to this type from the input type.
Source§impl From<SymLabelParseError> for SymbolKindParseError
impl From<SymLabelParseError> for SymbolKindParseError
Source§fn from(error: SymLabelParseError) -> Self
fn from(error: SymLabelParseError) -> Self
Converts to this type from the input type.
Source§impl From<SymbolKindParseError> for SymbolParseError
impl From<SymbolKindParseError> for SymbolParseError
Source§fn from(error: SymbolKindParseError) -> Self
fn from(error: SymbolKindParseError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !Freeze for SymbolKindParseError
impl RefUnwindSafe for SymbolKindParseError
impl Send for SymbolKindParseError
impl Sync for SymbolKindParseError
impl Unpin for SymbolKindParseError
impl UnwindSafe for SymbolKindParseError
Blanket Implementations§
Source§impl<T> AsErrorSource for Twhere
T: Error + 'static,
impl<T> AsErrorSource for Twhere
T: Error + 'static,
Source§fn as_error_source(&self) -> &(dyn Error + 'static)
fn as_error_source(&self) -> &(dyn Error + 'static)
For maximum effectiveness, this needs to be called as a method
to benefit from Rust’s automatic dereferencing of method
receivers.
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