pub struct S6Validate;Expand description
Validate applied configs and enable required services (s6).
Trait Implementations§
Source§impl Step for S6Validate
impl Step for S6Validate
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 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).
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.
Auto Trait Implementations§
impl Freeze for S6Validate
impl RefUnwindSafe for S6Validate
impl Send for S6Validate
impl Sync for S6Validate
impl Unpin for S6Validate
impl UnsafeUnpin for S6Validate
impl UnwindSafe for S6Validate
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