#[non_exhaustive]pub enum ServingProtocol {
KServeV2Http,
KServeV2Grpc,
VllmRest,
TgiRest,
BentoMl,
OnnxRuntime,
TfServing,
Custom,
}Expand description
Model-serving runtime protocol.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
KServeV2Http
KServe v2 over HTTP.
KServeV2Grpc
KServe v2 over gRPC.
VllmRest
vLLM raw REST generation APIs.
TgiRest
Hugging Face Text Generation Inference REST APIs.
BentoMl
BentoML serving APIs.
OnnxRuntime
ONNX Runtime serving APIs.
TfServing
TensorFlow Serving APIs.
Custom
Custom runtime protocol.
Trait Implementations§
Source§impl Clone for ServingProtocol
impl Clone for ServingProtocol
Source§fn clone(&self) -> ServingProtocol
fn clone(&self) -> ServingProtocol
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 moreimpl Copy for ServingProtocol
Source§impl Debug for ServingProtocol
impl Debug for ServingProtocol
Source§impl<'de> Deserialize<'de> for ServingProtocol
impl<'de> Deserialize<'de> for ServingProtocol
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
impl Eq for ServingProtocol
Source§impl PartialEq for ServingProtocol
impl PartialEq for ServingProtocol
Source§impl Serialize for ServingProtocol
impl Serialize for ServingProtocol
impl StructuralPartialEq for ServingProtocol
Auto Trait Implementations§
impl Freeze for ServingProtocol
impl RefUnwindSafe for ServingProtocol
impl Send for ServingProtocol
impl Sync for ServingProtocol
impl Unpin for ServingProtocol
impl UnsafeUnpin for ServingProtocol
impl UnwindSafe for ServingProtocol
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.