[][src]Enum pdb::Error

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

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)

The requested stream is not stored in this file.

StreamNameNotFound

A stream requested by name was not found.

InvalidStreamLength(&'static str)

Invalid length of a stream.

IoError(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.

GlobalSymbolsNotFound

The global shared symbol table is missing.

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.

UnimplementedDebugSubsection(u32)

This debug subsection kind is unknown or unimplemented.

UnimplementedFileChecksumKind(u8)

This source file checksum kind is unknown or unimplemented.

InvalidFileChecksumOffset(u32)

There is no source file checksum at the given offset.

LinesNotFound

The lines table is missing.

Trait Implementations

impl From<Error> for Error[src]

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

impl Debug for Error[src]

impl Display for Error[src]

impl Error for Error[src]

default 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

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

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

default fn type_id(&self) -> TypeId where
    Self: 'static, 
1.34.0
[src]

Gets the TypeId of self

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> From for T[src]

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

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

type Error = Infallible

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

The type returned in the event of a conversion error.