Skip to main content

RecoverableError

Trait RecoverableError 

Source
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

Required Methods§

Implementors§