[][src]Enum smt2::error::Error

pub enum Error<E: Environment> {
    UnknownLogic,
    InvalidSymbol(Symbol),
    InvalidIdent(Ident),
    UnknownSort,
    UnknownFunction(E::Ident),
    UndefinedVariable(E::Ident),
    NegativeArity,
    WrongNumberOfArguments(usizeusizeusize),
    Type(Error<E::Sort>),
}

Variants

UnknownLogic
InvalidSymbol(Symbol)
InvalidIdent(Ident)
UnknownSort
UnknownFunction(E::Ident)
UndefinedVariable(E::Ident)
NegativeArity
WrongNumberOfArguments(usizeusizeusize)
Type(Error<E::Sort>)

Implementations

impl<E: Environment> Error<E>[src]

pub fn at(self, location: Span) -> Located<Error<E>>[src]

Trait Implementations

impl<E: Environment> Display for Error<E> where
    E::Sort: Display,
    E::Ident: Display
[src]

impl<E: Environment> Informative for Error<E> where
    E::Sort: Display,
    E::Ident: Display
[src]

Auto Trait Implementations

impl<E> RefUnwindSafe for Error<E> where
    <E as Environment>::Ident: RefUnwindSafe,
    <E as Environment>::Sort: RefUnwindSafe

impl<E> Send for Error<E> where
    <E as Environment>::Ident: Send,
    <E as Environment>::Sort: Send

impl<E> Sync for Error<E> where
    <E as Environment>::Ident: Sync,
    <E as Environment>::Sort: Sync

impl<E> Unpin for Error<E> where
    <E as Environment>::Ident: Unpin,
    <E as Environment>::Sort: Unpin

impl<E> UnwindSafe for Error<E> where
    <E as Environment>::Ident: UnwindSafe,
    <E as Environment>::Sort: UnwindSafe

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> 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.