pub struct BootstrapHandoffInit {
pub cmd: String,
pub args: Vec<String>,
pub cwd: Option<String>,
pub env: Vec<BootstrapEnvVar>,
}Expand description
Optional PID 1 handoff after agentd completes initialization.
Fields§
§cmd: StringAbsolute init path inside the guest, or the auto sentinel.
args: Vec<String>Arguments following argv[0].
cwd: Option<String>Working directory entered before the handoff.
env: Vec<BootstrapEnvVar>Environment merged over the inherited runtime environment.
Trait Implementations§
Source§impl Clone for BootstrapHandoffInit
impl Clone for BootstrapHandoffInit
Source§fn clone(&self) -> BootstrapHandoffInit
fn clone(&self) -> BootstrapHandoffInit
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 BootstrapHandoffInit
impl Debug for BootstrapHandoffInit
Source§impl<'de> Deserialize<'de> for BootstrapHandoffInit
impl<'de> Deserialize<'de> for BootstrapHandoffInit
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 Eq for BootstrapHandoffInit
Source§impl PartialEq for BootstrapHandoffInit
impl PartialEq for BootstrapHandoffInit
Source§impl Serialize for BootstrapHandoffInit
impl Serialize for BootstrapHandoffInit
impl StructuralPartialEq for BootstrapHandoffInit
Auto Trait Implementations§
impl Freeze for BootstrapHandoffInit
impl RefUnwindSafe for BootstrapHandoffInit
impl Send for BootstrapHandoffInit
impl Sync for BootstrapHandoffInit
impl Unpin for BootstrapHandoffInit
impl UnsafeUnpin for BootstrapHandoffInit
impl UnwindSafe for BootstrapHandoffInit
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