Enum gdb_command::error::Error[][src]

pub enum Error {
    ParseOutput(String),
    ExitCode(i32),
    NoFile(String),
    IO(Error),
    StacktraceParse(String),
    MappedFilesParse(String),
    IntParse(ParseIntError),
}
Expand description

A custom GdbCommand error

Variants

ParseOutput(String)

Gdb output parsing error

Tuple Fields of ParseOutput

0: String
ExitCode(i32)

Gdb exit status error

Tuple Fields of ExitCode

0: i32
NoFile(String)

No executable/core found to run under gdb.

Tuple Fields of NoFile

0: String
IO(Error)

An IO based error

Tuple Fields of IO

0: Error
StacktraceParse(String)

Error parsing stacktrace

Tuple Fields of StacktraceParse

0: String
MappedFilesParse(String)

Error parsing mapped files

Tuple Fields of MappedFilesParse

0: String
IntParse(ParseIntError)

An ParseInt based error

Tuple Fields of IntParse

0: ParseIntError

Trait Implementations

Formats the value using the given formatter. Read more

Formats the value using the given formatter. Read more

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

🔬 This is a nightly-only experimental API. (backtrace)

Returns a stack backtrace, if available, of where this error occurred. Read more

👎 Deprecated since 1.42.0:

use the Display impl or to_string()

👎 Deprecated since 1.33.0:

replaced by Error::source, which can support downcasting

Performs the conversion.

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.