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 ContentSelectionError {
InvalidSource,
IndexOutOfRange,
}

Invalid content-inspection selection, independent of any transport.

Variants

InvalidSource

InvalidSource

The selection is not defined for this normalized source category.

IndexOutOfRange

IndexOutOfRange

Explicit history index is outside the supplied request.

Trait Implementations

impl Debug for ContentSelectionError

impl Debug for ContentSelectionError

fmt

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

impl Display for ContentSelectionError

impl Display for ContentSelectionError

fmt

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

impl Error for ContentSelectionError

impl Error for ContentSelectionError

source

fn source(&self) -> Option<&(dyn Error + 'static)>

description

fn description(&self) -> &str

cause

fn cause(&self) -> Option<&dyn Error>

provide

fn provide<'a>(&'a self, request: &mut Request<'a>)

impl PartialEq for ContentSelectionError

impl PartialEq for ContentSelectionError

eq

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

ne

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

impl Eq for ContentSelectionError

impl Eq for ContentSelectionError

impl StructuralPartialEq for ContentSelectionError

impl StructuralPartialEq for ContentSelectionError