pub struct RegistryBootState {
pub receipts: Vec<LibBootReceipt>,
}Expand description
A data-only boot state for replaying a loaded registry surface.
Fields§
§receipts: Vec<LibBootReceipt>Receipts in load order.
Implementations§
Source§impl RegistryBootState
impl RegistryBootState
Sourcepub fn new(receipts: Vec<LibBootReceipt>) -> Self
pub fn new(receipts: Vec<LibBootReceipt>) -> Self
Builds a boot state from load-order receipts.
Trait Implementations§
Source§impl Clone for RegistryBootState
impl Clone for RegistryBootState
Source§fn clone(&self) -> RegistryBootState
fn clone(&self) -> RegistryBootState
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 RegistryBootState
impl Debug for RegistryBootState
Source§impl Default for RegistryBootState
impl Default for RegistryBootState
Source§fn default() -> RegistryBootState
fn default() -> RegistryBootState
Returns the “default value” for a type. Read more
impl Eq for RegistryBootState
Source§impl PartialEq for RegistryBootState
impl PartialEq for RegistryBootState
Source§fn eq(&self, other: &RegistryBootState) -> bool
fn eq(&self, other: &RegistryBootState) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RegistryBootState
Auto Trait Implementations§
impl Freeze for RegistryBootState
impl RefUnwindSafe for RegistryBootState
impl Send for RegistryBootState
impl Sync for RegistryBootState
impl Unpin for RegistryBootState
impl UnsafeUnpin for RegistryBootState
impl UnwindSafe for RegistryBootState
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