pub struct VerifiedSnapshotBootstrapInstall { /* private fields */ }Implementations§
Source§impl VerifiedSnapshotBootstrapInstall
impl VerifiedSnapshotBootstrapInstall
pub fn new( snapshot: PublishedStoreSnapshot, store_root: VerifiedObject<StoreProtocolRoot>, founder: VerifiedObject<StoreDeviceRegistration>, authority: VerifiedStoreSnapshotAuthority, membership: InitialStoreMembershipAuthority, routing_encryption: Option<&EncryptionService>, ) -> Result<Self, DbError>
Sourcepub fn with_circle_installs(
self,
circle_installs: Vec<StagedCircleInstall>,
) -> Self
pub fn with_circle_installs( self, circle_installs: Vec<StagedCircleInstall>, ) -> Self
Attach the Circle images selected against a throwaway query copy opened
through this same authority. Kept separate from new so one verified
install can first query and then install for real without re-verifying the
Store authority.
Sourcepub fn fail_circle_install_for_test(self) -> Self
pub fn fail_circle_install_for_test(self) -> Self
Arm the Circle-install failure injection: the install transaction rolls back after the Store image is installed but before any Circle image commits, standing in for a crash between the two installs.
Auto Trait Implementations§
impl !Freeze for VerifiedSnapshotBootstrapInstall
impl RefUnwindSafe for VerifiedSnapshotBootstrapInstall
impl Send for VerifiedSnapshotBootstrapInstall
impl Sync for VerifiedSnapshotBootstrapInstall
impl Unpin for VerifiedSnapshotBootstrapInstall
impl UnsafeUnpin for VerifiedSnapshotBootstrapInstall
impl UnwindSafe for VerifiedSnapshotBootstrapInstall
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