pub enum RuntimeKind {
Vllm,
TensorRt,
Ort,
Candle,
Cudarc,
MistralRs,
Python(String),
OpenAi,
Anthropic,
Gemini,
LiteLlm,
Custom(String),
}Expand description
Identifies the runtime backend that hosts a model.
Maps 1:1 to the per-runtime crates listed in §10.1. Custom(String)
is the escape hatch third-party runtimes use until they’re added to
the canonical enum.
Variants§
Vllm
TensorRt
Ort
Candle
Cudarc
MistralRs
Python(String)
Locally-hosted Python runtime without a Rust binding (e.g. XTTS, Bark, diffusers). Doc §2.6.
OpenAi
Anthropic
Gemini
LiteLlm
Custom(String)
Implementations§
Trait Implementations§
Source§impl Clone for RuntimeKind
impl Clone for RuntimeKind
Source§fn clone(&self) -> RuntimeKind
fn clone(&self) -> RuntimeKind
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 RuntimeKind
impl Debug for RuntimeKind
Source§impl<'de> Deserialize<'de> for RuntimeKind
impl<'de> Deserialize<'de> for RuntimeKind
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 From<&RuntimeKind> for TransportKind
impl From<&RuntimeKind> for TransportKind
Source§fn from(kind: &RuntimeKind) -> Self
fn from(kind: &RuntimeKind) -> Self
Converts to this type from the input type.
Source§impl Hash for RuntimeKind
impl Hash for RuntimeKind
Source§impl PartialEq for RuntimeKind
impl PartialEq for RuntimeKind
Source§impl Serialize for RuntimeKind
impl Serialize for RuntimeKind
impl Eq for RuntimeKind
impl StructuralPartialEq for RuntimeKind
Auto Trait Implementations§
impl Freeze for RuntimeKind
impl RefUnwindSafe for RuntimeKind
impl Send for RuntimeKind
impl Sync for RuntimeKind
impl Unpin for RuntimeKind
impl UnsafeUnpin for RuntimeKind
impl UnwindSafe for RuntimeKind
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