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 supplied to worker sanitizers.

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 PartialEq for LlmCodecIdentity

impl PartialEq for LlmCodecIdentity

eq

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

ne

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

impl Eq for LlmCodecIdentity

impl Eq for LlmCodecIdentity

impl StructuralPartialEq for LlmCodecIdentity

impl StructuralPartialEq for LlmCodecIdentity