pub struct Continue;Expand description
The Continue adapter.
Trait Implementations§
Source§impl Adapter for Continue
impl Adapter for Continue
fn metadata(&self) -> &'static AdapterMetadata
Source§fn paths(
&self,
root: &AppRoot,
profile: &ProfileName,
) -> Vec<(PathBuf, PathKind)>
fn paths( &self, root: &AppRoot, profile: &ProfileName, ) -> Vec<(PathBuf, PathKind)>
Pure: no filesystem access. Every path the adapter owns for
profile, in creation order. The first
entry is always the adapter’s profile directory.Source§fn plan(&self, ctx: &PlanContext<'_>) -> Result<PlannedLaunch>
fn plan(&self, ctx: &PlanContext<'_>) -> Result<PlannedLaunch>
Reads the filesystem at most; never writes. Discovers the executable, then refuses case-only twins.
Source§fn presence(&self, root: &AppRoot, profile: &ProfileName) -> ProfilePresence
fn presence(&self, root: &AppRoot, profile: &ProfileName) -> ProfilePresence
Reads the filesystem at most; never writes; never consults
PATH or the executable (spec §8).Source§fn initialize(&self, planned: &PlannedLaunch) -> Result<()>
fn initialize(&self, planned: &PlannedLaunch) -> Result<()>
Ensures every path in
planned.paths, in order; idempotent; never overwrites a file (spec §9, §9.1).impl Copy for Continue
Auto Trait Implementations§
impl Freeze for Continue
impl RefUnwindSafe for Continue
impl Send for Continue
impl Sync for Continue
impl Unpin for Continue
impl UnsafeUnpin for Continue
impl UnwindSafe for Continue
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