Enum cpp_demangle::error::Error
[−]
[src]
pub enum Error {
UnexpectedEnd,
UnexpectedText,
BadBackReference,
BadTemplateArgReference,
BadFunctionArgReference,
Overflow,
RecursiveDemangling,
TooMuchRecursion,
}Errors that can occur while demangling a symbol.
Variants
UnexpectedEndThe mangled symbol ends abruptly.
UnexpectedTextThe mangled symbol is not well-formed.
BadBackReferenceFound a back reference that is out-of-bounds of the substitution table.
BadTemplateArgReferenceFound a reference to a template arg that is either out-of-bounds, or in a context without template args.
BadFunctionArgReferenceFound a reference to a function arg that is either out-of-bounds, or in a context without function args.
OverflowAn overflow or underflow would occur when parsing an integer in a mangled symbol.
RecursiveDemanglingThe act of demangling some part of the AST attempted to demangle itself again.
TooMuchRecursionEncountered too much recursion when demangling symbol.
Trait Implementations
impl Debug for Error[src]
impl Clone for Error[src]
fn clone(&self) -> Error
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more
impl Copy for Error[src]
impl PartialEq for Error[src]
fn eq(&self, __arg_0: &Error) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0
This method tests for !=.
impl Eq for Error[src]
impl Hash for Error[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the given [Hasher]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0
H: Hasher,
Feeds a slice of this type into the given [Hasher]. Read more