Enum nakadion::TypedProcessingStatus
[−]
[src]
pub enum TypedProcessingStatus { Processed, Failed { reason: String, }, }
This is basically the same as a ProcessingStatus
but returned
from a TypedBatchHandler
.
It is not necessary to report the number of processed events since
the TypedBatchHandler
itself keeps track of them.
Variants
Processed
All events were processed and the cursor may be committed to make progress on the stream.
Failed
Processing events failed and the stream should be aborted.
Fields of Failed
reason: String |