pub struct MissedKey {
pub image: u32,
pub link_address: u64,
}Expand description
A jump-table key that missed, located in the image the calling code belongs to.
The key is the calling image’s own HotFunction::call_it address (or, for
HotFn::from_fn_ptr, the pointer’s value). image is 0 for the base executable and n for
the n-th patch library this crate loaded, found from the address ranges of those images;
link_address is the key minus that image’s slide, the address the image’s symbol table
knows. A key in no known image has image UNKNOWN_IMAGE and the raw
key as link_address. This crate only records; the host decides what a miss means.
Fields§
§image: u320 for the base executable, n for the n-th loaded patch.
link_address: u64The key minus the image’s slide.
Trait Implementations§
impl Copy for MissedKey
Source§impl<'de> Deserialize<'de> for MissedKey
impl<'de> Deserialize<'de> for MissedKey
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for MissedKey
Source§impl Ord for MissedKey
impl Ord for MissedKey
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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for MissedKey
impl PartialOrd for MissedKey
impl StructuralPartialEq for MissedKey
Auto Trait Implementations§
impl Freeze for MissedKey
impl RefUnwindSafe for MissedKey
impl Send for MissedKey
impl Sync for MissedKey
impl Unpin for MissedKey
impl UnsafeUnpin for MissedKey
impl UnwindSafe for MissedKey
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