Enum LlmCodec Identity

View as Markdown

Generated from cargo doc --no-deps -p nemo-relay -p nemo-relay-adaptive -p nemo-relay-pii-redaction -p nemo-relay-ffi -p nemo-relay-types -p nemo-relay-plugin -p nemo-relay-worker-proto -p nemo-relay-worker.

pub enum LlmCodecIdentity {
    None,
    BuiltIn(BuiltinLlmCodec),
    Runtime(String),
    Opaque,
}

Per-call LLM codec identity delivered to native plugins.

Variants

None

None

No codec was active.

BuiltIn(BuiltinLlmCodec)

BuiltIn(BuiltinLlmCodec)

A Relay built-in codec was active.

Runtime(String)

Runtime(String)

A runtime-registered codec was active, identified by its stable ID.

Opaque

Opaque

A codec was active but has no registered identity.

Trait Implementations

impl Clone for LlmCodecIdentity

impl Clone for LlmCodecIdentity

clone

fn clone(&self) -> LlmCodecIdentity

clone_from

fn clone_from(&mut self, source: &Self)

impl Debug for LlmCodecIdentity

impl Debug for LlmCodecIdentity

fmt

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl Default for LlmCodecIdentity

impl Default for LlmCodecIdentity

default

fn default() -> LlmCodecIdentity

impl<'de> Deserialize<'de> for LlmCodecIdentity

impl<'de> Deserialize<'de> for LlmCodecIdentity

deserialize

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
    __D: Deserializer<'de>,

impl PartialEq for LlmCodecIdentity

impl PartialEq for LlmCodecIdentity

eq

fn eq(&self, other: &LlmCodecIdentity) -> bool

ne

fn ne(&self, other: &Rhs) -> bool

impl Serialize for LlmCodecIdentity

impl Serialize for LlmCodecIdentity

serialize

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where
    __S: Serializer,

impl Eq for LlmCodecIdentity

impl Eq for LlmCodecIdentity

impl StructuralPartialEq for LlmCodecIdentity

impl StructuralPartialEq for LlmCodecIdentity