pub struct GeneratedHostBuild { /* private fields */ }Expand description
Generated Host authority. This is a build artifact, never App-owner input.
Implementations§
Source§impl GeneratedHostBuild
impl GeneratedHostBuild
pub fn host_id(&self) -> &str
Sourcepub fn verify_distribution_bundle(
&self,
descriptor: &PluginDescriptor,
manifest_digest: &str,
) -> Result<()>
pub fn verify_distribution_bundle( &self, descriptor: &PluginDescriptor, manifest_digest: &str, ) -> Result<()>
Confirms that one re-verified bundle Descriptor belongs to this immutable Host build.
Sourcepub fn lower(
host_id: &str,
plugins: Vec<HostPluginInput>,
explicit_slots: Vec<HostSlot>,
) -> Result<Self>
pub fn lower( host_id: &str, plugins: Vec<HostPluginInput>, explicit_slots: Vec<HostSlot>, ) -> Result<Self>
Lowers closed defaults without rewriting offers or resolving dependencies in TS.
pub fn lower_with_admission( host_id: &str, plugins: Vec<HostPluginInput>, explicit_slots: Vec<HostSlot>, admissions: Vec<SlotAdmission>, ) -> Result<Self>
pub fn lower_with_dependencies( host_id: &str, plugins: Vec<HostPluginInput>, explicit_slots: Vec<HostSlot>, admissions: Vec<SlotAdmission>, dependencies: Vec<HostDependencyInput>, ) -> Result<Self>
pub const fn catalog(&self) -> &HostCatalog
Sourcepub fn validate(&self) -> Result<()>
pub fn validate(&self) -> Result<()>
Rejects malformed/unsupported authority instead of treating it as a legacy Catalog.
pub fn resolve( &self, snapshot: &PluginRootSnapshot, ) -> Result<ResolvedApp, PluginRootResolutionError>
pub fn propose( &self, snapshot: &PluginRootSnapshot, ) -> Result<ResolvedApp, PluginRootResolutionError>
Trait Implementations§
Source§impl Clone for GeneratedHostBuild
impl Clone for GeneratedHostBuild
Source§fn clone(&self) -> GeneratedHostBuild
fn clone(&self) -> GeneratedHostBuild
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 GeneratedHostBuild
impl Debug for GeneratedHostBuild
Source§impl<'de> Deserialize<'de> for GeneratedHostBuild
impl<'de> Deserialize<'de> for GeneratedHostBuild
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for GeneratedHostBuild
impl RefUnwindSafe for GeneratedHostBuild
impl Send for GeneratedHostBuild
impl Sync for GeneratedHostBuild
impl Unpin for GeneratedHostBuild
impl UnsafeUnpin for GeneratedHostBuild
impl UnwindSafe for GeneratedHostBuild
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