Skip to navigation

Enum Check Reason

View as Markdown

Generated from cargo doc --no-deps -p nemo-fabric-core.

pub enum CheckReason {
ServerStopping,
CapabilitiesUnverified,
RuntimeUnavailable,
ServiceUnavailable,
AgentExited,
SessionClosed,
EndpointUnavailable,
HealthFailed,
ProbeTimeout,
ProbeError,
ObservationChanged,
UnsupportedAdapter,
UnsupportedLevel,
UnsupportedScope,
}

Diagnostic codes for health observations.

Variants

ServerStopping

ServerStopping

The server is stopping.

CapabilitiesUnverified

CapabilitiesUnverified

Advertised capability evidence is unavailable.

RuntimeUnavailable

RuntimeUnavailable

No matching runtime binding exists.

ServiceUnavailable

ServiceUnavailable

No matching active service binding exists.

AgentExited

AgentExited

The owned process exited.

SessionClosed

SessionClosed

The native session closed.

EndpointUnavailable

EndpointUnavailable

The native request interface is unavailable.

HealthFailed

HealthFailed

Required local setup failed.

ProbeTimeout

ProbeTimeout

The shared deadline expired.

ProbeError

ProbeError

The probe did not provide valid evidence.

ObservationChanged

ObservationChanged

Ownership or lifecycle changed while checking.

UnsupportedAdapter

UnsupportedAdapter

The adapter does not implement health checks.

UnsupportedLevel

UnsupportedLevel

The requested level is unavailable.

UnsupportedScope

UnsupportedScope

This environment does not implement the requested scope.

Trait Implementations

impl Clone for CheckReason

impl Clone for CheckReason

clone

fn clone(&self) -> CheckReason

clone_from

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

impl Copy for CheckReason

impl Copy for CheckReason

impl Debug for CheckReason

impl Debug for CheckReason

fmt

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

impl<'de> Deserialize<'de> for CheckReason

impl<'de> Deserialize<'de> for CheckReason

deserialize

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

impl Eq for CheckReason

impl Eq for CheckReason

impl JsonSchema for CheckReason

impl JsonSchema for CheckReason

schema_name

fn schema_name() -> Cow<'static, str>

schema_id

fn schema_id() -> Cow<'static, str>

json_schema

fn json_schema(generator: &mut SchemaGenerator) -> Schema

inline_schema

fn inline_schema() -> bool

impl PartialEq for CheckReason

impl PartialEq for CheckReason

eq

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

ne

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

impl Serialize for CheckReason

impl Serialize for CheckReason

serialize

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

impl StructuralPartialEq for CheckReason

impl StructuralPartialEq for CheckReason