pub struct Kiro;Expand description
The Kiro CLI adapter.
Trait Implementations§
Source§impl Adapter for Kiro
impl Adapter for Kiro
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 Kiro
Auto Trait Implementations§
impl Freeze for Kiro
impl RefUnwindSafe for Kiro
impl Send for Kiro
impl Sync for Kiro
impl Unpin for Kiro
impl UnsafeUnpin for Kiro
impl UnwindSafe for Kiro
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