pub struct ApplicationInstallationPlan { /* private fields */ }Expand description
One immutable content-addressed installation plan.
Implementations§
Source§impl ApplicationInstallationPlan
impl ApplicationInstallationPlan
Sourcepub fn compile(
input: ApplicationInstallationPlanInput,
) -> Result<ApplicationInstallationPlan, InstallationPlanError>
pub fn compile( input: ApplicationInstallationPlanInput, ) -> Result<ApplicationInstallationPlan, InstallationPlanError>
Compiles a canonical plan without remote mutation.
Sourcepub fn decode_canonical(
bytes: &[u8],
) -> Result<ApplicationInstallationPlan, InstallationPlanError>
pub fn decode_canonical( bytes: &[u8], ) -> Result<ApplicationInstallationPlan, InstallationPlanError>
Strictly decodes canonical bytes and revalidates every semantic gate.
Sourcepub const fn identity(&self) -> ApplicationInstallationPlanHash
pub const fn identity(&self) -> ApplicationInstallationPlanHash
Exact plan identity.
Sourcepub const fn input(&self) -> &ApplicationInstallationPlanInput
pub const fn input(&self) -> &ApplicationInstallationPlanInput
Complete validated input retained by the plan.
Sourcepub fn canonical_bytes(&self) -> &[u8] ⓘ
pub fn canonical_bytes(&self) -> &[u8] ⓘ
Canonical compatibility bytes.
Sourcepub const fn schema(&self) -> &'static str
pub const fn schema(&self) -> &'static str
Canonical installation-plan schema selected by the least-sufficient writer.
Sourcepub fn validate_driver_proof(
&self,
drivers: &[InstallationDriver],
) -> Result<(), InstallationCampaignError>
pub fn validate_driver_proof( &self, drivers: &[InstallationDriver], ) -> Result<(), InstallationCampaignError>
Validates exact public-driver proof for a transport submission.
Sourcepub fn validate_seed_receipts(
&self,
seeds: &[InstalledSeedEvidence],
) -> Result<(), InstallationCampaignError>
pub fn validate_seed_receipts( &self, seeds: &[InstalledSeedEvidence], ) -> Result<(), InstallationCampaignError>
Validates bounded seed receipts for a transport submission.
Trait Implementations§
Source§impl Clone for ApplicationInstallationPlan
impl Clone for ApplicationInstallationPlan
Source§fn clone(&self) -> ApplicationInstallationPlan
fn clone(&self) -> ApplicationInstallationPlan
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 ApplicationInstallationPlan
impl Debug for ApplicationInstallationPlan
impl Eq for ApplicationInstallationPlan
impl StructuralPartialEq for ApplicationInstallationPlan
Auto Trait Implementations§
impl Freeze for ApplicationInstallationPlan
impl RefUnwindSafe for ApplicationInstallationPlan
impl Send for ApplicationInstallationPlan
impl Sync for ApplicationInstallationPlan
impl Unpin for ApplicationInstallationPlan
impl UnsafeUnpin for ApplicationInstallationPlan
impl UnwindSafe for ApplicationInstallationPlan
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