pub struct DiffReport {
pub removed: Vec<String>,
pub added: Vec<String>,
pub weak: Vec<String>,
}Expand description
Names of symbols that exist in old and were dropped in new.
Reported alongside the JumpTable so the dev loop can warn the
user that calls into one of those would crash after a patch.
Fields§
§removed: Vec<String>Symbols only in old. A call to one of these post-patch
would resolve to an address subsecond hasn’t relocated.
added: Vec<String>Symbols only in new. Brand-new functions in the patch.
Safe to ignore: pre-patch code can’t reference them.
weak: Vec<String>Weak symbols included in the map. Subsecond will use whichever the linker resolved to; this is just a hint to the user that something might shift.
Trait Implementations§
Source§impl Clone for DiffReport
impl Clone for DiffReport
Source§fn clone(&self) -> DiffReport
fn clone(&self) -> DiffReport
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DiffReport
impl Debug for DiffReport
Source§impl Default for DiffReport
impl Default for DiffReport
Source§fn default() -> DiffReport
fn default() -> DiffReport
Returns the “default value” for a type. Read more
impl Eq for DiffReport
Source§impl PartialEq for DiffReport
impl PartialEq for DiffReport
Source§fn eq(&self, other: &DiffReport) -> bool
fn eq(&self, other: &DiffReport) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DiffReport
Auto Trait Implementations§
impl Freeze for DiffReport
impl RefUnwindSafe for DiffReport
impl Send for DiffReport
impl Sync for DiffReport
impl Unpin for DiffReport
impl UnsafeUnpin for DiffReport
impl UnwindSafe for DiffReport
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.