[][src]Enum mozpdb::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),
    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)
StreamNameNotFound
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.

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.

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]

Auto Trait Implementations

impl Send for Error

impl Sync for Error

impl Unpin for Error

impl !UnwindSafe for Error

impl !RefUnwindSafe for Error

Blanket Implementations

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

impl<T> From<T> for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.

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

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

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