Enum llvm_mapper::error::Error [−][src]
#[non_exhaustive]
pub enum Error {
Parse(BitstreamError),
BadUnroll(String),
BadBlock(BlockMapError),
}
Expand description
All possible errors that can occur while mapping a bitstream.
The error variants here are deeply nested.
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.
Parse(BitstreamError)
We encountered an error while performing the underlying bitstream parse.
Tuple Fields of Parse
BadUnroll(String)
We couldn’t unroll the stream because of a structural error.
Tuple Fields of BadUnroll
0: String
BadBlock(BlockMapError)
We couldn’t map a block, for some internal reason.
Tuple Fields of BadBlock
Trait Implementations
Performs the conversion.