pub struct RecoveryHint {
pub kind: RecoveryHintKind,
pub text: String,
}Expand description
A recovery hint associated with an error.
Fields§
§kind: RecoveryHintKind§text: StringImplementations§
Trait 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 · 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 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