[][src]Enum pdb::Error

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

An error that occurred while reading or parsing the PDB.

Variants

UnrecognizedFileFormat

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

InvalidPageSize(u32)

The MSF header specifies an invalid page size.

PageReferenceOutOfRange(u32)

MSF referred to page number out of range.

This likely indicates file corruption.

StreamNotFound(u32)StreamNameNotFoundIoError(Error)

An IO error occurred while reading from the data source.

UnexpectedEof

Unexpectedly reached end of input.

UnimplementedFeature(&'static str)

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

SymbolTooShort

A symbol record's length value was impossibly small.

UnimplementedSymbolKind(u16)

Support for symbols of this kind is not implemented.

InvalidTypeInformationHeader(&'static str)

The type information header was invalid.

TypeTooShort

A type record's length value was impossibly small.

TypeNotFound(TypeIndex)

Type not found.

TypeNotIndexed(TypeIndexTypeIndex)

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

UnimplementedTypeKind(u16)

Support for types of this kind is not implemented.

UnexpectedNumericPrefix(u16)

Variable-length numeric parsing encountered an unexpected prefix.

AddressMapNotFound

Required mapping for virtual addresses (OMAP) was not found.

ScrollError(Error)

A parse error from scroll.

Trait Implementations

impl From<Error> for Error[src]

impl From<Error<usize>> for Error[src]

impl Display for Error[src]

impl Debug for Error[src]

impl Error for Error[src]

fn cause(&self) -> Option<&dyn Error>
1.0.0
[src]

Deprecated since 1.33.0:

replaced by Error::source, which can support downcasting

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

fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0
[src]

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

Auto Trait Implementations

impl Send for Error

impl Sync for Error

Blanket Implementations

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = !

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

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

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

The type returned in the event of a conversion error.