pub enum SandboxKind {
None,
Namespace,
Container,
}Expand description
The isolation mechanism used for an agent’s shell tool execution.
Variants§
None
Run directly on the host - current behavior, explicit opt-out.
Namespace
Run under fresh Linux namespaces via unshare(1) (Linux only).
Container
Run inside a container via Docker or Podman.
Trait Implementations§
Source§impl Clone for SandboxKind
impl Clone for SandboxKind
Source§fn clone(&self) -> SandboxKind
fn clone(&self) -> SandboxKind
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 moreimpl Copy for SandboxKind
Source§impl Debug for SandboxKind
impl Debug for SandboxKind
Source§impl Default for SandboxKind
impl Default for SandboxKind
Source§fn default() -> SandboxKind
fn default() -> SandboxKind
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SandboxKind
impl<'de> Deserialize<'de> for SandboxKind
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 SandboxKind
Source§impl PartialEq for SandboxKind
impl PartialEq for SandboxKind
Source§impl Serialize for SandboxKind
impl Serialize for SandboxKind
impl StructuralPartialEq for SandboxKind
Auto Trait Implementations§
impl Freeze for SandboxKind
impl RefUnwindSafe for SandboxKind
impl Send for SandboxKind
impl Sync for SandboxKind
impl Unpin for SandboxKind
impl UnsafeUnpin for SandboxKind
impl UnwindSafe for SandboxKind
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.