pub struct S5Apply;Expand description
Copy staged files into HostContext /etc and disable systemd-resolved.
Trait Implementations§
Source§impl Step for S5Apply
impl Step for S5Apply
Source§fn reference_script(&self) -> &'static str
fn reference_script(&self) -> &'static str
Legacy shell script this step absorbs (documentation / tip-sync).
Source§fn step_version(&self) -> u32
fn step_version(&self) -> u32
Implementation version; resume marks stale when this increases.
Source§fn depends_on(&self) -> &'static [&'static str]
fn depends_on(&self) -> &'static [&'static str]
Step ids that must be
Done before this step may run.Source§fn needs_reboot_after(&self) -> bool
fn needs_reboot_after(&self) -> bool
Advise a reboot after a successful apply.
Source§fn destructive(&self) -> bool
fn destructive(&self) -> bool
True when apply can overwrite live host config.
Source§fn is_done(&self, ctx: &HostContext) -> bool
fn is_done(&self, ctx: &HostContext) -> bool
Heuristic: already completed on this host layout.
Source§fn plan(&self, ctx: &mut HostContext) -> Result<Vec<PlannedAction>>
fn plan(&self, ctx: &mut HostContext) -> Result<Vec<PlannedAction>>
Record planned actions without mutating the host (also used in dry-run apply). Read more
Source§fn apply(&self, ctx: &mut HostContext) -> Result<()>
fn apply(&self, ctx: &mut HostContext) -> Result<()>
Execute or plan according to
HostContext::mode. Read moreSource§fn schema_version(&self) -> u32
fn schema_version(&self) -> u32
Schema of the step trait itself (rarely bumped).
Auto Trait Implementations§
impl Freeze for S5Apply
impl RefUnwindSafe for S5Apply
impl Send for S5Apply
impl Sync for S5Apply
impl Unpin for S5Apply
impl UnsafeUnpin for S5Apply
impl UnwindSafe for S5Apply
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