Skip to navigation

Generated from cargo doc --no-deps -p nemo-relay-builtins -p nemo-relay-diagnostics -p nemo-relay-logging -p nemo-relay-plugin-host -p nemo-relay-codecs -p nemo-relay -p nemo-relay-runtime -p nemo-relay-model-pricing -p nemo-relay-resource-metrics -p nemo-relay-observability -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 StabilityClass {
Stable,
SemiStable,
Variable,
}

Stability bucket assigned to a prompt block.

Variants

Stable

Stable

The block is highly consistent across observations.

SemiStable

SemiStable

The block is somewhat consistent but still changes meaningfully.

Variable

Variable

The block changes enough that it should be treated as variable.

Trait Implementations

impl Clone for StabilityClass

impl Clone for StabilityClass

Referenced types: Clone, StabilityClass

clone

fn clone(&self) -> StabilityClass

Referenced types: clone, StabilityClass

clone_from

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

Referenced types: clone_from

impl Debug for StabilityClass

impl Debug for StabilityClass

Referenced types: Debug, StabilityClass

fmt

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

Referenced types: fmt, Formatter, Result

impl<'de> Deserialize<'de> for StabilityClass

impl<'de> Deserialize<'de> for StabilityClass

Referenced types: Deserialize, StabilityClass

deserialize

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

Referenced types: deserialize, Result, Error, Deserializer

impl Hash for StabilityClass

impl Hash for StabilityClass

Referenced types: Hash, StabilityClass

hash

fn hash<__H: Hasher>(&self, state: &mut __H)

Referenced types: hash, Hasher, &mut __H

hash_slice

fn hash_slice<H>(data: &[Self], state: &mut H)where
H: Hasher,
Self: Sized,

Referenced types: hash_slice, &mut H, Hasher, Sized

impl PartialEq for StabilityClass

impl PartialEq for StabilityClass

Referenced types: PartialEq, StabilityClass

eq

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

Referenced types: eq, StabilityClass, bool

ne

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

Referenced types: ne, &Rhs, bool

impl Serialize for StabilityClass

impl Serialize for StabilityClass

Referenced types: Serialize, StabilityClass

serialize

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

Referenced types: serialize, Result, Ok, Error, Serializer

impl Copy for StabilityClass

impl Copy for StabilityClass

Referenced types: Copy, StabilityClass

impl Eq for StabilityClass

impl Eq for StabilityClass

Referenced types: Eq, StabilityClass

impl StructuralPartialEq for StabilityClass

impl StructuralPartialEq for StabilityClass

Referenced types: StructuralPartialEq, StabilityClass