pub struct BootProfileManifest {
pub id: String,
pub display_name: Option<String>,
pub rootfs: BootProfileRootfs,
pub kernel: Option<BootProfileArtifactPathSource>,
pub dtbs: Option<BootProfileArtifactPathSource>,
pub dt_overlays: Vec<String>,
pub extra_cmdline: Option<String>,
pub stage0: BootProfileManifestStage0,
}Expand description
Authoring schema for boot profiles (YAML/JSON).
This shape keeps DT overlays as inline DTS/DTSO text. Runtime code should consume
BootProfile, where overlays are compiled DTB/DTBO blobs.
Fields§
§id: String§display_name: Option<String>§rootfs: BootProfileRootfs§kernel: Option<BootProfileArtifactPathSource>§dtbs: Option<BootProfileArtifactPathSource>§dt_overlays: Vec<String>§extra_cmdline: Option<String>§stage0: BootProfileManifestStage0Implementations§
Source§impl BootProfileManifest
impl BootProfileManifest
pub fn compile_dt_overlays<E, F>(&self, compile: F) -> Result<BootProfile, E>
Trait Implementations§
Source§impl Clone for BootProfileManifest
impl Clone for BootProfileManifest
Source§fn clone(&self) -> BootProfileManifest
fn clone(&self) -> BootProfileManifest
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 BootProfileManifest
impl Debug for BootProfileManifest
Source§impl<'de> Deserialize<'de> for BootProfileManifest
impl<'de> Deserialize<'de> for BootProfileManifest
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<BootProfileManifest, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<BootProfileManifest, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for BootProfileManifest
impl PartialEq for BootProfileManifest
Source§fn eq(&self, other: &BootProfileManifest) -> bool
fn eq(&self, other: &BootProfileManifest) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for BootProfileManifest
impl Serialize for BootProfileManifest
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for BootProfileManifest
impl StructuralPartialEq for BootProfileManifest
Auto Trait Implementations§
impl Freeze for BootProfileManifest
impl RefUnwindSafe for BootProfileManifest
impl Send for BootProfileManifest
impl Sync for BootProfileManifest
impl Unpin for BootProfileManifest
impl UnsafeUnpin for BootProfileManifest
impl UnwindSafe for BootProfileManifest
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