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
A check (like Modifier::check
or Modifier::check_exact
) that failed
DuplicateLabel(LabelKind)
A duplicate label dynamic/global label was defined
Tuple Fields of DuplicateLabel
0: LabelKind
UnknownLabel(LabelKind)
An unknown label
Tuple Fields of UnknownLabel
0: LabelKind
ImpossibleRelocation(TargetKind)
The user tried to declare a relocation too far away from the label it targets
Tuple Fields of ImpossibleRelocation
0: TargetKind
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