#[non_exhaustive]#[repr(u8)]pub enum EventKind {
LivelinessChanged = 0,
RequestedDeadlineMissed = 1,
MessageLost = 2,
LivelinessLost = 3,
OfferedDeadlineMissed = 4,
PublicationMatched = 5,
SubscriptionMatched = 6,
PublisherIncompatibleType = 7,
SubscriptionIncompatibleType = 8,
}Expand description
Status-event kinds. #[non_exhaustive] so adding a variant later is not
a break for matchers. Discriminants equal the C rmw_event_type_t
values, which only ever grow at the end.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
LivelinessChanged = 0
Subscription: a tracked publisher’s liveliness state changed (started / stopped asserting).
RequestedDeadlineMissed = 1
Subscription: an expected sample didn’t arrive within the configured deadline.
MessageLost = 2
Subscription: 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.
PublicationMatched = 5
Publisher: the set of subscriptions matched to it changed. Upstream
RMW_EVENT_PUBLICATION_MATCHED (Iron+), issue 1972.
SubscriptionMatched = 6
Subscription: the set of publishers matched to it changed. Upstream
RMW_EVENT_SUBSCRIPTION_MATCHED.
PublisherIncompatibleType = 7
Publisher: an endpoint on the same topic was seen with a different
type. Upstream RMW_EVENT_PUBLISHER_INCOMPATIBLE_TYPE.
SubscriptionIncompatibleType = 8
Subscription: an endpoint on the same topic was seen with a different
type. Upstream RMW_EVENT_SUBSCRIPTION_INCOMPATIBLE_TYPE.