[][src]Enum dynasmrt::DynasmError

pub enum DynasmError {
    CheckFailed,
    DuplicateLabel(LabelKind),
    UnknownLabel(LabelKind),
    ImpossibleRelocation(TargetKind),
}

The various error types generated by dynasm functions.

Variants

CheckFailed

A check (like Modifier::check or Modifier::check_exact) that failed

DuplicateLabel(LabelKind)

A duplicate label dynamic/global label was defined

UnknownLabel(LabelKind)

An unknown label

ImpossibleRelocation(TargetKind)

The user tried to declare a relocation too far away from the label it targets

Trait Implementations

impl Clone for DynasmError[src]

impl Debug for DynasmError[src]

impl Display for DynasmError[src]

impl Eq for DynasmError[src]

impl Error for DynasmError[src]

impl PartialEq<DynasmError> for DynasmError[src]

impl StructuralEq for DynasmError[src]

impl StructuralPartialEq for DynasmError[src]

Auto Trait Implementations

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.