pub enum TaskShellInfoAttachmentMode {
Attached,
Detached,
Unknown,
}Expand description
Whether the shell runs inside a managed PTY session or as an independent background process
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Variants§
Attached
The shell runs in a managed PTY session.
Detached
The shell runs as an independent background process.
Unknown
Unknown variant for forward compatibility.
Trait Implementations§
Source§impl Clone for TaskShellInfoAttachmentMode
impl Clone for TaskShellInfoAttachmentMode
Source§fn clone(&self) -> TaskShellInfoAttachmentMode
fn clone(&self) -> TaskShellInfoAttachmentMode
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 TaskShellInfoAttachmentMode
impl Debug for TaskShellInfoAttachmentMode
Source§impl Default for TaskShellInfoAttachmentMode
impl Default for TaskShellInfoAttachmentMode
Source§fn default() -> TaskShellInfoAttachmentMode
fn default() -> TaskShellInfoAttachmentMode
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TaskShellInfoAttachmentMode
impl<'de> Deserialize<'de> for TaskShellInfoAttachmentMode
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 TaskShellInfoAttachmentMode
Source§impl PartialEq for TaskShellInfoAttachmentMode
impl PartialEq for TaskShellInfoAttachmentMode
Source§fn eq(&self, other: &TaskShellInfoAttachmentMode) -> bool
fn eq(&self, other: &TaskShellInfoAttachmentMode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TaskShellInfoAttachmentMode
Auto Trait Implementations§
impl Freeze for TaskShellInfoAttachmentMode
impl RefUnwindSafe for TaskShellInfoAttachmentMode
impl Send for TaskShellInfoAttachmentMode
impl Sync for TaskShellInfoAttachmentMode
impl Unpin for TaskShellInfoAttachmentMode
impl UnsafeUnpin for TaskShellInfoAttachmentMode
impl UnwindSafe for TaskShellInfoAttachmentMode
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