pub enum ProcessorError {
Show 15 variants
GetIteratorFailed(String),
ProcessingTimeout(Duration),
TotalProcessingTimeout(Duration),
IteratorExpired(String),
GetRecordsFailed(String),
MaxRetriesExceeded(String),
KinesisError(String),
CheckpointError(String),
ShardRefreshError(String),
ConfigError(String),
InvalidSequenceNumber(String),
InitialPositionError(String),
Shutdown,
ThrottlingError(String),
Other(Error),
}
Expand description
Main error type for processor operations
Variants§
GetIteratorFailed(String)
ProcessingTimeout(Duration)
TotalProcessingTimeout(Duration)
IteratorExpired(String)
GetRecordsFailed(String)
MaxRetriesExceeded(String)
KinesisError(String)
CheckpointError(String)
ShardRefreshError(String)
ConfigError(String)
InvalidSequenceNumber(String)
InitialPositionError(String)
Shutdown
ThrottlingError(String)
Other(Error)
Trait Implementations§
source§impl Debug for ProcessorError
impl Debug for ProcessorError
source§impl Display for ProcessorError
impl Display for ProcessorError
source§impl Error for ProcessorError
impl Error for ProcessorError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<AcquireError> for ProcessorError
impl From<AcquireError> for ProcessorError
source§impl From<CheckpointError> for ProcessorError
impl From<CheckpointError> for ProcessorError
source§fn from(err: CheckpointError) -> Self
fn from(err: CheckpointError) -> Self
Converts to this type from the input type.
source§impl From<Error> for ProcessorError
impl From<Error> for ProcessorError
source§impl From<JoinError> for ProcessorError
impl From<JoinError> for ProcessorError
source§impl From<KinesisClientError> for ProcessorError
impl From<KinesisClientError> for ProcessorError
source§fn from(err: KinesisClientError) -> Self
fn from(err: KinesisClientError) -> Self
Converts to this type from the input type.
source§impl From<RetryError> for ProcessorError
impl From<RetryError> for ProcessorError
source§fn from(err: RetryError) -> Self
fn from(err: RetryError) -> Self
Converts to this type from the input type.
source§impl From<RetryError> for ProcessorError
impl From<RetryError> for ProcessorError
source§fn from(err: RetryError) -> Self
fn from(err: RetryError) -> Self
Converts to this type from the input type.
source§impl From<SendError<()>> for ProcessorError
impl From<SendError<()>> for ProcessorError
source§impl From<SendError<bool>> for ProcessorError
impl From<SendError<bool>> for ProcessorError
source§impl From<ShardError> for ProcessorError
impl From<ShardError> for ProcessorError
source§fn from(err: ShardError) -> Self
fn from(err: ShardError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ProcessorError
impl RefUnwindSafe for ProcessorError
impl Send for ProcessorError
impl Sync for ProcessorError
impl Unpin for ProcessorError
impl UnwindSafe for ProcessorError
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.