pub struct LoadedLibrary<'a> { /* private fields */ }
Expand description
A library loaded in the process
Implementations§
Source§impl LoadedLibrary<'_>
impl LoadedLibrary<'_>
Sourcepub fn name(&self) -> &str
pub fn name(&self) -> &str
Access the libraries string name
This is more the libraries path
than the name per say
Sourcepub fn program_headers(&self) -> impl Iterator<Item = ProgramHeader<'_>>
pub fn program_headers(&self) -> impl Iterator<Item = ProgramHeader<'_>>
Iterate the libraries program headers
Sourcepub fn interpreter_header(&self) -> Option<ProgramHeader<'_>>
pub fn interpreter_header(&self) -> Option<ProgramHeader<'_>>
Access the libraries PT_INTERP program headers
Sourcepub fn load_headers(&self) -> impl Iterator<Item = ProgramHeader<'_>>
pub fn load_headers(&self) -> impl Iterator<Item = ProgramHeader<'_>>
Access the libraries PT_LOAD program headers
Auto Trait Implementations§
impl<'a> Freeze for LoadedLibrary<'a>
impl<'a> RefUnwindSafe for LoadedLibrary<'a>
impl<'a> Send for LoadedLibrary<'a>
impl<'a> Sync for LoadedLibrary<'a>
impl<'a> Unpin for LoadedLibrary<'a>
impl<'a> UnwindSafe for LoadedLibrary<'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