pub struct DyLib {
pub name: LcString,
pub timestamp: u32,
pub current_version: VersionTag,
pub compatibility_version: VersionTag,
}Expand description
Dynamically linked shared libraries are identified by two things.
The pathname (the name of the library as found for execution), and the compatibility version number. The pathname must match and the compatibility number in the user of the library must be greater than or equal to the library being used. The time stamp is used to record the time a library was built and copied into user so it can be use to determined if the library used at runtime is exactly the same as used to built the program.
Fields§
§name: LcStringlibrary’s path name
timestamp: u32library’s build time stamp
current_version: VersionTaglibrary’s current version number
compatibility_version: VersionTaglibrary’s compatibility vers number
Trait Implementations§
impl Eq for DyLib
impl StructuralPartialEq for DyLib
Auto Trait Implementations§
impl Freeze for DyLib
impl RefUnwindSafe for DyLib
impl Send for DyLib
impl Sync for DyLib
impl Unpin for DyLib
impl UnwindSafe for DyLib
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