pub struct SharedLaunch {
pub ready: String,
pub listens: Option<String>,
pub one_agent_a_folder: bool,
pub keep: Value,
}Expand description
How a process shared by agents starts and is shared. It runs in a folder of its own, none of the agents’: a worktree removed would find it held. It lives from its first agent to its last, in the core’s Job object.
Fields§
§ready: StringWhat the line that says it is ready holds: the line goes to the plugin (SharedRef::line).
listens: Option<String>The template of the line where the server says its address (http://{host}:{port}): the port the core reads
there is the one local:shared lets the plugin reach ({host} is 127.0.0.1 and nothing else, ESC-332).
one_agent_a_folder: boolA folder has one agent per process: another agent in that folder gets a process of its own.
keep: ValueWhat the plugin wants back with each agent on that process (its password): kept by the core, never read.
Trait Implementations§
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
Auto Trait Implementations§
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