pub struct D1Docker;Expand description
Initialize Docker stack trees from embedded assets (d1).
Trait Implementations§
Source§impl Step for D1Docker
impl Step for D1Docker
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 D1Docker
impl RefUnwindSafe for D1Docker
impl Send for D1Docker
impl Sync for D1Docker
impl Unpin for D1Docker
impl UnsafeUnpin for D1Docker
impl UnwindSafe for D1Docker
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