pub enum BackendCapability {
Replay,
Adapters,
Recall,
StepContracts,
FrontierReasoning,
FastIteration,
Offline,
Streaming,
Vision,
ToolUse,
}Expand description
Backend capabilities for routing decisions.
These capabilities determine what a backend can do and influence which backend is selected for a given request.
Variants§
Replay
Deterministic replay - same inputs produce identical outputs
Adapters
LoRA adapters for task-specific tuning
Recall
Recall injection from corpus
StepContracts
Step-level contract validation
FrontierReasoning
Frontier reasoning capabilities (Claude Opus, GPT-4, etc.)
FastIteration
Fast iteration for interactive use
Offline
Offline operation (no network required)
Streaming
Streaming output
Vision
Vision/multimodal input
ToolUse
Tool use / function calling
Trait Implementations§
Source§impl Clone for BackendCapability
impl Clone for BackendCapability
Source§fn clone(&self) -> BackendCapability
fn clone(&self) -> BackendCapability
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 BackendCapability
impl Debug for BackendCapability
Source§impl<'de> Deserialize<'de> for BackendCapability
impl<'de> Deserialize<'de> for BackendCapability
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 Hash for BackendCapability
impl Hash for BackendCapability
Source§impl PartialEq for BackendCapability
impl PartialEq for BackendCapability
Source§impl Serialize for BackendCapability
impl Serialize for BackendCapability
impl Copy for BackendCapability
impl Eq for BackendCapability
impl StructuralPartialEq for BackendCapability
Auto Trait Implementations§
impl Freeze for BackendCapability
impl RefUnwindSafe for BackendCapability
impl Send for BackendCapability
impl Sync for BackendCapability
impl Unpin for BackendCapability
impl UnwindSafe for BackendCapability
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