pub struct RuntimeSupport {
pub supported_modes: Vec<ExecutionMode>,
pub supported_backends: Vec<String>,
pub max_context_len: u32,
pub max_batch_size: u32,
pub tee_capable: bool,
}Expand description
Runtime capabilities declared by a provider node.
Fields§
§supported_modes: Vec<ExecutionMode>Execution modes this node can serve.
supported_backends: Vec<String>Inference backend identifiers (e.g. “llama.cpp”, “vllm”, “ggml”).
max_context_len: u32Maximum supported context length in tokens.
max_batch_size: u32Maximum request batch size.
tee_capable: boolWhether this node has a verified TEE enclave.
Trait Implementations§
Source§impl Clone for RuntimeSupport
impl Clone for RuntimeSupport
Source§fn clone(&self) -> RuntimeSupport
fn clone(&self) -> RuntimeSupport
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 RuntimeSupport
impl Debug for RuntimeSupport
Source§impl Default for RuntimeSupport
impl Default for RuntimeSupport
Source§fn default() -> RuntimeSupport
fn default() -> RuntimeSupport
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RuntimeSupport
impl<'de> Deserialize<'de> for RuntimeSupport
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 RuntimeSupport
impl RefUnwindSafe for RuntimeSupport
impl Send for RuntimeSupport
impl Sync for RuntimeSupport
impl Unpin for RuntimeSupport
impl UnsafeUnpin for RuntimeSupport
impl UnwindSafe for RuntimeSupport
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