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

No STX byte found

No ETX byte found

An invalid UTF-8 sequence occurred

A field contains a character not appropriate for that field (e.g. non-hex digit in a hex field)

An unexpected end of file was encountered in the file checksum

The file checksum was nonzero and incorrect

The fuse checksum (C command) was incorrect

A L field index was out of range

There was no QF field

There was no F field, but not all fuses had a value specified

There was a field that this program does not recognize

Trait Implementations

impl Debug for JedParserError
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for JedParserError
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Eq for JedParserError
[src]

impl Error for JedParserError
[src]

[src]

A short description of the error. Read more

[src]

The lower-level cause of this error, if any. Read more

impl Display for JedParserError
[src]

[src]

Formats the value using the given formatter. Read more

impl From<Utf8Error> for JedParserError
[src]

[src]

Performs the conversion.

impl From<ParseIntError> for JedParserError
[src]

[src]

Performs the conversion.