[][src]Enum xc2bit::XC2BitError

pub enum XC2BitError {
    JedParseError(JedParserError),
    BadDeviceName(String),
    WrongFuseCount,
    UnsupportedOeConfiguration((bool, bool, bool, bool)),
    UnsupportedZIAConfiguration(Vec<bool>),
}

Errors that can occur when parsing a bitstream

Variants

JedParseError(JedParserError)

The .jed file could not be parsed

BadDeviceName(String)

The device name is invalid

WrongFuseCount

The number of fuses was incorrect for the device

UnsupportedOeConfiguration((bool, bool, bool, bool))

An unknown value was used in the Oe field

UnsupportedZIAConfiguration(Vec<bool>)

An unknown value was used in the ZIA selection bits

Trait Implementations

impl Clone for XC2BitError[src]

impl Debug for XC2BitError[src]

impl Display for XC2BitError[src]

impl Eq for XC2BitError[src]

impl Error for XC2BitError[src]

impl From<JedParserError> for XC2BitError[src]

impl PartialEq<XC2BitError> for XC2BitError[src]

impl StructuralEq for XC2BitError[src]

impl StructuralPartialEq for XC2BitError[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> SendSyncUnwindSafe for T where
    T: Send + Sync + UnwindSafe + ?Sized

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.