pub enum AeronErrorType {
GenericError,
ClientErrorDriverTimeout,
ClientErrorClientTimeout,
ClientErrorConductorServiceTimeout,
ClientErrorBufferFull,
PublicationBackPressured,
PublicationAdminAction,
PublicationClosed,
PublicationMaxPositionExceeded,
PublicationError,
TimedOut,
Unknown(i32),
}Variants§
GenericError
ClientErrorDriverTimeout
ClientErrorClientTimeout
ClientErrorConductorServiceTimeout
ClientErrorBufferFull
PublicationBackPressured
PublicationAdminAction
PublicationClosed
PublicationMaxPositionExceeded
PublicationError
TimedOut
Unknown(i32)
Implementations§
Source§impl AeronErrorType
impl AeronErrorType
Sourcepub fn is_retryable(&self) -> bool
pub fn is_retryable(&self) -> bool
Transient — retry the operation (back off first): back-pressure, admin action, a full client buffer, or a polling timeout.
Sourcepub fn is_unrecoverable(&self) -> bool
pub fn is_unrecoverable(&self) -> bool
Definitively terminal — retrying will not help: the publication is closed / exhausted /
errored, or the driver or client has timed out (effectively dead). Not exhaustive: an
ambiguous code (GenericError / Unknown) is neither retryable nor unrecoverable.
Trait Implementations§
Source§impl Clone for AeronErrorType
impl Clone for AeronErrorType
Source§fn clone(&self) -> AeronErrorType
fn clone(&self) -> AeronErrorType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AeronErrorType
impl Debug for AeronErrorType
Source§impl From<AeronErrorType> for AeronCError
impl From<AeronErrorType> for AeronCError
Source§fn from(value: AeronErrorType) -> Self
fn from(value: AeronErrorType) -> Self
Converts to this type from the input type.
Source§impl PartialEq for AeronErrorType
impl PartialEq for AeronErrorType
Source§impl PartialOrd for AeronErrorType
impl PartialOrd for AeronErrorType
impl Eq for AeronErrorType
impl StructuralPartialEq for AeronErrorType
Auto Trait Implementations§
impl Freeze for AeronErrorType
impl RefUnwindSafe for AeronErrorType
impl Send for AeronErrorType
impl Sync for AeronErrorType
impl Unpin for AeronErrorType
impl UnsafeUnpin for AeronErrorType
impl UnwindSafe for AeronErrorType
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