pub struct RecoveryHint {
pub code: &'static str,
pub doc_anchor: &'static str,
}Expand description
Recovery dispatch surface attached to a corruption detail.
code is the stable dispatch key used by bindings and doctor output;
doc_anchor points at the documentation section that explains the
remediation path.
Fields§
§code: &'static str§doc_anchor: &'static strTrait Implementations§
Source§impl Clone for RecoveryHint
impl Clone for RecoveryHint
Source§fn clone(&self) -> RecoveryHint
fn clone(&self) -> RecoveryHint
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RecoveryHint
Source§impl Debug for RecoveryHint
impl Debug for RecoveryHint
impl Eq for RecoveryHint
Source§impl PartialEq for RecoveryHint
impl PartialEq for RecoveryHint
impl StructuralPartialEq for RecoveryHint
Auto Trait Implementations§
impl Freeze for RecoveryHint
impl RefUnwindSafe for RecoveryHint
impl Send for RecoveryHint
impl Sync for RecoveryHint
impl Unpin for RecoveryHint
impl UnsafeUnpin for RecoveryHint
impl UnwindSafe for RecoveryHint
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