pub enum AigerError {
Header(String),
Literal {
line: usize,
literal: u64,
},
Undefined {
line: usize,
var: u64,
},
Redefined {
line: usize,
var: u64,
},
Cycle {
var: u64,
},
Malformed {
line: usize,
},
Unsupported(String),
Truncated,
}Expand description
Why an AIGER file was refused. Lines count from 1.
Variants§
Header(String)
Literal
A literal outside the range the header allows, or of the wrong parity for its place.
Undefined
A literal whose variable nothing defines.
Redefined
A variable defined twice.
Cycle
A gate that depends on itself.
Malformed
A line that is not what its place in the file calls for.
Unsupported(String)
Truncated
Trait Implementations§
Source§impl Clone for AigerError
impl Clone for AigerError
Source§fn clone(&self) -> AigerError
fn clone(&self) -> AigerError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AigerError
impl Debug for AigerError
Source§impl Display for AigerError
impl Display for AigerError
Source§impl Error for AigerError
impl Error for AigerError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for AigerError
impl PartialEq for AigerError
impl Eq for AigerError
impl StructuralPartialEq for AigerError
Auto Trait Implementations§
impl Freeze for AigerError
impl RefUnwindSafe for AigerError
impl Send for AigerError
impl Sync for AigerError
impl Unpin for AigerError
impl UnsafeUnpin for AigerError
impl UnwindSafe for AigerError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more