Enum dora_node_api::Event
source · #[non_exhaustive]
pub enum Event<'a> {
Stop,
Reload {
operator_id: Option<OperatorId>,
},
Input {
id: DataId,
metadata: Metadata<'static>,
data: Option<Data<'a>>,
},
InputClosed {
id: DataId,
},
Error(String),
}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.