Enum xc2bit::XC2BitError
[−]
[src]
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 Debug for XC2BitError
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl PartialEq for XC2BitError
[src]
fn eq(&self, __arg_0: &XC2BitError) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &XC2BitError) -> bool
[src]
This method tests for !=
.
impl Eq for XC2BitError
[src]
impl From<JedParserError> for XC2BitError
[src]
fn from(err: JedParserError) -> Self
[src]
Performs the conversion.
impl Error for XC2BitError
[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