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

The mangled symbol ends abruptly.

The mangled symbol is not well-formed.

Found a back reference that is out-of-bounds of the substitution table.

Found a reference to a template arg that is either out-of-bounds, or in a context without template args.

Found a reference to a function arg that is either out-of-bounds, or in a context without function args.

An overflow or underflow would occur when parsing an integer in a mangled symbol.

The act of demangling some part of the AST attempted to demangle itself again.

Trait Implementations

impl Debug for Error
[src]

Formats the value using the given formatter.

impl Clone for Error
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Error
[src]

impl PartialEq for Error
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for Error
[src]

impl Hash for Error
[src]

Feeds this value into the state given, updating the hasher as necessary.

Feeds a slice of this type into the state provided.

impl Display for Error
[src]

Formats the value using the given formatter.

impl Error for Error
[src]

A short description of the error. Read more

The lower-level cause of this error, if any. Read more