pub enum ExecutableKind {
Cli,
Lsp,
Mcp,
Sidecar,
Dap,
Tool,
}Expand description
The role a binary plays within a product.
Variants§
Cli
Command-line interface binary.
Lsp
Language server protocol binary.
Mcp
Model context protocol binary.
Sidecar
Long-running background process.
Dap
Debug adapter protocol binary.
Tool
General-purpose tool binary.
Trait Implementations§
Source§impl Clone for ExecutableKind
impl Clone for ExecutableKind
Source§fn clone(&self) -> ExecutableKind
fn clone(&self) -> ExecutableKind
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 ExecutableKind
impl Debug for ExecutableKind
Source§impl<'de> Deserialize<'de> for ExecutableKind
impl<'de> Deserialize<'de> for ExecutableKind
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
Source§impl PartialEq for ExecutableKind
impl PartialEq for ExecutableKind
Source§fn eq(&self, other: &ExecutableKind) -> bool
fn eq(&self, other: &ExecutableKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ExecutableKind
impl Serialize for ExecutableKind
impl Eq for ExecutableKind
impl StructuralPartialEq for ExecutableKind
Auto Trait Implementations§
impl Freeze for ExecutableKind
impl RefUnwindSafe for ExecutableKind
impl Send for ExecutableKind
impl Sync for ExecutableKind
impl Unpin for ExecutableKind
impl UnsafeUnpin for ExecutableKind
impl UnwindSafe for ExecutableKind
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