pub struct HandoffInit {
pub cmd: PathBuf,
pub args: Vec<String>,
pub env: Vec<(String, String)>,
}Expand description
Fully-assembled handoff-init specification.
Fields§
§cmd: PathBufInit binary: absolute path inside the guest rootfs, or the literal auto.
args: Vec<String>Supplemental argv. argv[0] is implicitly cmd.
env: Vec<(String, String)>Extra env vars merged on top of the inherited env.
Trait Implementations§
Source§impl Clone for HandoffInit
impl Clone for HandoffInit
Source§fn clone(&self) -> HandoffInit
fn clone(&self) -> HandoffInit
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for HandoffInit
impl Debug for HandoffInit
Source§impl<'de> Deserialize<'de> for HandoffInit
impl<'de> Deserialize<'de> for HandoffInit
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
Auto Trait Implementations§
impl Freeze for HandoffInit
impl RefUnwindSafe for HandoffInit
impl Send for HandoffInit
impl Sync for HandoffInit
impl Unpin for HandoffInit
impl UnsafeUnpin for HandoffInit
impl UnwindSafe for HandoffInit
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