pub struct ErrorRecovery {
pub strategy: RecoveryStrategy,
pub instructions: String,
pub auto_recoverable: bool,
}Expand description
Error recovery information
Fields§
§strategy: RecoveryStrategySuggested recovery strategy
instructions: StringHuman-readable recovery instructions
auto_recoverable: boolWhether automatic recovery is possible
Trait Implementations§
Source§impl Clone for ErrorRecovery
impl Clone for ErrorRecovery
Source§fn clone(&self) -> ErrorRecovery
fn clone(&self) -> ErrorRecovery
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 moreAuto Trait Implementations§
impl Freeze for ErrorRecovery
impl RefUnwindSafe for ErrorRecovery
impl Send for ErrorRecovery
impl Sync for ErrorRecovery
impl Unpin for ErrorRecovery
impl UnsafeUnpin for ErrorRecovery
impl UnwindSafe for ErrorRecovery
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