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