pub struct ThreadRunnerBinding {
pub destination: RunnerDestination,
pub workspace: PathBuf,
pub read_roots: Vec<PathBuf>,
}Expand description
Per-thread remote-runner binding chosen at thread creation. Native coding tools for a bound thread execute against this runner instead of the local filesystem; the destination config is persisted with the thread, so secrets must reach the provider through its environment, not this config.
Fields§
§destination: RunnerDestination§workspace: PathBufAbsolute path on the runner used as the thread’s coding-tool workspace root.
read_roots: Vec<PathBuf>Extra absolute runner paths that file reads may resolve under, in
addition to workspace. Writes and the working directory stay confined
to workspace; these only widen read resolution (e.g. read-only
resource mounts outside the writable workspace root).
Trait Implementations§
Source§impl Clone for ThreadRunnerBinding
impl Clone for ThreadRunnerBinding
Source§fn clone(&self) -> ThreadRunnerBinding
fn clone(&self) -> ThreadRunnerBinding
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 ThreadRunnerBinding
impl Debug for ThreadRunnerBinding
Source§impl<'de> Deserialize<'de> for ThreadRunnerBinding
impl<'de> Deserialize<'de> for ThreadRunnerBinding
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 ThreadRunnerBinding
Source§impl PartialEq for ThreadRunnerBinding
impl PartialEq for ThreadRunnerBinding
Source§fn eq(&self, other: &ThreadRunnerBinding) -> bool
fn eq(&self, other: &ThreadRunnerBinding) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ThreadRunnerBinding
impl Serialize for ThreadRunnerBinding
impl StructuralPartialEq for ThreadRunnerBinding
Auto Trait Implementations§
impl Freeze for ThreadRunnerBinding
impl RefUnwindSafe for ThreadRunnerBinding
impl Send for ThreadRunnerBinding
impl Sync for ThreadRunnerBinding
impl Unpin for ThreadRunnerBinding
impl UnsafeUnpin for ThreadRunnerBinding
impl UnwindSafe for ThreadRunnerBinding
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.