pub struct LoadReceipt {
pub lib_id: LibId,
pub role: LoadReceiptRole,
pub requested_source: LibSourceSpec,
pub resolved_source: LibSourceSpec,
pub manifest: LibManifest,
pub dependencies: Vec<LibBootDependency>,
pub exports: Vec<ExportRecord>,
}Expand description
Receipt for one library loaded by the bootloader.
Fields§
§lib_id: LibIdIdentifier assigned to the loaded library.
role: LoadReceiptRoleRole the library serves in the boot session.
requested_source: LibSourceSpecSource as requested on the command line.
resolved_source: LibSourceSpecSource after resolution to a concrete artifact.
manifest: LibManifestManifest declared by the loaded library.
dependencies: Vec<LibBootDependency>Boot dependencies pulled in while loading.
exports: Vec<ExportRecord>Export records published by the library.
Trait Implementations§
Source§impl Clone for LoadReceipt
impl Clone for LoadReceipt
Source§fn clone(&self) -> LoadReceipt
fn clone(&self) -> LoadReceipt
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LoadReceipt
impl Debug for LoadReceipt
impl Eq for LoadReceipt
Source§impl PartialEq for LoadReceipt
impl PartialEq for LoadReceipt
Source§fn eq(&self, other: &LoadReceipt) -> bool
fn eq(&self, other: &LoadReceipt) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for LoadReceipt
Auto Trait Implementations§
impl Freeze for LoadReceipt
impl RefUnwindSafe for LoadReceipt
impl Send for LoadReceipt
impl Sync for LoadReceipt
impl Unpin for LoadReceipt
impl UnsafeUnpin for LoadReceipt
impl UnwindSafe for LoadReceipt
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