pub enum GatewayState {
Up,
Down,
Unknown,
}Expand description
Receipt-backed evidence that a harness has a RUNNING instance right now,
distinct from being merely installed (UNI-7). Detection is passive and
default-on: a gateway liveness connect for daemon harnesses, a fresh
SQLite WAL stamp for store-writer harnesses (precedent: the opencode
follower’s -wal/-shm freshness). Control stays behind per-connection
grants — this reports observations only.
ORCH-17: the gateway-health noun on an inventory row. Derived from the
UNI-7 running-instance probe (Hermes: state.db-wal freshness; OpenClaw:
a TCP connect to the gateway endpoint resolved from its OWN config) plus
the executable version — never by starting anything.
Variants§
Trait Implementations§
Source§impl Clone for GatewayState
impl Clone for GatewayState
Source§fn clone(&self) -> GatewayState
fn clone(&self) -> GatewayState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for GatewayState
Source§impl Debug for GatewayState
impl Debug for GatewayState
impl Eq for GatewayState
Source§impl PartialEq for GatewayState
impl PartialEq for GatewayState
Source§impl Serialize for GatewayState
impl Serialize for GatewayState
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for GatewayState
Auto Trait Implementations§
impl Freeze for GatewayState
impl RefUnwindSafe for GatewayState
impl Send for GatewayState
impl Sync for GatewayState
impl Unpin for GatewayState
impl UnsafeUnpin for GatewayState
impl UnwindSafe for GatewayState
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.