#[non_exhaustive]pub enum TeammateMode {
Auto,
InProcess,
Tmux,
Iterm2,
Other(String),
}Expand description
teammateMode: how agent-team teammates are shown.
Docs: teammateMode.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Auto
Split panes when you’re running inside tmux, or inside iTerm2 with it2 on your
PATH or tmux installed; in-process otherwise.
InProcess
Teammates run inside your main terminal pane.
Tmux
Split panes using tmux or iTerm2, detected from your terminal.
Iterm2
ITerm2 native split panes through the it2 CLI.
Other(String)
A value this crate doesn’t know, as written.
Implementations§
Trait Implementations§
Source§impl AsRef<str> for TeammateMode
impl AsRef<str> for TeammateMode
Source§impl Clone for TeammateMode
impl Clone for TeammateMode
Source§impl Debug for TeammateMode
impl Debug for TeammateMode
Source§impl<'de> Deserialize<'de> for TeammateMode
impl<'de> Deserialize<'de> for TeammateMode
Source§fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for TeammateMode
impl Display for TeammateMode
impl Eq for TeammateMode
Source§impl From<&str> for TeammateMode
impl From<&str> for TeammateMode
Source§impl From<String> for TeammateMode
impl From<String> for TeammateMode
Source§impl Hash for TeammateMode
impl Hash for TeammateMode
Source§impl Ord for TeammateMode
impl Ord for TeammateMode
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for TeammateMode
impl PartialEq for TeammateMode
Source§impl PartialOrd for TeammateMode
impl PartialOrd for TeammateMode
Source§impl Serialize for TeammateMode
impl Serialize for TeammateMode
impl StructuralPartialEq for TeammateMode
Auto Trait Implementations§
impl Forget for TeammateMode
impl Freeze for TeammateMode
impl Move for TeammateMode
impl RefUnwindSafe for TeammateMode
impl Send for TeammateMode
impl Sync for TeammateMode
impl Unpin for TeammateMode
impl UnsafeUnpin for TeammateMode
impl UnwindSafe for TeammateMode
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