pub enum EnvId {
SessionWorktree(SessionId),
}Expand description
Stable identity and lifecycle owner of an execution environment.
The existing session worktree is shared by all tasks in that session. Its identity uses the full persisted session ID, never the shortened branch name or a filesystem path. Session setup and cleanup remain authoritative; finishing a task does not release the environment.
Variants§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for EnvId
impl<'de> Deserialize<'de> for EnvId
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for EnvId
impl StructuralPartialEq for EnvId
Auto Trait Implementations§
impl Forget for EnvId
impl Freeze for EnvId
impl Move for EnvId
impl RefUnwindSafe for EnvId
impl Send for EnvId
impl Sync for EnvId
impl Unpin for EnvId
impl UnsafeUnpin for EnvId
impl UnwindSafe for EnvId
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.