pub struct Contents {
pub disks: Vec<(String, PathBuf)>,
pub files: Vec<(String, Vec<u8>)>,
}Expand description
What goes into a bundle: disk images read from host files, and small files given whole, each at its path in the bundle.
Fields§
§disks: Vec<(String, PathBuf)>§files: Vec<(String, Vec<u8>)>Trait Implementations§
Auto Trait Implementations§
impl Forget for Contents
impl Freeze for Contents
impl Move for Contents
impl RefUnwindSafe for Contents
impl Send for Contentswhere
RawVecInner: Send,
impl Sync for Contentswhere
RawVecInner: Sync,
impl Unpin for Contents
impl UnsafeUnpin for Contentswhere
*const u8 is !null: UnsafeUnpin,
PhantomData<(String, PathBuf)>: UnsafeUnpin,
PhantomData<(String, Vec<u8>)>: UnsafeUnpin,
impl UnwindSafe for Contentswhere
RawVecInner: UnwindSafe,
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