pub enum PackMode {
Container,
Vm,
}Expand description
Execution mode for packed binaries.
Determines how commands are executed at runtime:
Container: commands run inside a crun container (OCI layers)Vm: commands run directly in the VM rootfs (overlay disk)
Variants§
Container
Container mode: OCI image layers + crun container execution.
Vm
VM mode: overlay disk + direct VM execution.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PackMode
impl<'de> Deserialize<'de> for PackMode
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for PackMode
Auto Trait Implementations§
impl Freeze for PackMode
impl RefUnwindSafe for PackMode
impl Send for PackMode
impl Sync for PackMode
impl Unpin for PackMode
impl UnsafeUnpin for PackMode
impl UnwindSafe for PackMode
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