pub struct CliProviderConfig {
pub name: String,
pub binary: String,
pub args: Vec<String>,
pub timeout_secs: u64,
}Expand description
Configuration for a single CLI provider.
Fields§
§name: StringDisplay name (e.g., “claude-cli”).
binary: StringPath to the binary.
args: Vec<String>Arguments before the prompt (e.g., [“-p”]).
timeout_secs: u64Timeout in seconds (default: 120).
Trait Implementations§
Source§impl Clone for CliProviderConfig
impl Clone for CliProviderConfig
Source§fn clone(&self) -> CliProviderConfig
fn clone(&self) -> CliProviderConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 CliProviderConfig
impl Debug for CliProviderConfig
Source§impl<'de> Deserialize<'de> for CliProviderConfig
impl<'de> Deserialize<'de> for CliProviderConfig
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
Auto Trait Implementations§
impl Freeze for CliProviderConfig
impl RefUnwindSafe for CliProviderConfig
impl Send for CliProviderConfig
impl Sync for CliProviderConfig
impl Unpin for CliProviderConfig
impl UnsafeUnpin for CliProviderConfig
impl UnwindSafe for CliProviderConfig
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