pub enum LlmCodecIdentity {
None,
BuiltIn(BuiltinLlmCodec),
Runtime(String),
Opaque,
}Expand description
Per-call LLM codec identity delivered to native plugins.
Variants§
None
No codec was active.
BuiltIn(BuiltinLlmCodec)
A Relay built-in codec was active.
Runtime(String)
A runtime-registered codec was active, identified by its stable ID.
Opaque
A codec was active but has no registered identity.
Trait Implementations§
Source§impl Clone for LlmCodecIdentity
impl Clone for LlmCodecIdentity
Source§fn clone(&self) -> LlmCodecIdentity
fn clone(&self) -> LlmCodecIdentity
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 LlmCodecIdentity
impl Debug for LlmCodecIdentity
Source§impl Default for LlmCodecIdentity
impl Default for LlmCodecIdentity
Source§fn default() -> LlmCodecIdentity
fn default() -> LlmCodecIdentity
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LlmCodecIdentity
impl<'de> Deserialize<'de> for LlmCodecIdentity
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 LlmCodecIdentity
Source§impl PartialEq for LlmCodecIdentity
impl PartialEq for LlmCodecIdentity
Source§impl Serialize for LlmCodecIdentity
impl Serialize for LlmCodecIdentity
impl StructuralPartialEq for LlmCodecIdentity
Auto Trait Implementations§
impl Freeze for LlmCodecIdentity
impl RefUnwindSafe for LlmCodecIdentity
impl Send for LlmCodecIdentity
impl Sync for LlmCodecIdentity
impl Unpin for LlmCodecIdentity
impl UnsafeUnpin for LlmCodecIdentity
impl UnwindSafe for LlmCodecIdentity
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