pub enum SearchOrigin {
ObjectPath,
LibraryPath,
Cache,
DefaultDirectory,
ConfiguredDirectory,
}Expand description
Where a lookup succeeded. Only some of these survive into the bundle:
--library-path is a hint to elfpak and the packaged application never
sees it.
Variants§
ObjectPath
DT_RPATH/DT_RUNPATH of the requesting object, or an absolute soname.
LibraryPath
--library-path, the LD_LIBRARY_PATH equivalent.
Cache
/etc/ld.so.cache.
DefaultDirectory
A directory the loader searches without being told to.
ConfiguredDirectory
A directory that only /etc/ld.so.conf named.
Implementations§
Trait Implementations§
Source§impl Clone for SearchOrigin
impl Clone for SearchOrigin
Source§fn clone(&self) -> SearchOrigin
fn clone(&self) -> SearchOrigin
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 moreimpl Copy for SearchOrigin
Source§impl Debug for SearchOrigin
impl Debug for SearchOrigin
impl Eq for SearchOrigin
Source§impl PartialEq for SearchOrigin
impl PartialEq for SearchOrigin
impl StructuralPartialEq for SearchOrigin
Auto Trait Implementations§
impl Freeze for SearchOrigin
impl RefUnwindSafe for SearchOrigin
impl Send for SearchOrigin
impl Sync for SearchOrigin
impl Unpin for SearchOrigin
impl UnsafeUnpin for SearchOrigin
impl UnwindSafe for SearchOrigin
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
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.