pub enum LinkError {
IncompatibleArch {
first_section: Cow<'static, str>,
section: Cow<'static, str>,
},
DuplicateSymbol {
name: ExternalName,
first_section: Cow<'static, str>,
section: Cow<'static, str>,
},
UnboundSymbol {
name: ExternalName,
section: Cow<'static, str>,
},
InvalidRelocation {
section: Cow<'static, str>,
offset: CodeOffset,
kind: Reloc,
target: &'static str,
id: u32,
reason: &'static str,
},
}Expand description
Context for an in-memory image-link failure.
Variants§
Trait Implementations§
impl Eq for LinkError
Source§impl Ord for LinkError
impl Ord for LinkError
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for LinkError
impl PartialOrd for LinkError
impl StructuralPartialEq for LinkError
Auto Trait Implementations§
impl Freeze for LinkError
impl RefUnwindSafe for LinkError
impl Send for LinkError
impl Sync for LinkError
impl Unpin for LinkError
impl UnsafeUnpin for LinkError
impl UnwindSafe for LinkError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more