pub enum PackedMode {
Embedded {
exe_path: PathBuf,
footer: PackFooter,
},
Sidecar {
sidecar_path: PathBuf,
footer: PackFooter,
},
}Expand description
The detected packed binary mode.
Variants§
Embedded
Assets appended to the binary (Linux single-file, or macOS fallback).
Sidecar
Assets in a .smolmachine sidecar file alongside the binary.
Auto Trait Implementations§
impl Freeze for PackedMode
impl RefUnwindSafe for PackedMode
impl Send for PackedMode
impl Sync for PackedMode
impl Unpin for PackedMode
impl UnsafeUnpin for PackedMode
impl UnwindSafe for PackedMode
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