#[non_exhaustive]
pub enum GetSymbolsError {
Show 24 variants
UnmatchedDebugId(DebugId, DebugId),
InvalidBreakpadId(String),
NoMatchMultiArch(Vec<DebugId>, Vec<GetSymbolsError>),
NoLuckMacOsSystemLibrary(Vec<GetSymbolsError>),
PdbError(&'static str, PdbError),
PdbAddr2lineErrorWithContext(&'static str, Error),
InvalidInputError(&'static str),
ObjectParseError(FileKind, Error),
DyldCacheParseError(Error),
NoMatchingDyldCacheImagePath(String),
MachOHeaderParseError(Error),
HelperErrorDuringGetCandidatePathsForBinaryOrPdb(String, DebugId, Box<dyn Error + Send + Sync>),
HelperErrorDuringGetCandidatePathsForPdb(String, DebugId, Box<dyn Error + Send + Sync>),
HelperErrorDuringOpenFile(String, Box<dyn Error + Send + Sync>),
HelperErrorDuringFileReading(String, Box<dyn Error + Send + Sync>),
NoCandidatePathForBinary(String, DebugId),
NoDebugInfoInPeBinary(String),
PdbPathDidntEndWithNul(String),
ArchiveParseError(PathBuf, Box<dyn Error + Send + Sync>),
ParseRequestErrorSerde(Error),
ParseRequestErrorContents(&'static str),
PdbAddr2lineError(Error),
SrcSrvParseError(ParseError),
SrcSrvEvalError(EvalError),
}
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
UnmatchedDebugId(DebugId, DebugId)
InvalidBreakpadId(String)
NoMatchMultiArch(Vec<DebugId>, Vec<GetSymbolsError>)
NoLuckMacOsSystemLibrary(Vec<GetSymbolsError>)
PdbError(&'static str, PdbError)
PdbAddr2lineErrorWithContext(&'static str, Error)
InvalidInputError(&'static str)
ObjectParseError(FileKind, Error)
DyldCacheParseError(Error)
NoMatchingDyldCacheImagePath(String)
MachOHeaderParseError(Error)
HelperErrorDuringGetCandidatePathsForBinaryOrPdb(String, DebugId, Box<dyn Error + Send + Sync>)
HelperErrorDuringGetCandidatePathsForPdb(String, DebugId, Box<dyn Error + Send + Sync>)
HelperErrorDuringOpenFile(String, Box<dyn Error + Send + Sync>)
HelperErrorDuringFileReading(String, Box<dyn Error + Send + Sync>)
NoCandidatePathForBinary(String, DebugId)
NoDebugInfoInPeBinary(String)
PdbPathDidntEndWithNul(String)
ArchiveParseError(PathBuf, Box<dyn Error + Send + Sync>)
ParseRequestErrorSerde(Error)
ParseRequestErrorContents(&'static str)
PdbAddr2lineError(Error)
SrcSrvParseError(ParseError)
SrcSrvEvalError(EvalError)
Implementations
sourceimpl GetSymbolsError
impl GetSymbolsError
pub fn enum_as_string(&self) -> &'static str
Trait Implementations
sourceimpl Debug for GetSymbolsError
impl Debug for GetSymbolsError
sourceimpl Display for GetSymbolsError
impl Display for GetSymbolsError
sourceimpl Error for GetSymbolsError
impl Error for GetSymbolsError
sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
sourcefn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
🔬 This is a nightly-only experimental API. (
backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎 Deprecated since 1.42.0:
use the Display impl or to_string()
sourceimpl From<Error> for GetSymbolsError
impl From<Error> for GetSymbolsError
sourceimpl From<Error> for GetSymbolsError
impl From<Error> for GetSymbolsError
sourcefn from(err: PdbError) -> GetSymbolsError
fn from(err: PdbError) -> GetSymbolsError
Converts to this type from the input type.
sourceimpl From<Error> for GetSymbolsError
impl From<Error> for GetSymbolsError
sourcefn from(err: Error) -> GetSymbolsError
fn from(err: Error) -> GetSymbolsError
Converts to this type from the input type.
sourceimpl From<EvalError> for GetSymbolsError
impl From<EvalError> for GetSymbolsError
sourcefn from(err: EvalError) -> GetSymbolsError
fn from(err: EvalError) -> GetSymbolsError
Converts to this type from the input type.
sourceimpl From<ParseError> for GetSymbolsError
impl From<ParseError> for GetSymbolsError
sourcefn from(err: ParseError) -> GetSymbolsError
fn from(err: ParseError) -> GetSymbolsError
Converts to this type from the input type.
Auto Trait Implementations
impl !RefUnwindSafe for GetSymbolsError
impl Send for GetSymbolsError
impl Sync for GetSymbolsError
impl Unpin for GetSymbolsError
impl !UnwindSafe for GetSymbolsError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more