Enum Diagnostic Read Reason
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.
Stable reasons shared by canonical snapshot adapters. These are operation results, never a source health classification or a producer failure code. Include a fallback arm when matching: future releases can add reasons.
Variants (Non-exhaustive)
Disabled
Disabled
Collection was disabled at startup.
QueryDisabled
QueryDisabled
Collection is enabled but snapshot workspaces were disabled.
UnsupportedSchema
UnsupportedSchema
Requested snapshot version is unsupported.
InvalidQuery
InvalidQuery
Malformed, oversized, unknown, or inadmissible query input.
InvalidCursor
InvalidCursor
Continuation source, selection, or revision no longer matches.
Busy
Busy
Core or adapter concurrency permits are temporarily exhausted.
SnapshotCapacity
SnapshotCapacity
The admitted page cannot fit a required envelope or atomic row.
InvalidLimits
InvalidLimits
Invalid startup capacity profile, including arithmetic overflow.
AllocationFailed
AllocationFailed
An admitted allocation could not be reserved.
Internal
Internal
An unexpected internal read failure; no original error text is exposed.
Implementations
impl DiagnosticReadReason
impl DiagnosticReadReason
as_str
pub const fn as_str(self) -> &'static str
Stable wire spelling, also used by language error helpers.
Trait Implementations
impl Clone for DiagnosticReadReason
impl Clone for DiagnosticReadReason
clone
fn clone(&self) -> DiagnosticReadReason
clone_from
fn clone_from(&mut self, source: &Self)
impl Debug for DiagnosticReadReason
impl Debug for DiagnosticReadReason
fmt
fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>
impl<'de> Deserialize<'de> for DiagnosticReadReason
impl<'de> Deserialize<'de> for DiagnosticReadReason
deserialize
fn deserialize<__D>(
__deserializer: __D,
) -> Result<DiagnosticReadReason, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
impl Display for DiagnosticReadReason
impl Display for DiagnosticReadReason
fmt
fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>
impl Error for DiagnosticReadReason
impl Error for DiagnosticReadReason
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 DiagnosticReadReason
impl PartialEq for DiagnosticReadReason
eq
fn eq(&self, other: &DiagnosticReadReason) -> bool
ne
fn ne(&self, other: &Rhs) -> bool
impl Serialize for DiagnosticReadReason
impl Serialize for DiagnosticReadReason
serialize
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
impl Copy for DiagnosticReadReason
impl Copy for DiagnosticReadReason
impl Eq for DiagnosticReadReason
impl Eq for DiagnosticReadReason
impl StructuralPartialEq for DiagnosticReadReason
impl StructuralPartialEq for DiagnosticReadReason