pub struct BuiltKernel {
pub bzimage: Vec<u8>,
pub initramfs: Option<Vec<u8>>,
pub config: KernelConfig,
pub image_hash: [u8; 32],
pub compressed_size: u64,
}Expand description
A built kernel ready to be embedded into an RVF store.
Fields§
§bzimage: Vec<u8>The raw kernel image bytes (bzImage or ELF).
initramfs: Option<Vec<u8>>Optional initramfs (gzipped cpio archive).
config: KernelConfigThe config used to build this kernel.
image_hash: [u8; 32]SHA3-256 hash of the uncompressed kernel image.
compressed_size: u64Size of the kernel image after compression (or raw size if uncompressed).
Trait Implementations§
Source§impl Clone for BuiltKernel
impl Clone for BuiltKernel
Source§fn clone(&self) -> BuiltKernel
fn clone(&self) -> BuiltKernel
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for BuiltKernel
impl RefUnwindSafe for BuiltKernel
impl Send for BuiltKernel
impl Sync for BuiltKernel
impl Unpin for BuiltKernel
impl UnwindSafe for BuiltKernel
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