pub enum ConsoleFailure {
TopologyEmit,
TapObserve,
TapAttach,
TapDetach,
ConsoleWake,
TapUnsubscribe,
ConsolePublish,
ConsoleRecordsLost,
TopologyClock,
StationCollision,
}Expand description
A console bookkeeping failure, by name (SRV-012 R8). Each is a counter
here and the kind of liminal_console_failures_total.
Variants§
TopologyEmit
A topology change the model could not take.
TapObserve
A publish the tap could not observe.
TapAttach
A tap subscription that could not start.
TapDetach
A tap subscription that could not stop.
ConsoleWake
A wake that reached no publisher.
TapUnsubscribe
A dropped tap subscription that could not leave the list.
ConsolePublish
A console record whose publication failed.
ConsoleRecordsLost
A drained console record thrown away.
TopologyClock
A topology document whose start the wall clock could not give.
StationCollision
A worker identity or service subject equal to this server’s exchange or depot id, left off the map.
Implementations§
Source§impl ConsoleFailure
impl ConsoleFailure
Sourcepub const LABELS: [&'static str; 10]
pub const LABELS: [&'static str; 10]
The metric label values, in Self::slot order.
Sourcepub const fn slot(self) -> usize
pub const fn slot(self) -> usize
This failure’s index into Self::LABELS.
Trait Implementations§
Source§impl Clone for ConsoleFailure
impl Clone for ConsoleFailure
impl Copy for ConsoleFailure
Source§impl Debug for ConsoleFailure
impl Debug for ConsoleFailure
impl Eq for ConsoleFailure
Source§impl PartialEq for ConsoleFailure
impl PartialEq for ConsoleFailure
impl StructuralPartialEq for ConsoleFailure
Auto Trait Implementations§
impl Freeze for ConsoleFailure
impl RefUnwindSafe for ConsoleFailure
impl Send for ConsoleFailure
impl Sync for ConsoleFailure
impl Unpin for ConsoleFailure
impl UnsafeUnpin for ConsoleFailure
impl UnwindSafe for ConsoleFailure
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.