#[non_exhaustive]pub enum FormatErrorKind {
Show 27 variants
InvalidHeader,
InvalidSignature,
InvalidLength,
InvalidVersionString,
InvalidStreamHeader,
InvalidStreamName,
NoStringsStream,
InvalidStringOffset,
InvalidStringData,
UnknownStream,
NoGuidStream,
InvalidGuidIndex,
InsufficientTableData(usize, usize),
InvalidBlobOffset,
InvalidBlobData,
NoBlobStream,
InvalidCompressedUnsigned,
InvalidCompressedSigned,
InvalidDocumentName,
InvalidSequencePoint,
NoMetadataStream,
RowIndexOutOfBounds(TableType, usize),
ColIndexOutOfBounds(TableType, usize),
ColumnWidth(TableType, usize, usize),
InvalidCustomDebugInformationTag(u32),
InvalidBlobFormat(u32),
InvalidSourceLinkJson,
}
Expand description
The kind of a FormatError
.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
InvalidHeader
The header of the Portable PDB file could not be read.
InvalidSignature
The header of the Portable PDB does not contain the correct signature.
InvalidLength
The file ends prematurely.
InvalidVersionString
The file does not contain a valid version string.
InvalidStreamHeader
A stream header could not be read.
InvalidStreamName
A stream’s name could not be read.
NoStringsStream
String data was requested, but the file does not contain a #Strings
stream.
InvalidStringOffset
The given offset is out of bounds for the string heap.
InvalidStringData
Tried to read invalid string data.
UnknownStream
An unrecognized stream name was encountered.
NoGuidStream
GUID data was requested, but the file does not contain a #GUID
stream.
InvalidGuidIndex
The given index is out of bounds for the GUID heap.
InsufficientTableData(usize, usize)
The table stream is too small to hold all claimed tables.
InvalidBlobOffset
The given offset is out of bounds for the #Blob
heap.
InvalidBlobData
The given offset points to invalid blob data.
NoBlobStream
Blob data was requested, but the file does not contain a #Blob
stream.
InvalidCompressedUnsigned
Tried to read an invalid compressed unsigned number.
InvalidCompressedSigned
Tried to read an invalid compressed signed number.
InvalidDocumentName
Could not read a document name.
InvalidSequencePoint
Failed to parse a sequence point.
NoMetadataStream
Table data was requested, but the file does not contain a #~
stream.
RowIndexOutOfBounds(TableType, usize)
The given row index is out of bounds for the table.
ColIndexOutOfBounds(TableType, usize)
The given column index is out of bounds for the table.
ColumnWidth(TableType, usize, usize)
The given column in the table has an incompatible width.
InvalidCustomDebugInformationTag(u32)
Tried to read an custom debug information table item tag.
InvalidBlobFormat(u32)
Tried to read contents of a blob in an unknown format.
InvalidSourceLinkJson
Failed to parse Source Link JSON
Trait Implementations§
Source§impl Clone for FormatErrorKind
impl Clone for FormatErrorKind
Source§fn clone(&self) -> FormatErrorKind
fn clone(&self) -> FormatErrorKind
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more