Skip to main content

BundleComposition

Struct BundleComposition 

Source
pub struct BundleComposition<'a> {
    pub capsule: &'a OpenSymbol,
    pub application: BundleContent,
    pub libraries: Vec<BundleContent>,
    pub cards: &'a [PlatformCard],
    pub attestations: &'a [CapsuleAttestation],
    pub declared_artifacts: &'a BTreeMap<OpenSymbol, String>,
    pub allowed_capabilities: &'a BTreeSet<OpenSymbol>,
    pub required_services: &'a [OpenSymbol],
}
Expand description

Pure build-tool input. A build tool selects capsule; runtime data merely records that explicit choice and the exact content closure.

Fields§

§capsule: &'a OpenSymbol§application: BundleContent§libraries: Vec<BundleContent>§cards: &'a [PlatformCard]§attestations: &'a [CapsuleAttestation]§declared_artifacts: &'a BTreeMap<OpenSymbol, String>§allowed_capabilities: &'a BTreeSet<OpenSymbol>§required_services: &'a [OpenSymbol]

Auto Trait Implementations§

§

impl<'a> Forget for BundleComposition<'a>

§

impl<'a> Freeze for BundleComposition<'a>

§

impl<'a> Move for BundleComposition<'a>

§

impl<'a> RefUnwindSafe for BundleComposition<'a>

§

impl<'a> Send for BundleComposition<'a>
where &'a OpenSymbol: Send, RawVecInner: Send, &'a [PlatformCard]: Send, &'a [CapsuleAttestation]: Send, &'a BTreeMap<OpenSymbol, String>: Send, &'a BTreeSet<OpenSymbol>: Send, &'a [OpenSymbol]: Send,

§

impl<'a> Sync for BundleComposition<'a>
where RawVecInner: Sync, NodeRef<Owned, OpenSymbol, String, LeafOrInternal>: Sync, BoxRaw<(OpenSymbol, String)>: Sync, NodeRef<Owned, OpenSymbol, SetValZST, LeafOrInternal>: Sync, BoxRaw<(OpenSymbol, SetValZST)>: Sync,

§

impl<'a> Unpin for BundleComposition<'a>

§

impl<'a> UnsafeUnpin for BundleComposition<'a>

§

impl<'a> UnwindSafe for BundleComposition<'a>

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.