Enum jedec::JedParserError
[−]
[src]
pub enum JedParserError { MissingSTX, MissingETX, InvalidUtf8(Utf8Error), InvalidCharacter, UnexpectedEnd, BadFileChecksum, BadFuseChecksum, InvalidFuseIndex, MissingQF, MissingF, UnrecognizedField, }
Errors that can occur when parsing a .jed file
Variants
MissingSTX
No STX byte found
MissingETX
No ETX byte found
InvalidUtf8(Utf8Error)
An invalid UTF-8 sequence occurred
InvalidCharacter
A field contains a character not appropriate for that field (e.g. non-hex digit in a hex field)
UnexpectedEnd
An unexpected end of file was encountered in the file checksum
BadFileChecksum
The file checksum was nonzero and incorrect
BadFuseChecksum
The fuse checksum (C
command) was incorrect
InvalidFuseIndex
A L
field index was out of range
MissingQF
There was no QF
field
MissingF
There was no F
field, but not all fuses had a value specified
UnrecognizedField
There was a field that this program does not recognize
Trait Implementations
impl Debug for JedParserError
[src]
impl PartialEq for JedParserError
[src]
fn eq(&self, __arg_0: &JedParserError) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &JedParserError) -> bool
[src]
This method tests for !=
.
impl Eq for JedParserError
[src]
impl Error for JedParserError
[src]
fn description(&self) -> &'static str
[src]
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
[src]
The lower-level cause of this error, if any. Read more
impl Display for JedParserError
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl From<Utf8Error> for JedParserError
[src]
impl From<ParseIntError> for JedParserError
[src]
fn from(_: ParseIntError) -> Self
[src]
Performs the conversion.