pub enum RefTarget<'a> {
Local {
address: u64,
name: Option<&'a str>,
},
External {
name: &'a str,
dylib: &'a str,
},
Unresolved {
slot_address: u64,
target: u64,
},
}Expand description
Resolution of a single reference-section slot.
Variants§
Local
The slot resolved to an in-image class / protocol.
Fields
External
The slot is a chained-fixup bind to a foreign symbol.
Fields
Unresolved
Slot didn’t resolve and there’s no matching bind site. Surfaced so callers can record the unresolved address rather than silently dropping the row.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for RefTarget<'a>
impl<'a> RefUnwindSafe for RefTarget<'a>
impl<'a> Send for RefTarget<'a>
impl<'a> Sync for RefTarget<'a>
impl<'a> Unpin for RefTarget<'a>
impl<'a> UnsafeUnpin for RefTarget<'a>
impl<'a> UnwindSafe for RefTarget<'a>
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