pub enum KoiEvent {
Show 18 variants
MdnsFound(ServiceRecord),
MdnsResolved(ServiceRecord),
MdnsRemoved {
name: String,
service_type: String,
},
DnsEntryUpdated {
name: String,
ip: String,
},
DnsEntryRemoved {
name: String,
},
HealthChanged {
name: String,
status: HealthStatus,
},
CertmeshMemberJoined {
hostname: String,
fingerprint: String,
},
CertmeshMemberRevoked {
hostname: String,
},
CertmeshDestroyed,
CertRenewed {
expires_at: DateTime<Utc>,
},
CertExpiringSoon {
days_left: i64,
},
CertRenewalFailed {
reason: String,
consecutive_failures: u32,
},
BundleUpdated {
self_revoked: bool,
},
PostureChanged {
from: Posture,
to: Posture,
},
ProxyEntryUpdated {
entry: ProxyEntry,
},
ProxyEntryRemoved {
name: String,
},
RuntimeInstanceStarted {
name: String,
backend: String,
},
RuntimeInstanceStopped {
name: String,
},
}Variants§
MdnsFound(ServiceRecord)
MdnsResolved(ServiceRecord)
MdnsRemoved
DnsEntryUpdated
DnsEntryRemoved
HealthChanged
CertmeshMemberJoined
CertmeshMemberRevoked
CertmeshDestroyed
CertRenewed
This node’s leaf certificate was renewed successfully.
CertExpiringSoon
The leaf is past its renewal threshold but renewal is failing.
CertRenewalFailed
A renewal attempt failed.
BundleUpdated
The trust bundle was updated (policy refresh or revocation).
PostureChanged
This node’s trust posture changed (ADR-020 §5/§13). Emitted on every Open↔Authenticated transition. The degrade direction (identity lost → fell back to Open) is surfaced as loudly as the upgrade — exactly where silent expiry/fallback loses operators.
ProxyEntryUpdated
Fields
§
entry: ProxyEntryProxyEntryRemoved
RuntimeInstanceStarted
RuntimeInstanceStopped
Trait Implementations§
Auto Trait Implementations§
impl Freeze for KoiEvent
impl RefUnwindSafe for KoiEvent
impl Send for KoiEvent
impl Sync for KoiEvent
impl Unpin for KoiEvent
impl UnsafeUnpin for KoiEvent
impl UnwindSafe for KoiEvent
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more