Enum flussab_aiger::Error
source · pub enum Error<L: Lit> {
ParseError(ParseError),
AigStructureError(AigStructureError<L>),
}
Variants§
ParseError(ParseError)
An error during parsing.
AigStructureError(AigStructureError<L>)
An error while processing the parsed data.
Trait Implementations§
source§impl<L: Lit> Error for Error<L>where
AigStructureError<L>: Error,
Self: Debug + Display,
impl<L: Lit> Error for Error<L>where AigStructureError<L>: Error, Self: Debug + Display,
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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<L: Lit> From<AigStructureError<L>> for Error<L>
impl<L: Lit> From<AigStructureError<L>> for Error<L>
source§fn from(source: AigStructureError<L>) -> Self
fn from(source: AigStructureError<L>) -> Self
Converts to this type from the input type.
source§impl<L: Lit> From<Box<InnerParseError>> for Error<L>
impl<L: Lit> From<Box<InnerParseError>> for Error<L>
source§fn from(source: ParseError) -> Self
fn from(source: ParseError) -> Self
Converts to this type from the input type.
source§impl<L: Lit> From<SyntaxError> for Error<L>
impl<L: Lit> From<SyntaxError> for Error<L>
source§fn from(err: SyntaxError) -> Self
fn from(err: SyntaxError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<L> !RefUnwindSafe for Error<L>
impl<L> Send for Error<L>where L: Send,
impl<L> Sync for Error<L>where L: Sync,
impl<L> Unpin for Error<L>where L: Unpin,
impl<L> !UnwindSafe for Error<L>
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