pub struct ConstellationCompiler;Expand description
Compiles a constellation into a bundle for a deployment target.
Implementations§
Source§impl ConstellationCompiler
impl ConstellationCompiler
Sourcepub fn compile(
constellation: &Constellation,
target: DeploymentTarget,
) -> Result<CompiledConstellation, ResolutionError>
pub fn compile( constellation: &Constellation, target: DeploymentTarget, ) -> Result<CompiledConstellation, ResolutionError>
Compile a constellation for a given target. In a real implementation this would invoke cross-compilation toolchains. Here we simulate it with size estimates and checksum generation.
Auto Trait Implementations§
impl Freeze for ConstellationCompiler
impl RefUnwindSafe for ConstellationCompiler
impl Send for ConstellationCompiler
impl Sync for ConstellationCompiler
impl Unpin for ConstellationCompiler
impl UnsafeUnpin for ConstellationCompiler
impl UnwindSafe for ConstellationCompiler
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