pub struct RecoveryInfo {
pub position: usize,
pub repairs: Vec<Repair>,
}Expand description
Information about one error recovery point.
Fields§
§position: usizeToken index where the error was detected.
repairs: Vec<Repair>The repairs applied to recover.
Trait Implementations§
Source§impl Clone for RecoveryInfo
impl Clone for RecoveryInfo
Source§fn clone(&self) -> RecoveryInfo
fn clone(&self) -> RecoveryInfo
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 RecoveryInfo
impl RefUnwindSafe for RecoveryInfo
impl Send for RecoveryInfo
impl Sync for RecoveryInfo
impl Unpin for RecoveryInfo
impl UnsafeUnpin for RecoveryInfo
impl UnwindSafe for RecoveryInfo
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