pub struct RootfsPaths {
pub vm_agent: PathBuf,
pub cache_dir: PathBuf,
pub busybox: PathBuf,
}Expand description
Where the rootfs builder finds its inputs and keeps its outputs.
Fields§
§vm_agent: PathBufThe vm-agent binary injected into every image at /sbin/vm-agent.
cache_dir: PathBufDirectory the generated ext4 images (and their .ext4.tmp build
files) live in.
busybox: PathBufStatic busybox that becomes the default rootfs’s userland
(/bin/busybox plus one applet symlink per busybox --list entry).
Trait Implementations§
Source§impl Clone for RootfsPaths
impl Clone for RootfsPaths
Auto Trait Implementations§
impl Freeze for RootfsPaths
impl RefUnwindSafe for RootfsPaths
impl Send for RootfsPaths
impl Sync for RootfsPaths
impl Unpin for RootfsPaths
impl UnsafeUnpin for RootfsPaths
impl UnwindSafe for RootfsPaths
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