Enum dynasmrt::DynasmError [−][src]
pub enum DynasmError {
CheckFailed,
DuplicateLabel(LabelKind),
UnknownLabel(LabelKind),
ImpossibleRelocation(TargetKind),
}
Expand description
The various error types generated by dynasm functions.
Variants
CheckFailed
A check (like Modifier::check
or Modifier::check_exact
) that failed
DuplicateLabel(LabelKind)
Tuple Fields
0: LabelKind
A duplicate label dynamic/global label was defined
UnknownLabel(LabelKind)
Tuple Fields
0: LabelKind
An unknown label
ImpossibleRelocation(TargetKind)
Tuple Fields
0: TargetKind
The user tried to declare a relocation too far away from the label it targets
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for DynasmError
impl Send for DynasmError
impl Sync for DynasmError
impl Unpin for DynasmError
impl UnwindSafe for DynasmError
Blanket Implementations
Mutably borrows from an owned value. Read more