pub struct SupportAssembly { /* private fields */ }Expand description
The verified whole one exported carrier is rendered from.
Implementations§
Source§impl SupportAssembly
impl SupportAssembly
Sourcepub fn assembled(
root: Identity<CapturedDeclaration>,
address: Option<SupportName>,
axes: SupportAxes,
) -> Result<Self, AssemblyError>
pub fn assembled( root: Identity<CapturedDeclaration>, address: Option<SupportName>, axes: SupportAxes, ) -> Result<Self, AssemblyError>
Checks and assembles one complete axis set.
§Errors
Returns every independently established issue within the issue bound.
Sourcepub fn assembled_for_helper(
declaration: &CapturedInput,
helper: &CapturedInput,
helper_position: u32,
address: Option<SupportName>,
axes: SupportAxes,
) -> Result<Self, AssemblyError>
pub fn assembled_for_helper( declaration: &CapturedInput, helper: &CapturedInput, helper_position: u32, address: Option<SupportName>, axes: SupportAxes, ) -> Result<Self, AssemblyError>
Checks and assembles one complete axis set read from a helper beside a declaration.
The declaration and helper commitments are derived together from the two captures, so the assembly cannot be handed a helper identity anchored under another root.
§Errors
Returns every independently established issue within the issue bound.
Sourcepub const fn root(&self) -> Identity<CapturedDeclaration>
pub const fn root(&self) -> Identity<CapturedDeclaration>
Reads the declaration root.
Sourcepub const fn helper(&self) -> Option<Identity<CapturedHelper>>
pub const fn helper(&self) -> Option<Identity<CapturedHelper>>
Reads the captured helper this assembly was composed from, where it was built for one.
Sourcepub const fn expectation(&self) -> SchemaId
pub const fn expectation(&self) -> SchemaId
Reads the pinned expectation.
Sourcepub const fn address(&self) -> Option<&SupportName>
pub const fn address(&self) -> Option<&SupportName>
Reads the public address.
Sourcepub const fn declared(&self) -> &AxisCargo<DeclaredCargo>
pub const fn declared(&self) -> &AxisCargo<DeclaredCargo>
Reads declaration cargo.
Sourcepub const fn deferred(&self) -> &AxisCargo<ProvedCargo>
pub const fn deferred(&self) -> &AxisCargo<ProvedCargo>
Reads test cargo.
Sourcepub const fn bench(&self) -> &AxisCargo<ProvedCargo>
pub const fn bench(&self) -> &AxisCargo<ProvedCargo>
Reads benchmark cargo.
Sourcepub const fn form(&self) -> DeliveryForm
pub const fn form(&self) -> DeliveryForm
Reads the form from the occupied proved axis.
Sourcepub fn sources(&self) -> impl Iterator<Item = ClosedExpansionId>
pub fn sources(&self) -> impl Iterator<Item = ClosedExpansionId>
Iterates proving terminals in axis order.
Trait Implementations§
Source§impl CanonicalContent for SupportAssembly
impl CanonicalContent for SupportAssembly
Source§fn encode_content_into(&self, into: &mut Vec<u8>)
fn encode_content_into(&self, into: &mut Vec<u8>)
Appends the root, expectation, address, and axes, followed by one presence byte and the framed helper identity where the assembly holds one. An assembly with no helper writes nothing after its axes, so the generic assembly road retains exactly its root-through-axes encoding.
Source§impl Clone for SupportAssembly
impl Clone for SupportAssembly
Source§fn clone(&self) -> SupportAssembly
fn clone(&self) -> SupportAssembly
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more