pub struct RuntimeToolHostWire {
pub task_data_dir: Option<PathBuf>,
pub active_task_id: Option<String>,
pub active_thread_id: Option<String>,
pub scratchpad_run_id: Arc<Mutex<Option<String>>>,
pub persist_scratchpad_run_id: Option<Arc<dyn Fn(String) + Send + Sync>>,
pub scratchpad_config: Option<ScratchpadConfig>,
}Expand description
Durable metadata wired at engine spawn; manager handles stay in sidecar.
Fields§
§task_data_dir: Option<PathBuf>§active_task_id: Option<String>§active_thread_id: Option<String>§scratchpad_run_id: Arc<Mutex<Option<String>>>§persist_scratchpad_run_id: Option<Arc<dyn Fn(String) + Send + Sync>>§scratchpad_config: Option<ScratchpadConfig>Trait Implementations§
Source§impl Clone for RuntimeToolHostWire
impl Clone for RuntimeToolHostWire
Source§fn clone(&self) -> RuntimeToolHostWire
fn clone(&self) -> RuntimeToolHostWire
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RuntimeToolHostWire
impl Debug for RuntimeToolHostWire
Auto Trait Implementations§
impl !RefUnwindSafe for RuntimeToolHostWire
impl !UnwindSafe for RuntimeToolHostWire
impl Freeze for RuntimeToolHostWire
impl Send for RuntimeToolHostWire
impl Sync for RuntimeToolHostWire
impl Unpin for RuntimeToolHostWire
impl UnsafeUnpin for RuntimeToolHostWire
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