Skip to navigation

Enum Diagnostic Error

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 DiagnosticError {
Show 20 variants Disabled,
InvalidLimits,
Allocation,
InvalidComponentKey,
InvalidCode,
InvalidClassification,
InvalidContext,
ComponentCapacity,
KeyCapacity,
MetadataCapacity,
WindowCapacity,
ComponentClosed,
SequenceExhausted,
QueryDisabled,
QueryCapacity,
InvalidQuery,
InvalidCursor,
SnapshotCapacity,
ProjectionCapacity,
AlreadyInitialized,
}

Validation, admission, or availability failure, independent of operational logging.

Variants

Disabled

Disabled

Reads report configured disablement instead of available empty evidence.

InvalidLimits

InvalidLimits

Enabled capacities are invalid, overflow arithmetic, or exceed the byte ceiling.

Allocation

Allocation

An admitted startup backing allocation could not be reserved.

InvalidComponentKey

InvalidComponentKey

The logical key is empty, oversized, or outside the supported syntax.

InvalidCode

InvalidCode

The code is undeclared or its handle names another/stale registration.

InvalidClassification

InvalidClassification

The code or extension does not permit the supplied cause.

InvalidContext

InvalidContext

Plugin context contains a name unsupported by this recording runtime.

ComponentCapacity

ComponentCapacity

Admission cannot fit another component without displacing active state.

KeyCapacity

KeyCapacity

Declared built-in or extension counter reservations cannot fit.

MetadataCapacity

MetadataCapacity

A key, ownership value, or descriptor exceeds metadata capacity.

WindowCapacity

WindowCapacity

The requested outcome series cannot reserve its bucket storage.

ComponentClosed

ComponentClosed

The handle names a closed or replaced registration.

SequenceExhausted

SequenceExhausted

A sequence or generation cannot advance without identity reuse.

QueryDisabled

QueryDisabled

Startup intentionally disabled query materialization with max_queries = 0.

QueryCapacity

QueryCapacity

Every bounded query workspace is currently leased.

InvalidQuery

InvalidQuery

A selector or page request exceeds its admission constraints.

InvalidCursor

InvalidCursor

Continuation has the wrong source/scope or its captured state changed.

SnapshotCapacity

SnapshotCapacity

A selected atomic row or required envelope cannot fit the query budgets.

ProjectionCapacity

ProjectionCapacity

Subscription slots or unique registration IDs are exhausted.

AlreadyInitialized

AlreadyInitialized

The process context was already installed or consumed, even while disabled.

Trait Implementations

impl Clone for DiagnosticError

impl Clone for DiagnosticError

clone

fn clone(&self) -> DiagnosticError

clone_from

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

impl Debug for DiagnosticError

impl Debug for DiagnosticError

fmt

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

impl Display for DiagnosticError

impl Display for DiagnosticError

fmt

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

impl Error for DiagnosticError

impl Error for DiagnosticError

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 DiagnosticError

impl PartialEq for DiagnosticError

eq

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

ne

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

impl Copy for DiagnosticError

impl Copy for DiagnosticError

impl Eq for DiagnosticError

impl Eq for DiagnosticError

impl StructuralPartialEq for DiagnosticError

impl StructuralPartialEq for DiagnosticError