pub struct PreparedReleaseCandidate { /* private fields */ }Expand description
Fully verified, pre-compiled, and pre-migrated release candidate handed from UpdateWorker to the UI thread.
Implementations§
Source§impl PreparedReleaseCandidate
impl PreparedReleaseCandidate
pub fn get_manifest(&self) -> &ReleaseManifest
pub fn get_mut_manifest(&mut self) -> &mut ReleaseManifest
pub fn set_manifest(&mut self, val: ReleaseManifest) -> &mut Self
pub fn get_manifest_sha256(&self) -> &String
pub fn get_mut_manifest_sha256(&mut self) -> &mut String
pub fn set_manifest_sha256(&mut self, val: String) -> &mut Self
pub fn get_warmed_artifacts(&self) -> &BTreeMap<String, WarmedArtifact>
pub fn get_mut_warmed_artifacts( &mut self, ) -> &mut BTreeMap<String, WarmedArtifact>
pub fn set_warmed_artifacts( &mut self, val: BTreeMap<String, WarmedArtifact>, ) -> &mut Self
pub fn get_affected_routes(&self) -> &Vec<String>
pub fn get_mut_affected_routes(&mut self) -> &mut Vec<String>
pub fn set_affected_routes(&mut self, val: Vec<String>) -> &mut Self
pub fn get_newly_fetched_hashes(&self) -> &Vec<String>
pub fn get_mut_newly_fetched_hashes(&mut self) -> &mut Vec<String>
pub fn set_newly_fetched_hashes(&mut self, val: Vec<String>) -> &mut Self
pub fn get_reused_cached_hashes(&self) -> &Vec<String>
pub fn get_mut_reused_cached_hashes(&mut self) -> &mut Vec<String>
pub fn set_reused_cached_hashes(&mut self, val: Vec<String>) -> &mut Self
pub fn get_migrated_ui_states( &self, ) -> &BTreeMap<String, ComponentUiStateSnapshot>
pub fn get_mut_migrated_ui_states( &mut self, ) -> &mut BTreeMap<String, ComponentUiStateSnapshot>
pub fn set_migrated_ui_states( &mut self, val: BTreeMap<String, ComponentUiStateSnapshot>, ) -> &mut Self
pub fn get_snapshot_business_revision(&self) -> u64
pub fn get_mut_snapshot_business_revision(&mut self) -> &mut u64
pub fn set_snapshot_business_revision(&mut self, val: u64) -> &mut Self
pub fn get_snapshot_entity_revisions(&self) -> &BTreeMap<String, u64>
pub fn get_mut_snapshot_entity_revisions( &mut self, ) -> &mut BTreeMap<String, u64>
pub fn set_snapshot_entity_revisions( &mut self, val: BTreeMap<String, u64>, ) -> &mut Self
pub fn get_prepared_on_thread(&self) -> &String
pub fn get_mut_prepared_on_thread(&mut self) -> &mut String
pub fn set_prepared_on_thread(&mut self, val: String) -> &mut Self
Trait Implementations§
Source§impl Clone for PreparedReleaseCandidate
impl Clone for PreparedReleaseCandidate
Auto Trait Implementations§
impl Forget for PreparedReleaseCandidate
impl Freeze for PreparedReleaseCandidatewhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<String>: Freeze,
*const LeafNode<String, BlobArtifact> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, BlobArtifact)>>: Freeze,
*const LeafNode<String, RouteManifest> is !null: Freeze,
PhantomData<Box<(String, RouteManifest)>>: Freeze,
*const LeafNode<String, WarmedArtifact> is !null: Freeze,
PhantomData<Box<(String, WarmedArtifact)>>: Freeze,
*const LeafNode<String, ComponentUiStateSnapshot> is !null: Freeze,
PhantomData<Box<(String, ComponentUiStateSnapshot)>>: Freeze,
*const LeafNode<String, u64> is !null: Freeze,
PhantomData<Box<(String, u64)>>: Freeze,
impl Move for PreparedReleaseCandidate
impl RefUnwindSafe for PreparedReleaseCandidate
impl Send for PreparedReleaseCandidatewhere
RawVecInner: Send,
NodeRef<Owned, String, BlobArtifact, LeafOrInternal>: Send,
BoxRaw<(String, BlobArtifact)>: Send,
NodeRef<Owned, String, RouteManifest, LeafOrInternal>: Send,
BoxRaw<(String, RouteManifest)>: Send,
NodeRef<Owned, String, WarmedArtifact, LeafOrInternal>: Send,
BoxRaw<(String, WarmedArtifact)>: Send,
NodeRef<Owned, String, ComponentUiStateSnapshot, LeafOrInternal>: Send,
BoxRaw<(String, ComponentUiStateSnapshot)>: Send,
NodeRef<Owned, String, u64, LeafOrInternal>: Send,
BoxRaw<(String, u64)>: Send,
impl Sync for PreparedReleaseCandidatewhere
RawVecInner: Sync,
NodeRef<Owned, String, BlobArtifact, LeafOrInternal>: Sync,
BoxRaw<(String, BlobArtifact)>: Sync,
NodeRef<Owned, String, RouteManifest, LeafOrInternal>: Sync,
BoxRaw<(String, RouteManifest)>: Sync,
NodeRef<Owned, String, WarmedArtifact, LeafOrInternal>: Sync,
BoxRaw<(String, WarmedArtifact)>: Sync,
NodeRef<Owned, String, ComponentUiStateSnapshot, LeafOrInternal>: Sync,
BoxRaw<(String, ComponentUiStateSnapshot)>: Sync,
NodeRef<Owned, String, u64, LeafOrInternal>: Sync,
BoxRaw<(String, u64)>: Sync,
impl Unpin for PreparedReleaseCandidatewhere
*const u8 is !null: Unpin,
*const LeafNode<String, BlobArtifact> is !null: Unpin,
Box<(String, BlobArtifact)>: Unpin,
*const LeafNode<String, RouteManifest> is !null: Unpin,
Box<(String, RouteManifest)>: Unpin,
*const LeafNode<String, WarmedArtifact> is !null: Unpin,
Box<(String, WarmedArtifact)>: Unpin,
*const LeafNode<String, ComponentUiStateSnapshot> is !null: Unpin,
Box<(String, ComponentUiStateSnapshot)>: Unpin,
*const LeafNode<String, u64> is !null: Unpin,
Box<(String, u64)>: Unpin,
impl UnsafeUnpin for PreparedReleaseCandidatewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
*const LeafNode<String, BlobArtifact> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, BlobArtifact)>>: UnsafeUnpin,
*const LeafNode<String, RouteManifest> is !null: UnsafeUnpin,
PhantomData<Box<(String, RouteManifest)>>: UnsafeUnpin,
*const LeafNode<String, WarmedArtifact> is !null: UnsafeUnpin,
PhantomData<Box<(String, WarmedArtifact)>>: UnsafeUnpin,
*const LeafNode<String, ComponentUiStateSnapshot> is !null: UnsafeUnpin,
PhantomData<Box<(String, ComponentUiStateSnapshot)>>: UnsafeUnpin,
*const LeafNode<String, u64> is !null: UnsafeUnpin,
PhantomData<Box<(String, u64)>>: UnsafeUnpin,
impl UnwindSafe for PreparedReleaseCandidatewhere
RawVecInner: UnwindSafe,
BTreeMap<String, BlobArtifact>: UnwindSafe,
BTreeMap<String, RouteManifest>: UnwindSafe,
BTreeMap<String, WarmedArtifact>: UnwindSafe,
BTreeMap<String, ComponentUiStateSnapshot>: UnwindSafe,
BTreeMap<String, u64>: UnwindSafe,
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