Enum csx64::asm::expr::EvalError[][src]

pub enum EvalError {
    Illegal(IllegalReason),
    UndefinedSymbol(String),
}

The reason why an expression failed to be evaluated.

Illegal deontes an unrecoverable failure during assembly or linking. Any other type of failure can be recovered so long as all problems are resolved at least by the last phase of linking.

Variants

Illegal(IllegalReason)

Denotes that the user did something illegal (e.g. incorrect types to operators or cyclic dependencies). If this is encountered during assembly/linking, it is considered a hard error. The stored value further explains what went wrong.

UndefinedSymbol(String)

Denotes that evaluation failed because the stored symbol name was not defined.

Trait Implementations

impl Debug for EvalError[src]

impl From<IllegalReason> for EvalError[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Az for T[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> CheckedAs for T[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> OverflowingAs for T[src]

impl<T> SaturatingAs for T[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.

impl<T> UnwrappedAs for T[src]

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WrappingAs for T[src]