pub struct Record<'index, T, U> {
pub entry: &'index Entry,
pub entry_index: usize,
pub relative_path: &'index BStr,
pub status: EntryStatus<T, U>,
}
Expand description
A record of a change.
It’s created either if there is a conflict or a change, or both.
Fields§
§entry: &'index Entry
The index entry that is changed.
entry_index: usize
The index of the entry
relative to all entries in the input index.
relative_path: &'index BStr
The path to the entry.
status: EntryStatus<T, U>
The status information itself.
Trait Implementations§
Auto Trait Implementations§
impl<'index, T, U> Freeze for Record<'index, T, U>
impl<'index, T, U> RefUnwindSafe for Record<'index, T, U>where
U: RefUnwindSafe,
T: RefUnwindSafe,
impl<'index, T, U> Send for Record<'index, T, U>
impl<'index, T, U> Sync for Record<'index, T, U>
impl<'index, T, U> Unpin for Record<'index, T, U>
impl<'index, T, U> UnwindSafe for Record<'index, T, U>where
U: UnwindSafe,
T: UnwindSafe,
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