Struct hotlib::Build [−][src]
pub struct Build<'a> { /* fields omitted */ }
Expand description
The result of building a package’s dynamic library.
This can be used to load the dynamic library either in place or via a temporary file as to allow for re-building the package while using the library.
Implementations
The output of the cargo process.
The moment at which the build was completed.
The path to the generated dylib target.
The path to the temporary dynamic library clone that will be created upon load
.
Copy the library to the platform’s temporary directory and load it from there.
Note that the copied dynamic library will be removed on Drop
.
Load the library from it’s existing location.
Note that if you do this, you will have to ensure the returned Library
is dropped before
attempting to re-build the library.
Auto Trait Implementations
impl<'a> RefUnwindSafe for Build<'a>
impl<'a> UnwindSafe for Build<'a>