pub struct AddrDetails {
pub in_module_code: bool,
pub file_name: Option<String>,
pub sym_name: Option<String>,
}
Expand description
Details about a program address.
It is possible to determine whether an address lies within the module code if the module is
loaded from a shared object. Statically linked modules are not resolvable. Best effort is made
to resolve the symbol the address is found inside, and the file that symbol is found in. See
dladdr(3)
for more details.
Fields§
§in_module_code: bool
§file_name: Option<String>
§sym_name: Option<String>
Trait Implementations§
Source§impl Clone for AddrDetails
impl Clone for AddrDetails
Source§fn clone(&self) -> AddrDetails
fn clone(&self) -> AddrDetails
Returns a copy 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 moreAuto Trait Implementations§
impl Freeze for AddrDetails
impl RefUnwindSafe for AddrDetails
impl Send for AddrDetails
impl Sync for AddrDetails
impl Unpin for AddrDetails
impl UnwindSafe for AddrDetails
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