pub enum BackendEntry {
Llamacpp(LlamacppEntry),
OpenaiCompat(OpenaiCompatEntry),
BedrockInvoke(BedrockInvokeEntry),
}Expand description
A single backend declaration. Tagged on kind: so future
variants (bedrock-converse, …) slot in additively. Unknown
kinds are rejected at parse time so operators see a clear error
rather than a silent skip.
Variants§
Llamacpp(LlamacppEntry)
Local llama.cpp backend over a GGUF file in the shared CAS.
OpenaiCompat(OpenaiCompatEntry)
Outbound HTTPS adapter for any provider speaking the OpenAI
Chat Completions wire (OpenAI, Anthropic via the compat layer
at api.anthropic.com/v1/, OpenRouter, vLLM, LM Studio,
LocalAI, Ollama, llama.cpp’s HTTP server).
BedrockInvoke(BedrockInvokeEntry)
AWS Bedrock-runtime
InvokeModelWithResponseStream adapter
(Phase 6B-5). v0.2.0 ships only the Anthropic-on-Bedrock body
shape — Claude models invoked via Bedrock’s pinned
anthropic_version: "bedrock-2023-05-31" payload.
Implementations§
Trait Implementations§
Source§impl Clone for BackendEntry
impl Clone for BackendEntry
Source§fn clone(&self) -> BackendEntry
fn clone(&self) -> BackendEntry
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 BackendEntry
impl Debug for BackendEntry
Source§impl<'de> Deserialize<'de> for BackendEntry
impl<'de> Deserialize<'de> for BackendEntry
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 BackendEntry
impl RefUnwindSafe for BackendEntry
impl Send for BackendEntry
impl Sync for BackendEntry
impl Unpin for BackendEntry
impl UnsafeUnpin for BackendEntry
impl UnwindSafe for BackendEntry
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