pub struct ResolvedEnv {
pub branch: String,
pub folder: PathBuf,
pub id: EnvId,
pub main_checkout: Option<PathBuf>,
}Expand description
Host-resolved local environment for execution in a shared session worktree.
Hosts validate the workspace before constructing this value. Resolution neither provisions a checkout nor grants permissions. Paths describe the current host, not durable identity or a security sandbox. Task worktrees are not resolved for execution yet, and remote execution is not supported.
Fields§
§branch: StringValidated session branch in the shared repository.
folder: PathBufWorking directory passed to execution, preserving the host’s path.
id: EnvIdStable environment identity and cleanup owner.
main_checkout: Option<PathBuf>Canonical main checkout protected by isolation checks, if non-bare.
Trait Implementations§
Source§impl Clone for ResolvedEnv
impl Clone for ResolvedEnv
Source§impl Debug for ResolvedEnv
impl Debug for ResolvedEnv
impl Eq for ResolvedEnv
Source§impl PartialEq for ResolvedEnv
impl PartialEq for ResolvedEnv
impl StructuralPartialEq for ResolvedEnv
Auto Trait Implementations§
impl Forget for ResolvedEnv
impl Freeze for ResolvedEnv
impl Move for ResolvedEnv
impl RefUnwindSafe for ResolvedEnv
impl Send for ResolvedEnv
impl Sync for ResolvedEnv
impl Unpin for ResolvedEnv
impl UnsafeUnpin for ResolvedEnv
impl UnwindSafe for ResolvedEnv
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.