Enum Stability Class

View as Markdown

Generated from cargo doc --no-deps -p nemo-relay -p nemo-relay-adaptive -p nemo-relay-ffi.

1pub enum StabilityClass {
2 Stable,
3 SemiStable,
4 Variable,
5}

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

clone

fn clone(&self) -> StabilityClass

clone_from

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

impl Debug for StabilityClass

impl Debug for StabilityClass

fmt

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

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

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

deserialize

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

impl Hash for StabilityClass

impl Hash for StabilityClass

hash

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

hash_slice

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

impl PartialEq for StabilityClass

impl PartialEq for StabilityClass

eq

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

ne

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

impl Serialize for StabilityClass

impl Serialize for StabilityClass

serialize

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

impl Copy for StabilityClass

impl Copy for StabilityClass

impl Eq for StabilityClass

impl Eq for StabilityClass

impl StructuralPartialEq for StabilityClass

impl StructuralPartialEq for StabilityClass