pub enum NeedForm {
Library(String),
File {
file: String,
beside: String,
},
ProgramFolder(String),
System(SystemLocation),
Etc(String),
}Expand description
The one form a need takes.
Displayed as the form key and its value, the label every report uses: library <soname>,
file <name> beside <soname>, program_folder <path>, system <location>, etc <path>.
Variants§
Library(String)
A soname, resolved as the dynamic loader resolves a DT_NEEDED entry.
File
A file name, in the directory the program’s library: entry beside resolved to.
ProgramFolder(String)
A path relative to the folder the program resolves to; . is that folder.
System(SystemLocation)
A named system location.
Etc(String)
A path under /etc, relative to it.
Trait Implementations§
impl Eq for NeedForm
impl StructuralPartialEq for NeedForm
Auto Trait Implementations§
impl Forget for NeedForm
impl Freeze for NeedForm
impl Move for NeedForm
impl RefUnwindSafe for NeedForm
impl Send for NeedForm
impl Sync for NeedForm
impl Unpin for NeedForm
impl UnsafeUnpin for NeedForm
impl UnwindSafe for NeedForm
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.