Enum cpp_demangle::error::Error
[−]
[src]
pub enum Error { UnexpectedEnd, UnexpectedText, BadBackReference, BadTemplateArgReference, BadFunctionArgReference, Overflow, RecursiveDemangling, }
Errors that can occur while demangling a symbol.
Variants
UnexpectedEnd
The mangled symbol ends abruptly.
UnexpectedText
The mangled symbol is not well-formed.
BadBackReference
Found a back reference that is out-of-bounds of the substitution table.
BadTemplateArgReference
Found a reference to a template arg that is either out-of-bounds, or in a context without template args.
BadFunctionArgReference
Found a reference to a function arg that is either out-of-bounds, or in a context without function args.
Overflow
An overflow or underflow would occur when parsing an integer in a mangled symbol.
RecursiveDemangling
The act of demangling some part of the AST attempted to demangle itself again.
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) -> bool
1.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 state given, updating the hasher as necessary.
fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher
1.3.0
Feeds a slice of this type into the state provided.