pub struct RelocatedExec<'scope> { /* private fields */ }Expand description
A executable file that has been relocated
Implementations§
Methods from Deref<Target = CoreComponent>§
Sourcepub fn downgrade(&self) -> CoreComponentRef
pub fn downgrade(&self) -> CoreComponentRef
Creates a new Weak pointer to this allocation.
Sourcepub fn strong_count(&self) -> usize
pub fn strong_count(&self) -> usize
Gets the number of strong references to the elf object.
Sourcepub fn weak_count(&self) -> usize
pub fn weak_count(&self) -> usize
Gets the number of weak references to the elf object.
Sourcepub fn needed_libs(&self) -> &[&str]
pub fn needed_libs(&self) -> &[&str]
Gets the needed libs’ name of the elf object.
Trait Implementations§
Source§impl<'scope> Clone for RelocatedExec<'scope>
impl<'scope> Clone for RelocatedExec<'scope>
Source§fn clone(&self) -> RelocatedExec<'scope>
fn clone(&self) -> RelocatedExec<'scope>
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 RelocatedExec<'_>
impl Debug for RelocatedExec<'_>
Auto Trait Implementations§
impl<'scope> Freeze for RelocatedExec<'scope>
impl<'scope> !RefUnwindSafe for RelocatedExec<'scope>
impl<'scope> Send for RelocatedExec<'scope>
impl<'scope> Sync for RelocatedExec<'scope>
impl<'scope> Unpin for RelocatedExec<'scope>
impl<'scope> !UnwindSafe for RelocatedExec<'scope>
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