Enum Diagnostic Observation Outcome
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.
Observed operation outcome, independent of diagnostic severity.
Variants
Unspecified = 0
Unspecified maps to the runtime’s unknown observation outcome.
Success = 1
The observed operation succeeded.
Failure = 2
The observed operation failed.
Implementations
impl DiagnosticObservationOutcome
Referenced types: DiagnosticObservationOutcome
is_valid
Returns true if value is a variant of DiagnosticObservationOutcome.
from_i32
Referenced types: i32, Option, DiagnosticObservationOutcome
Converts an i32 to a DiagnosticObservationOutcome, or None if value is not a valid variant.
impl DiagnosticObservationOutcome
Referenced types: DiagnosticObservationOutcome
as_str_name
Referenced types: str
String value of the enum field names used in the ProtoBuf definition.
The values are not transformed in any way and thus are considered stable (if the ProtoBuf definition does not change) and safe for programmatic use.
from_str_name
Referenced types: str, Option, DiagnosticObservationOutcome
Creates an enum from field names used in the ProtoBuf definition.
Trait Implementations
impl Clone for DiagnosticObservationOutcome
Referenced types: Clone, DiagnosticObservationOutcome
clone
Referenced types: clone, DiagnosticObservationOutcome
clone_from
Referenced types: clone_from
impl Debug for DiagnosticObservationOutcome
Referenced types: Debug, DiagnosticObservationOutcome
fmt
Referenced types: fmt, Formatter, Result, (), Error
impl Default for DiagnosticObservationOutcome
Referenced types: Default, DiagnosticObservationOutcome
default
Referenced types: default, DiagnosticObservationOutcome
impl Hash for DiagnosticObservationOutcome
Referenced types: Hash, DiagnosticObservationOutcome
hash
Referenced types: hash, &mut __H, Hasher
hash_slice
Referenced types: hash_slice, &mut H, Hasher, Sized
impl Ord for DiagnosticObservationOutcome
Referenced types: Ord, DiagnosticObservationOutcome
cmp
Referenced types: cmp, DiagnosticObservationOutcome, Ordering
max
min
clamp
Referenced types: clamp, Sized
impl PartialEq for DiagnosticObservationOutcome
Referenced types: PartialEq, DiagnosticObservationOutcome
eq
Referenced types: eq, DiagnosticObservationOutcome, bool
ne
Referenced types: ne, &Rhs, bool
impl PartialOrd for DiagnosticObservationOutcome
Referenced types: PartialOrd, DiagnosticObservationOutcome
partial_cmp
Referenced types: partial_cmp, DiagnosticObservationOutcome, Option, Ordering
lt
Referenced types: lt, &Rhs, bool
le
Referenced types: le, &Rhs, bool
gt
Referenced types: gt, &Rhs, bool
ge
Referenced types: ge, &Rhs, bool
impl TryFrom<i32> for DiagnosticObservationOutcome
Referenced types: TryFrom, i32, DiagnosticObservationOutcome
Error
Referenced types: Error, UnknownEnumValue
try_from
Referenced types: try_from, i32, Result, DiagnosticObservationOutcome, UnknownEnumValue
impl Copy for DiagnosticObservationOutcome
Referenced types: Copy, DiagnosticObservationOutcome
impl Eq for DiagnosticObservationOutcome
Referenced types: Eq, DiagnosticObservationOutcome
impl StructuralPartialEq for DiagnosticObservationOutcome
Referenced types: StructuralPartialEq, DiagnosticObservationOutcome