Struct twizzler_runtime_api::Library
source · pub struct Library {
pub id: LibraryId,
pub mapping: ObjectHandle,
pub range: AddrRange,
pub dl_info: Option<DlPhdrInfo>,
}
Expand description
An abstract representation of a library, useful for debugging and backtracing.
Fields§
§id: LibraryId
The ID of this library.
mapping: ObjectHandle
How this library is mapped.
range: AddrRange
Actual range of addresses that comprise the library binary data.
dl_info: Option<DlPhdrInfo>
Information for dl_iterate_phdr
Implementations§
Trait Implementations§
impl Send for Library
The runtime must ensure that the addresses are constant for the whole life of the library type, and that all threads may see the type.
Auto Trait Implementations§
impl RefUnwindSafe for Library
impl !Sync for Library
impl Unpin for Library
impl UnwindSafe for Library
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