pub struct OldCache {
pub nlibs: u32,
pub entries: Vec<OldFileEntry>,
}Expand description
Legacy cache format used by ld.so-1.7.0.
This format provides basic library name to path mappings without hardware capability information.
§Fields
nlibs- Number of library entries in the cacheentries- Vector of old format file entries
§Example
let old_cache = OldCache {
nlibs: 10,
entries: vec![], // Would contain actual entries
};
assert_eq!(old_cache.nlibs, 10);Fields§
§nlibs: u32§entries: Vec<OldFileEntry>Trait Implementations§
impl StructuralPartialEq for OldCache
Auto Trait Implementations§
impl Freeze for OldCache
impl RefUnwindSafe for OldCache
impl Send for OldCache
impl Sync for OldCache
impl Unpin for OldCache
impl UnwindSafe for OldCache
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