pub struct ErrorClassifier;Expand description
Error classifier for determining retry eligibility
Implementations§
Source§impl ErrorClassifier
impl ErrorClassifier
Sourcepub fn classify(error_message: &str) -> ErrorClassification
pub fn classify(error_message: &str) -> ErrorClassification
Classify an error to determine if it should be retried
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ErrorClassifier
impl RefUnwindSafe for ErrorClassifier
impl Send for ErrorClassifier
impl Sync for ErrorClassifier
impl Unpin for ErrorClassifier
impl UnsafeUnpin for ErrorClassifier
impl UnwindSafe for ErrorClassifier
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