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 |
Trait Implementations
impl Debug for TypedProcessingStatus
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for TypedProcessingStatus
[src]
fn clone(&self) -> TypedProcessingStatus
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq for TypedProcessingStatus
[src]
fn eq(&self, __arg_0: &TypedProcessingStatus) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &TypedProcessingStatus) -> bool
[src]
This method tests for !=
.