pub trait RecoverableError {
// Required methods
fn can_recover(&self) -> bool;
fn recovery_action(&self) -> Option<String>;
}Expand description
Trait for error types that support error recovery
pub trait RecoverableError {
// Required methods
fn can_recover(&self) -> bool;
fn recovery_action(&self) -> Option<String>;
}Trait for error types that support error recovery