#[non_exhaustive]#[repr(u8)]pub enum EventKind {
LivelinessChanged = 0,
RequestedDeadlineMissed = 1,
MessageLost = 2,
LivelinessLost = 3,
OfferedDeadlineMissed = 4,
}Expand description
Tier-1 status-event kinds. #[non_exhaustive] so adding a Tier-2
(MATCHED) variant later is not an ABI break for matchers.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
LivelinessChanged = 0
Subscriber: a tracked publisher’s liveliness state changed (started / stopped asserting).
RequestedDeadlineMissed = 1
Subscriber: an expected sample didn’t arrive within the configured deadline.
MessageLost = 2
Subscriber: the backend dropped a sample (overflow / etc.).
LivelinessLost = 3
Publisher: this publisher missed its own liveliness assertion.
OfferedDeadlineMissed = 4
Publisher: this publisher promised X Hz, fell behind.
Trait Implementations§
impl Copy for EventKind
impl Eq for EventKind
impl StructuralPartialEq for EventKind
Auto Trait Implementations§
impl Freeze for EventKind
impl RefUnwindSafe for EventKind
impl Send for EventKind
impl Sync for EventKind
impl Unpin for EventKind
impl UnsafeUnpin for EventKind
impl UnwindSafe for EventKind
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