[][src]Enum jedec::JedParserError

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 Clone for JedParserError[src]

impl Copy for JedParserError[src]

impl Debug for JedParserError[src]

impl Display for JedParserError[src]

impl Eq for JedParserError[src]

impl Error for JedParserError[src]

impl From<ParseIntError> for JedParserError[src]

impl From<Utf8Error> for JedParserError[src]

impl PartialEq<JedParserError> for JedParserError[src]

impl StructuralEq for JedParserError[src]

impl StructuralPartialEq for JedParserError[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.