pub enum Event {
Show 17 variants
ComponentScaled(ComponentScaled),
ComponentScaleFailed(ComponentScaleFailed),
ProviderStarted(ProviderStarted),
ProviderStopped(ProviderStopped),
ProviderStartFailed(ProviderStartFailed),
ProviderHealthCheckPassed(ProviderHealthCheckPassed),
ProviderHealthCheckFailed(ProviderHealthCheckFailed),
ProviderHealthCheckStatus(ProviderHealthCheckStatus),
HostStarted(HostStarted),
HostStopped(HostStopped),
HostHeartbeat(HostHeartbeat),
LinkdefSet(LinkdefSet),
LinkdefDeleted(LinkdefDeleted),
ConfigSet(ConfigSet),
ConfigDeleted(ConfigDeleted),
ManifestPublished(ManifestPublished),
ManifestUnpublished(ManifestUnpublished),
}Expand description
A lattice event
Variants§
ComponentScaled(ComponentScaled)
ComponentScaleFailed(ComponentScaleFailed)
ProviderStarted(ProviderStarted)
ProviderStopped(ProviderStopped)
ProviderStartFailed(ProviderStartFailed)
ProviderHealthCheckPassed(ProviderHealthCheckPassed)
ProviderHealthCheckFailed(ProviderHealthCheckFailed)
ProviderHealthCheckStatus(ProviderHealthCheckStatus)
HostStarted(HostStarted)
HostStopped(HostStopped)
HostHeartbeat(HostHeartbeat)
LinkdefSet(LinkdefSet)
LinkdefDeleted(LinkdefDeleted)
ConfigSet(ConfigSet)
ConfigDeleted(ConfigDeleted)
ManifestPublished(ManifestPublished)
ManifestUnpublished(ManifestUnpublished)
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Event
impl<'de> Deserialize<'de> for Event
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<ConfigDeleted> for Event
impl From<ConfigDeleted> for Event
Source§fn from(value: ConfigDeleted) -> Event
fn from(value: ConfigDeleted) -> Event
Converts to this type from the input type.
Source§impl From<LinkdefDeleted> for Event
impl From<LinkdefDeleted> for Event
Source§fn from(value: LinkdefDeleted) -> Event
fn from(value: LinkdefDeleted) -> Event
Converts to this type from the input type.
Source§impl From<LinkdefSet> for Event
impl From<LinkdefSet> for Event
Source§fn from(value: LinkdefSet) -> Event
fn from(value: LinkdefSet) -> Event
Converts to this type from the input type.
Source§impl From<ManifestPublished> for Event
impl From<ManifestPublished> for Event
Source§fn from(value: ManifestPublished) -> Event
fn from(value: ManifestPublished) -> Event
Converts to this type from the input type.
Source§impl From<ManifestUnpublished> for Event
impl From<ManifestUnpublished> for Event
Source§fn from(value: ManifestUnpublished) -> Event
fn from(value: ManifestUnpublished) -> Event
Converts to this type from the input type.
Source§impl From<ProviderHealthCheckFailed> for Event
impl From<ProviderHealthCheckFailed> for Event
Source§fn from(value: ProviderHealthCheckFailed) -> Event
fn from(value: ProviderHealthCheckFailed) -> Event
Converts to this type from the input type.
Source§impl From<ProviderHealthCheckPassed> for Event
impl From<ProviderHealthCheckPassed> for Event
Source§fn from(value: ProviderHealthCheckPassed) -> Event
fn from(value: ProviderHealthCheckPassed) -> Event
Converts to this type from the input type.
Source§impl From<ProviderHealthCheckStatus> for Event
impl From<ProviderHealthCheckStatus> for Event
Source§fn from(value: ProviderHealthCheckStatus) -> Event
fn from(value: ProviderHealthCheckStatus) -> Event
Converts to this type from the input type.
Source§impl TryFrom<Event> for Event
impl TryFrom<Event> for Event
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
impl Eq for Event
impl StructuralPartialEq for Event
Auto Trait Implementations§
impl Freeze for Event
impl RefUnwindSafe for Event
impl Send for Event
impl Sync for Event
impl Unpin for Event
impl UnwindSafe for Event
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
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> FromBase64 for Twhere
T: for<'de> Deserialize<'de>,
impl<T> FromBase64 for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
Source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
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> 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> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<C> SignWithKey<String> for Cwhere
C: ToBase64,
impl<C> SignWithKey<String> for Cwhere
C: ToBase64,
fn sign_with_key(self, key: &impl SigningAlgorithm) -> Result<String, Error>
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.