pub struct LLMVMCoreConfig {
pub stdio_client: Option<StdioClientConfig>,
pub thread_ttl_secs: Option<u64>,
pub http_backends: HashMap<String, HttpClientConfig>,
}
Expand description
Configuration structure for the llmvm core.
Fields§
§stdio_client: Option<StdioClientConfig>
Configuration for all backend stdio clients.
thread_ttl_secs: Option<u64>
The max time-to-live for threads in seconds. Threads with a last modified time older than the TTL will be removed.
http_backends: HashMap<String, HttpClientConfig>
HTTP client configurations for remote backends.
Trait Implementations§
Source§impl ConfigExampleSnippet for LLMVMCoreConfig
impl ConfigExampleSnippet for LLMVMCoreConfig
Source§fn config_example_snippet() -> String
fn config_example_snippet() -> String
Returns the configuration example snippet to be used
in new configuration files.
Source§impl Default for LLMVMCoreConfig
impl Default for LLMVMCoreConfig
Source§fn default() -> LLMVMCoreConfig
fn default() -> LLMVMCoreConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LLMVMCoreConfigwhere
LLMVMCoreConfig: Default,
impl<'de> Deserialize<'de> for LLMVMCoreConfigwhere
LLMVMCoreConfig: Default,
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 LLMVMCoreConfig
impl RefUnwindSafe for LLMVMCoreConfig
impl Send for LLMVMCoreConfig
impl Sync for LLMVMCoreConfig
impl Unpin for LLMVMCoreConfig
impl UnwindSafe for LLMVMCoreConfig
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