pub struct UseBuildId(pub bool);
Expand description
Carry BuildId
instead of
Device
in Mmap
records
if possible.
The Build ID is carried if memory is mapped to an ELF file containing a Build ID. Otherwise, device info is used as a fallback.
Since linux-5.12
: https://github.com/torvalds/linux/commit/88a16a1309333e43d328621ece3e9fa37027e8eb
Tuple Fields§
§0: bool
Trait Implementations§
Source§impl Clone for UseBuildId
impl Clone for UseBuildId
Source§fn clone(&self) -> UseBuildId
fn clone(&self) -> UseBuildId
Returns a duplicate of the value. Read more
1.0.0 · 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 UseBuildId
impl Debug for UseBuildId
Source§impl Default for UseBuildId
impl Default for UseBuildId
Source§fn default() -> UseBuildId
fn default() -> UseBuildId
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for UseBuildId
impl RefUnwindSafe for UseBuildId
impl Send for UseBuildId
impl Sync for UseBuildId
impl Unpin for UseBuildId
impl UnwindSafe for UseBuildId
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