Enum pdb::Error [] [src]

pub enum Error {
    UnrecognizedFileFormat,
    InvalidPageSize(u32),
    PageReferenceOutOfRange(u32),
    StreamNotFound(u32),
    IoError(Error),
    UnexpectedEof,
    UnimplementedFeature(&'static str),
    SymbolTooShort,
    UnimplementedSymbolKind(u16),
    InvalidTypeInformationHeader(&'static str),
    TypeTooShort,
    TypeNotFound(TypeIndex),
    TypeNotIndexed(TypeIndexTypeIndex),
    UnimplementedTypeKind(u16),
    UnexpectedNumericPrefix(u16),
}

An error that occurred while reading or parsing the PDB.

Variants

The input data was not recognized as a MSF (PDB) file.

The MSF header specifies an invalid page size.

MSF referred to page number out of range.

This likely indicates file corruption.

An IO error occurred while reading from the data source.

Unexpectedly reached end of input.

This data might be understandable, but the code needed to understand it hasn't been written.

A symbol record's length value was impossibly small.

Support for symbols of this kind is not implemented.

The type information header was invalid.

A type record's length value was impossibly small.

Type not found.

Type not indexed -- the requested type (.0) is larger than the maximum TypeIndex covered by the TypeFinder (.1).

Support for types of this kind is not implemented.

Variable-length numeric parsing encountered an unexpected prefix.

Trait Implementations

impl Debug 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

impl Display for Error
[src]

Formats the value using the given formatter.

impl From<Error> for Error
[src]

Performs the conversion.