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>
impl<L: Lit> Error for Error<L>
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<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> Freeze for Error<L>where
L: Freeze,
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