Enum llvm_mapper::record::RecordMapError [−][src]
#[non_exhaustive]
pub enum RecordMapError {
DataLayout(DataLayoutParseError),
BadField(String),
BadRecordLayout(String),
BadContext(MapCtxError),
BadStrtab(StrtabError),
Unsupported(String),
}Expand description
Potential errors when mapping a single bitstream record.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
DataLayout(DataLayoutParseError)Parsing the datalayout specification failed.
Tuple Fields of DataLayout
BadField(String)We couldn’t interpret a record field, for any number of reasons.
Tuple Fields of BadField
0: StringBadRecordLayout(String)We encountered a record layout we didn’t understand.
Tuple Fields of BadRecordLayout
0: StringBadContext(MapCtxError)Our mapping context was invalid for our operation.
Tuple Fields of BadContext
0: MapCtxErrorBadStrtab(StrtabError)Retrieving a string from a string table failed.
Tuple Fields of BadStrtab
0: StrtabErrorUnsupported(String)We encountered an unsupported feature or layout.
Tuple Fields of Unsupported
0: StringTrait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.